You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Setting the sliding speed to 200 milliseconds results in the need to wait for 50 seconds for the next operation. #999
My code calls the method: for i in range(30): actions.w3c_actions.pointer_action.move_to_location(190, 700) actions.w3c_actions.pointer_action.pointer_down() actions.w3c_actions.pointer_action.pause(0.2) actions.w3c_actions.pointer_action.move_to_location(190, 200) actions.w3c_actions.pointer_action.release() actions.perform() time.sleep(1)
In actual performance, the interval between each slide exceeds 50 seconds. The following is the log of WDA:
Apr 2 14:45:25 WebDriverAgentRunner-Runner(WebDriverAgentLib)[1117] : Waiting up to 2s until com.lemon.lvoverseas is in idle state (including animations)
Apr 2 14:45:33 testmanagerd[599] : Not reporting XCTestTesting.2025-04-02-14:45:27.spindump.txt, doesn't match list of processes {DTServiceHub, WebDriverAgentRunner, assertiond, debugserver, runningboardd, FrontBoard, SpringBoard, xctest, testmanagerd, WebDriverAgentRunner-Runner, backboardd}
Apr 2 14:45:40 WebDriverAgentRunner-Runner(UIKitCore)[1117] : Background Task 2 (""), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.
Apr 2 14:45:47 testmanagerd(RunningBoardServices)[599] : Updating configuration of monitor <RBSProcessMonitorConfiguration| id:M599-11 qos:17 predicates:[<RBSProcessPredicate <RBSProcessBundleIdentifierPredicate "com.apple.springboard">>, <RBSProcessPredicate <RBSProcessBundleIdentifierPredicate "com.zlz1facebook.WebDriverAgentRunner.xctrunner">>, <RBSProcessPredicate <RBSProcessBundleIdentifierPredicate "com.lemon.ee.lvoverseas">>] descriptor:<RBSProcessStateDescriptor| values:1 namespaces:[com.apple.frontboard.visibility]> events:0x0>
Apr 2 14:46:15 WebDriverAgentRunner-Runner(XCTAutomationSupport)[1117] : Evaluating query:
Setting waitForIdleTimeout to 0 has no effect. My problem occurs in the following scenario where I can keep swiping up. If the upward swipe speed is set to 200ms, an issue will arise. However, there are no problems if it's not in this scenario or if the upward swipe speed is set to 800ms. https://github.com/user-attachments/assets/aca1724f-c74b-40ce-99b5-ba355c958653
This is an observation basis, but it looks like the XCTest framework could be weird with less than 500ms in the pause/duration. Only Apple knows of the internal so we can't say exact thing as non-Apple persons, but if the behavior changed with the given argument, it might indicate iOS internal stuff.
Activity
KazuCocoa commentedon Apr 2, 2025
Did
waitForIdleTimeouthttps://appium.github.io/appium-xcuitest-driver/latest/reference/settings/ help?zhanglizheng123 commentedon Apr 3, 2025
Setting waitForIdleTimeout to 0 has no effect. My problem occurs in the following scenario where I can keep swiping up. If the upward swipe speed is set to 200ms, an issue will arise. However, there are no problems if it's not in this scenario or if the upward swipe speed is set to 800ms.
https://github.com/user-attachments/assets/aca1724f-c74b-40ce-99b5-ba355c958653
KazuCocoa commentedon Apr 3, 2025
This is an observation basis, but it looks like the XCTest framework could be weird with less than 500ms in the pause/duration. Only Apple knows of the internal so we can't say exact thing as non-Apple persons, but if the behavior changed with the given argument, it might indicate iOS internal stuff.
Appium/WDA calls gestures as:
https://appium.github.io/appium-xcuitest-driver/latest/guides/gestures/
https://appium.github.io/appium-xcuitest-driver/latest/guides/input-events/