leancodepl / patrol

Flutter-first UI testing framework. Ready for action!
https://patrol.leancode.co
Apache License 2.0
905 stars 139 forks source link

Patrol develop iOS "timeout" #1748

Open zltnDC opened 1 year ago

zltnDC commented 1 year ago

patrol cli develop always stops running after ~330 seconds.

logs:

Logs ``` dart run /patrol/packages/patrol_cli/bin/main.dart develop --target integration_test/example_test.dart ✓ Completed building app with entrypoint test_bundle.dart for iOS simulator (56.7s) • Running app with entrypoint test_bundle.dart for iOS simulator on simulator iPhone 15... Hot Restart: logs connected Hot Restart: not attached to the app yet The Dart VM service is listening on http://127.0.0.1:62397/coUq3hcOc5E=/ Patrol (native): initialize() started Patrol (native): initialize() succeeded 00:00 +0: example_test counter state is the same after going to Home and switching apps Patrol (native): configure() started Patrol (native): configure() succeeded Patrol (native): pressHome() started Patrol (native): pressHome() succeeded Patrol (native): openApp() started Patrol (native): openApp() succeeded 00:09 +1: (tearDownAll) 00:09 +2: All tests passed! Hot Restart: attached to the app (press "r" to restart) 2023-09-26 16:51:01.073 xcodebuild[57905:2175961] [MT] IDETestOperationsObserverDebug: 340.593 elapsed -- Testing started completed. 2023-09-26 16:51:01.073 xcodebuild[57905:2175961] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start 2023-09-26 16:51:01.073 xcodebuild[57905:2175961] [MT] IDETestOperationsObserverDebug: 340.593 sec, +340.593 sec -- end Testing failed: RunnerUITests-Runner (57995) encountered an error (Test runner never began executing tests after launching) ** TEST EXECUTE FAILED ** ✓ App shut down on request (357.7s) ```

Branch: develop (cdd2df83d17a58e9bdbb1a9372d2fa3e374a674c)

caleb654 commented 11 months ago

Also having this issue. Everything is updated including Patrol, MacOS, Xcode, and the iOS simulator.

Andreigr0 commented 10 months ago

Same with version 3.4.0/CLI 2.6.0, there was no such issue in version 2 (2.0.2)

yacineblr commented 8 months ago

Same for me, do you have any news ?

aharris commented 4 months ago

Any update on this? Having to restart patrol every few minutes is severely time consuming.