Skip to content

[ios] Test execution order is not maintained #2944

@keith-lytc

Description

@keith-lytc

Steps to reproduce

Create a *_test.dart file with multiple patrolTest().
Run on patrol test --release on an iOS physical device.
First test shows up briefly but never executes, no logs are printed.

Actual results

The order the tests are declared is not the order in which they are executed.

In the logs [e2e] create project was declared first but was not the first test to execute.

Logs

Logs
patrol test --release --device <hidden> --verbose
Verbose mode enabled. More logs will be printed.
Received 1 test target(s)
Received test target: /<hidden>/patrol_test/e2e_test.dart
Generated entrypoint /<hidden>/patrol_test/test_bundle.dart with 1 bundled test(s)
$ flutter --no-version-check --suppress-analytics devices --machine
Received 1 device(s) to run on
Received device: Keith iPhone 16 (<hidden>)
$ flutter --suppress-analytics --no-version-check pub deps --style=list
Received 10 --dart-define(s) (0 custom, 10 internal)
Received internal --dart-define: PATROL_APP_PACKAGE_NAME=<hidden>
Received internal --dart-define: PATROL_APP_BUNDLE_ID=<hidden>
Received internal --dart-define: PATROL_ANDROID_APP_NAME=<hidden>
Received internal --dart-define: PATROL_IOS_APP_NAME=<hidden>
Received internal --dart-define: INTEGRATION_TEST_SHOULD_REPORT_RESULTS_TO_NATIVE=false
Received internal --dart-define: PATROL_TEST_LABEL_ENABLED=true
Received internal --dart-define: PATROL_TEST_DIRECTORY=patrol_test
Received internal --dart-define: PATROL_TEST_SERVER_PORT=8081
Received internal --dart-define: PATROL_APP_SERVER_PORT=8082
Received internal --dart-define: COVERAGE_ENABLED=false
• Building app with entrypoint test_bundle.dart for iOS device (release)...
$ flutter build ios --no-version-check --suppress-analytics --config-only --no-codesign --release --target /<hidden>/patrol_test/test_bundle.dart --dart-define PATROL_APP_PACKAGE_NAME=<hidden> --dart-define PATROL_APP_BUNDLE_ID=<hidden> --dart-define PATROL_ANDROID_APP_NAME=<hidden> --dart-define PATROL_IOS_APP_NAME=<hidden> --dart-define INTEGRATION_TEST_SHOULD_REPORT_RESULTS_TO_NATIVE=false --dart-define PATROL_TEST_LABEL_ENABLED=true --dart-define PATROL_TEST_DIRECTORY=patrol_test --dart-define PATROL_TEST_SERVER_PORT=8081 --dart-define PATROL_APP_SERVER_PORT=8082 --dart-define COVERAGE_ENABLED=false
        Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
        Building <hidden> for device (ios-release)...
        Running pod install...                                           1,834ms
$ xcodebuild build-for-testing -workspace Runner.xcworkspace -scheme Runner -configuration Release -sdk iphoneos -destination generic/platform=iOS -quiet -derivedDataPath ../build/ios_integ OTHER_SWIFT_FLAGS=$(inherited) -D PATROL_ENABLED OTHER_CFLAGS=$(inherited) -D FULL_ISOLATION=0 -D CLEAR_PERMISSIONS=0                                                                       
        ld: warning: ignoring duplicate libraries: '-lc++'
        /<hidden>/ios/Pods/SwiftCBOR/Sources/Decoder/SingleValueDecodingContainer.swift:234:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'                                                                                                                                           
            func decode(_ type: Data.Type) throws -> Data {
                 ^
        /<hidden>/ios/Pods/SwiftCBOR/Sources/Decoder/SingleValueDecodingContainer.swift:234:10: note: candidate has non-matching type '(Data.Type) throws -> Data'
            func decode(_ type: Data.Type) throws -> Data {
                 ^
        /<hidden>/ios/Pods/SwiftCBOR/Sources/Decoder/SingleValueDecodingContainer.swift:234:10: note: move 'decode' to another extension to silence this warning
            func decode(_ type: Data.Type) throws -> Data {
                 ^
        /<hidden>/ios/Pods/SwiftCBOR/Sources/Decoder/SingleValueDecodingContainer.swift:234:10: note: make 'decode' private to silence this warning
            func decode(_ type: Data.Type) throws -> Data {
                 ^
            private 
        Swift.SingleValueDecodingContainer.decode:3:8: note: requirement 'decode' declared here
          func decode(_ type: Int128.Type) throws -> Int128}
               ^
        /<hidden>/ios/Pods/SwiftCBOR/Sources/Encoder/SingleValueEncodingContainer.swift:134:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'                                                                                                                                           
            func encode(_ value: Date) throws {
                 ^
        /<hidden>/ios/Pods/SwiftCBOR/Sources/Encoder/SingleValueEncodingContainer.swift:134:10: note: candidate has non-matching type '(Date) throws -> ()'
            func encode(_ value: Date) throws {
                 ^
        /<hidden>/ios/Pods/SwiftCBOR/Sources/Encoder/SingleValueEncodingContainer.swift:134:10: note: move 'encode' to another extension to silence this warning
            func encode(_ value: Date) throws {
                 ^
        /<hidden>/ios/Pods/SwiftCBOR/Sources/Encoder/SingleValueEncodingContainer.swift:134:10: note: make 'encode' private to silence this warning
            func encode(_ value: Date) throws {
                 ^
            private 
        Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
          mutating func encode(_ value: Int128) throws}
                        ^
        /<hidden>/ios/Pods/SwiftCBOR/Sources/Encoder/SingleValueEncodingContainer.swift:141:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'                                                                                                                                           
            func encode(_ value: Data) throws {
                 ^
        /<hidden>/ios/Pods/SwiftCBOR/Sources/Encoder/SingleValueEncodingContainer.swift:141:10: note: candidate has non-matching type '(Data) throws -> ()'
            func encode(_ value: Data) throws {
                 ^
        /<hidden>/ios/Pods/SwiftCBOR/Sources/Encoder/SingleValueEncodingContainer.swift:141:10: note: move 'encode' to another extension to silence this warning
            func encode(_ value: Data) throws {
                 ^
        /<hidden>/ios/Pods/SwiftCBOR/Sources/Encoder/SingleValueEncodingContainer.swift:141:10: note: make 'encode' private to silence this warning
            func encode(_ value: Data) throws {
                 ^
            private 
        Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
          mutating func encode(_ value: UInt128) throws}
                        ^
        /Users/<hidden>/.pub-cache/hosted/pub.dev/patrol-4.1.0/darwin/Classes/AutomatorServer/Automator/IOSAutomator.swift:254:15: warning: value 'element' was defined but never used; consider replacing with boolean test                                                                                                                                                                
                  let element = self.waitFor(
                  ~~~~^~~~~~~~~~
                  
        /Users/<hidden>/.pub-cache/hosted/pub.dev/patrol-4.1.0/darwin/Classes/Telegraph/Security/TLSPolicy.swift:36:5: warning: 'SecTrustEvaluate' was deprecated in iOS 13.0: renamed to 'SecTrustEvaluateWithError(_:_:)'                                                                                                                                                                 
            SecTrustEvaluate(trust, &result)
            ^
        /Users/<hidden>/.pub-cache/hosted/pub.dev/patrol-4.1.0/darwin/Classes/Telegraph/Security/TLSPolicy.swift:36:5: note: use 'SecTrustEvaluateWithError(_:_:)' instead
            SecTrustEvaluate(trust, &result)
            ^~~~~~~~~~~~~~~~
            SecTrustEvaluateWithError
        /Users/<hidden>/.pub-cache/hosted/pub.dev/firebase_core-4.3.0/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.m:92:35: warning: incompatible pointer types assigning to 'NSString * _Nullable' from 'NSNull * _Nonnull' [-Wincompatible-pointer-types]                                                                                                                
           92 |   pigeonOptions.deepLinkURLScheme = [NSNull null];
              |                                   ^ ~~~~~~~~~~~~~
        1 warning generated.
        ld: warning: building for iOS-13.0, but linking with dylib '' which was built for newer version 15.6
        ld: warning: building for iOS-13.0, but linking with dylib '@rpath/FirebaseCore.framework/FirebaseCore' which was built for newer version 15.0
        ld: warning: building for iOS-13.0, but linking with dylib '@rpath/FirebaseCoreExtension.framework/FirebaseCoreExtension' which was built for newer version 15.0
        ld: warning: building for iOS-13.0, but linking with dylib '@rpath/FirebaseCoreInternal.framework/FirebaseCoreInternal' which was built for newer version 15.0
        ld: warning: building for iOS-13.0, but linking with dylib '@rpath/FirebaseCrashlytics.framework/FirebaseCrashlytics' which was built for newer version 15.0
        ld: warning: building for iOS-13.0, but linking with dylib '@rpath/FirebaseInstallations.framework/FirebaseInstallations' which was built for newer version 15.0
        ld: warning: building for iOS-13.0, but linking with dylib '@rpath/FirebaseRemoteConfigInterop.framework/FirebaseRemoteConfigInterop' which was built for newer version 15.0
        ld: warning: building for iOS-13.0, but linking with dylib '@rpath/FirebaseSessions.framework/FirebaseSessions' which was built for newer version 15.0
        ld: warning: building for iOS-13.0, but linking with dylib '@rpath/bluetooth_low_energy_darwin.framework/bluetooth_low_energy_darwin' which was built for newer version 15.6
        ld: warning: building for iOS-13.0, but linking with dylib '@rpath/file_picker.framework/file_picker' which was built for newer version 15.6
        ld: warning: building for iOS-13.0, but linking with dylib '@rpath/flutter_blue_plus_darwin.framework/flutter_blue_plus_darwin' which was built for newer version 15.6
        ld: warning: building for iOS-13.0, but linking with dylib '@rpath/flutter_secure_storage.framework/flutter_secure_storage' which was built for newer version 15.6
        ld: warning: building for iOS-13.0, but linking with dylib '@rpath/fluttertoast.framework/fluttertoast' which was built for newer version 15.6
        ld: warning: building for iOS-13.0, but linking with dylib '@rpath/integration_test.framework/integration_test' which was built for newer version 15.6
        ld: warning: building for iOS-13.0, but linking with dylib '@rpath/package_info_plus.framework/package_info_plus' which was built for newer version 15.6
        ld: warning: building for iOS-13.0, but linking with dylib '@rpath/path_provider_foundation.framework/path_provider_foundation' which was built for newer version 15.6
        ld: warning: building for iOS-13.0, but linking with dylib '@rpath/sqflite_darwin.framework/sqflite_darwin' which was built for newer version 15.6
        ld: warning: building for iOS-13.0, but linking with dylib '@rpath/wakelock_plus.framework/wakelock_plus' which was built for newer version 15.6
        While building module 'CocoaAsyncSocket':
        In file included from <module-includes>:1:
        /<hidden>/build/ios_integ/Build/Products/Release-iphoneos/CocoaAsyncSocket/CocoaAsyncSocket.framework/Headers/CocoaAsyncSocket-umbrella.h:13:9: warning: double-quoted include "GCDAsyncSocket.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]                                                               
           13 | #import "GCDAsyncSocket.h"
              |         ^~~~~~~~~~~~~~~~~~
              |         <CocoaAsyncSocket/GCDAsyncSocket.h>
        /<hidden>/build/ios_integ/Build/Products/Release-iphoneos/CocoaAsyncSocket/CocoaAsyncSocket.framework/Headers/CocoaAsyncSocket-umbrella.h:14:9: warning: double-quoted include "GCDAsyncUdpSocket.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]                                                            
           14 | #import "GCDAsyncUdpSocket.h"
              |         ^~~~~~~~~~~~~~~~~~~~~
              |         <CocoaAsyncSocket/GCDAsyncUdpSocket.h>
        2 warnings generated.
        While building module 'patrol':
        In file included from <module-includes>:1:
        /<hidden>/build/ios_integ/Build/Products/Release-iphoneos/patrol/patrol.framework/Headers/patrol-umbrella.h:13:9: warning: double-quoted include "PatrolIntegrationTestIosRunner.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]                                                                             
           13 | #import "PatrolIntegrationTestIosRunner.h"
              |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              |         <patrol/PatrolIntegrationTestIosRunner.h>
        /<hidden>/build/ios_integ/Build/Products/Release-iphoneos/patrol/patrol.framework/Headers/patrol-umbrella.h:14:9: warning: double-quoted include "PatrolIntegrationTestMacosRunner.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]                                                                           
           14 | #import "PatrolIntegrationTestMacosRunner.h"
              |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              |         <patrol/PatrolIntegrationTestMacosRunner.h>
        /<hidden>/build/ios_integ/Build/Products/Release-iphoneos/patrol/patrol.framework/Headers/patrol-umbrella.h:15:9: warning: double-quoted include "PatrolPlugin.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]                                                                                               
           15 | #import "PatrolPlugin.h"
              |         ^~~~~~~~~~~~~~~~
              |         <patrol/PatrolPlugin.h>
        /<hidden>/build/ios_integ/Build/Products/Release-iphoneos/patrol/patrol.framework/Headers/patrol-umbrella.h:16:9: warning: double-quoted include "http_parser.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]                                                                                                
           16 | #import "http_parser.h"
              |         ^~~~~~~~~~~~~~~
              |         <patrol/http_parser.h>
        4 warnings generated.
        /<hidden>/ios/RunnerUITests/RunnerUITests.m:5:1: warning: unused variable 'result' [-Wunused-variable]
            5 | PATROL_INTEGRATION_TEST_IOS_RUNNER(RunnerUITests)
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        In module 'patrol' imported from /<hidden>/ios/RunnerUITests/RunnerUITests.m:2:
        /<hidden>/build/ios_integ/Build/Products/Release-iphoneos/patrol/patrol.framework/Headers/PatrolIntegrationTestIosRunner.h:38:10: note: expanded from macro 'PATROL_INTEGRATION_TEST_IOS_RUNNER'                                                                                                                                                             
           38 |     BOOL result = [super instancesRespondToSelector:aSelector];                                                 \
              |          ^~~~~~
        /<hidden>/ios/RunnerUITests/RunnerUITests.m:5:1: warning: format specifies type 'id' but the argument has type 'NSError * _Nullable __autoreleasing * _Nullable' [-Wformat]                                                                                                                                                                                  
            5 | PATROL_INTEGRATION_TEST_IOS_RUNNER(RunnerUITests)
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        In module 'patrol' imported from /<hidden>/ios/RunnerUITests/RunnerUITests.m:2:
        /<hidden>/build/ios_integ/Build/Products/Release-iphoneos/patrol/patrol.framework/Headers/PatrolIntegrationTestIosRunner.h:161:55: note: expanded from macro 'PATROL_INTEGRATION_TEST_IOS_RUNNER'                                                                                                                                                            
          161 |       NSLog(@"patrolServer.start(): failed, err: %@", err);                                                     \
              |                                                  ~~   ^~~
        2 warnings generated.
        /<hidden>/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 26.2.99. (in target 'CocoaAsyncSocket' from project 'Pods')                                                                                                               
        /<hidden>/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 26.2.99. (in target 'PromisesObjC' from project 'Pods')                                                                                                                   
        /<hidden>/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 26.2.99. (in target 'PromisesObjC-FBLPromises_Privacy' from project 'Pods')                                                                                               
        /<hidden>/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 26.2.99. (in target 'PromisesSwift' from project 'Pods')                                                                                                                  
        /<hidden>/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 26.2.99. (in target 'PromisesSwift-Promises_Privacy' from project 'Pods')                                                                                                 
        /<hidden>/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 26.2.99. (in target 'SwiftCBOR' from project 'Pods')                                                                                                                     
        /<hidden>/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 26.2.99. (in target 'fluttertoast-fluttertoast_privacy' from project 'Pods')                                                                                              
        /<hidden>/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 26.2.99. (in target 'flutter_secure_storage-flutter_secure_storage' from project 'Pods')                                                                                  
        /<hidden>/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 26.2.99. (in target 'permission_handler_apple-permission_handler_apple_privacy' from project 'Pods')                                                                      
        note: Run script build phase 'Run Script' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')                                                                                                                                                                       
        warning: Run script build phase 'FlutterFire: "flutterfire upload-crashlytics-symbols"' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')                                                                                                                                                                                  
        note: Run script build phase 'Thin Binary' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')                                                                                                                                                                      
        warning: Run script build phase 'xcode_backend build' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'RunnerUITests' from project 'Runner')                
        warning: Run script build phase 'xcode_backend embed_and_thin' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'RunnerUITests' from project 'Runner')       
✓ Completed building app with entrypoint test_bundle.dart for iOS device (65.1s)
Will uninstall apps before running tests
$ ideviceinstaller --udid <hidden> --uninstall <hidden>
$ ideviceinstaller --udid <hidden> --uninstall <hidden>.RunnerUITests.xctrunner
$ idevicesyslog
• Running app with entrypoint test_bundle.dart for iOS device on device Keith iPhone 16...
$ xcodebuild -showsdks -json
Assuming SDK version 26.2 for iphonesimulator
Looking for .xctestrun matching Runner_*iphoneos26.2*.xctestrun at /<hidden>/build/ios_integ/Build/Products
Found 1 match(es), the first one will be used
Found /<hidden>/build/ios_integ/Build/Products/Runner_iphoneos26.2-arm64.xctestrun
$ xcodebuild test-without-building -xctestrun /<hidden>/build/ios_integ/Build/Products/Runner_iphoneos26.2-arm64.xctestrun -only-testing RunnerUITests/RunnerUITests -destination platform=iOS,name=Keith iPhone 16 -destination-timeout 1 -resultBundlePath /<hidden>/build/ios_results_1768991896666.xcresult                                 
        Command line invocation:
            /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild test-without-building -xctestrun /<hidden>/build/ios_integ/Build/Products/Runner_iphoneos26.2-arm64.xctestrun -only-testing RunnerUITests/RunnerUITests -destination "platform=iOS,name=Keith iPhone 16" -destination-timeout 1 -resultBundlePath /<hidden>/build/ios_results_1768991896666.xcresult                                                                                                                                                               
        
        2026-01-21 11:38:17.579 xcodebuild[63776:2588420] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
        Writing result bundle at path:
                /<hidden>/build/ios_results_1768991896666.xcresult
        
        2026-01-21 11:38:17.586 xcodebuild[63776:2588420] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
        --- xcodebuild: WARNING: Using the first of multiple matching destinations:
        { platform:iOS, arch:arm64e, id:<hidden>, name:Keith iPhone 16 }
        { platform:iOS, arch:arm64, id:<hidden>, name:Keith iPhone 16 }
        2026-01-21 11:38:19.034 xcodebuild[63776:2588420] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
        2026-01-21 11:38:19.394 xcodebuild[63776:2588420] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
        2026-01-21 11:38:21.795344+0100 RunnerUITests-Runner[8038:444184] [Default] Running tests...
            t =      nans Interface orientation changed to Portrait
        2026-01-21 11:38:22.681221+0100 RunnerUITests-Runner[8038:444184] PatrolServer: INFO: PatrolServer constructor called
        2026-01-21 11:38:22.681292+0100 RunnerUITests-Runner[8038:444184] PatrolServer: INFO: PATROL_ENABLED flag is defined
        2026-01-21 11:38:22.681767+0100 RunnerUITests-Runner[8038:444184] PatrolServer: INFO: Starting server...
        2026-01-21 11:38:22.685215+0100 RunnerUITests-Runner[8038:444184] PatrolServer: INFO: Server started on http://0.0.0.0:8081
        2026-01-21 11:38:22.685387+0100 RunnerUITests-Runner[8038:444184] PatrolAppServiceClient: created, port: 8082
            t =      nans Checking existence of `"Allow" Button`
            t =      nans Ignoring failure to get hierarchy for remote element in process 7931 (Error getting main window kAXErrorServerNotFound)
            t =      nans Ignoring failure to get hierarchy for remote element in process 7931 (Error getting main window kAXErrorServerNotFound)
            t =      nans Open <hidden>
            t =      nans     Launch <hidden>
            t =      nans         Terminate <hidden>:8033
            t =      nans         Setting up automation session
            t =      nans         Wait for <hidden> to idle
        2026-01-21 11:38:27.360890+0100 RunnerUITests-Runner[8038:444193] PatrolServer: INFO: App reported that it is ready
        2026-01-21 11:38:28.357826+0100 RunnerUITests-Runner[8038:444184] PatrolAppServiceClient.listDartTests()
        2026-01-21 11:38:28.396806+0100 RunnerUITests-Runner[8038:444195] [connection] nw_socket_handle_socket_event [C1.1.1:2] Socket SO_ERROR [61: Connection refused]
        2026-01-21 11:38:28.396916+0100 RunnerUITests-Runner[8038:444195] [connection] nw_endpoint_flow_failed_with_error [C1.1.1 ::1.8082 in_progress socket-flow (satisfied (Path is satisfied), viable, interface: lo0)] already failing, returning                                                                                                                                    
        2026-01-21 11:38:28.402086+0100 RunnerUITests-Runner[8038:444196] PatrolAppServiceClient.listDartTests(): succeeded
        2026-01-21 11:38:29.370584+0100 RunnerUITests-Runner[8038:444184] Got 6 Dart tests: (
                {
                name = "e2e_test [e2e] create project";
                skip = 0;
            },
                {
                name = "e2e_test [e2e] Add device to project";
                skip = 0;
            },
                {
                name = "e2e_test [e2e] change device property";
                skip = 0;
            },
                {
                name = "e2e_test [e2e] backup and restore device property";
                skip = 0;
            },
                {
                name = "e2e_test [e2e] firmware update";
                skip = 0;
            },
                {
                name = "e2e_test [e2e] remove device from project";
                skip = 0;
            }
        )
        2026-01-21 11:38:29.371095+0100 RunnerUITests-Runner[8038:444184] RunnerUITests.testInvocations(): selectorName = e2e_test [e2e] create project, signature: <NSMethodSignature: 0x89cafa079f8205ff>                                                                                                                                                                               
        2026-01-21 11:38:29.371229+0100 RunnerUITests-Runner[8038:444184] RunnerUITests.testInvocations(): selectorName = e2e_test [e2e] Add device to project, signature: <NSMethodSignature: 0x89cafa079f8205ff>                                                                                                                                                                        
        2026-01-21 11:38:29.371289+0100 RunnerUITests-Runner[8038:444184] RunnerUITests.testInvocations(): selectorName = e2e_test [e2e] change device property, signature: <NSMethodSignature: 0x89cafa079f8205ff>                                                                                                                                                                       
        2026-01-21 11:38:29.371348+0100 RunnerUITests-Runner[8038:444184] RunnerUITests.testInvocations(): selectorName = e2e_test [e2e] backup and restore device property, signature: <NSMethodSignature: 0x89cafa079f8205ff>                                                                                                                                                           
        2026-01-21 11:38:29.371403+0100 RunnerUITests-Runner[8038:444184] RunnerUITests.testInvocations(): selectorName = e2e_test [e2e] firmware update, signature: <NSMethodSignature: 0x89cafa079f8205ff>                                                                                                                                                                              
        2026-01-21 11:38:29.371456+0100 RunnerUITests-Runner[8038:444184] RunnerUITests.testInvocations(): selectorName = e2e_test [e2e] remove device from project, signature: <NSMethodSignature: 0x89cafa079f8205ff>                                                                                                                                                                   
        Test Suite 'Selected tests' started at 2026-01-21 11:38:29.385.
        Test Suite 'RunnerUITests.xctest' started at 2026-01-21 11:38:29.386.
        Test Suite 'RunnerUITests' started at 2026-01-21 11:38:29.386.
        Test Case '-[RunnerUITests e2e_test [e2e] Add device to project]' started.
            t =     0.00s Start Test at 2026-01-21 11:38:29.389
            t =     0.03s Set Up
        2026-01-21 11:38:29.414928+0100 RunnerUITests-Runner[8038:444184] RunnerUITests running Dart test: e2e_test [e2e] Add device to project
            t =     0.03s Open <hidden>
            t =     0.03s     Launch <hidden>
            t =     0.03s         Terminate <hidden>:8040
        2026-01-21 11:38:29.518 xcodebuild[63776:2588420] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
            t =     1.26s         Setting up automation session
            t =     1.30s         Wait for <hidden> to idle
        2026-01-21 11:38:30.792835+0100 RunnerUITests-Runner[8038:444195] PatrolServer: INFO: App reported that it is ready
        2026-01-21 11:38:32.799990+0100 RunnerUITests-Runner[8038:444184] PatrolAppServiceClient.runDartTest(e2e_test [e2e] Add device to project)
        2026-01-21 11:38:32.807513+0100 RunnerUITests-Runner[8038:444201] [connection] nw_socket_handle_socket_event [C2.1.1:2] Socket SO_ERROR [61: Connection refused]
        2026-01-21 11:38:32.807658+0100 RunnerUITests-Runner[8038:444201] [connection] nw_endpoint_flow_failed_with_error [C2.1.1 ::1.8082 in_progress socket-flow (satisfied (Path is satisfied), viable, interface: lo0)] already failing, returning                                                                                                                                    
🧪 [e2e] Add device to project
        ❌   1. waitUntilVisible widgets with key [<'projectsListProject_e2e-test-project'>].
❌ [e2e] Add device to project (/e2e_test.dart) (10s)
TimeoutException after 0:00:10.000000: Finder "Found 0 widgets with key [<'projectsListProject_e2e-test-project'>]: []" did not find any visible (i.e. hit-testable) widgets
#0      PatrolTester.waitUntilVisible.<anonymous closure>.<anonymous closure> (package:patrol_finders/src/custom_finders/patrol_tester.dart:575)
<asynchronous suspension>
#1      PatrolTester.wrapWithPatrolLog (package:patrol_finders/src/custom_finders/patrol_tester.dart:168)
<asynchronous suspension>
#2      TestAsyncUtils.guard.<anonymous closure> (package:flutter_test/src/test_async_utils.dart:130)
<asynchronous suspension>
#3      _navigateToProject (file:///<hidden>/patrol_test/e2e_test.dart:252)
<asynchronous suspension>
#4      main.<anonymous closure> (file:///<hidden>/patrol_test/e2e_test.dart:66)
<asynchronous suspension>
#5      patrolTest.<anonymous closure> (package:patrol/src/common.dart:165)
<asynchronous suspension>
#6      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:192)
<asynchronous suspension>
#7      PatrolBinding._wrapTestBodyWithExceptionGatherer (package:patrol/src/binding.dart:250)
<asynchronous suspension>
#8      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1059)
<asynchronous suspension>
#9      TestWidgetsFlutterBinding._createTestCompletionHandler.<anonymous closure> (package:flutter_test/src/binding.dart:814)
<asynchronous suspension>

        2026-01-21 11:38:42.988853+0100 RunnerUITests-Runner[8038:444195] runDartTest("e2e_test [e2e] Add device to project"): call finished, test result: FAILED
        /<hidden>/ios/RunnerUITests/RunnerUITests.m:5: error: -[RunnerUITests e2e_test [e2e] Add device to project] : ((passed) is true) failed - TimeoutException after 0:00:10.000000: Finder "Found 0 widgets with key [<'projectsListProject_e2e-test-project'>]: []" did not find any visible (i.e. hit-testable) widgets                                       
        #0      PatrolTester.waitUntilVisible.<anonymous closure>.<anonymous closure> (package:patrol_finders/src/custom_finders/patrol_tester.dart:575)
        <asynchronous suspension>
        #1      PatrolTester.wrapWithPatrolLog (package:patrol_finders/src/custom_finders/patrol_tester.dart:168)
        <asynchronous suspension>
        #2      TestAsyncUtils.guard.<anonymous closure> (package:flutter_test/src/test_async_utils.dart:130)
        <asynchronous suspension>
        #3      _navigateToProject (file:///<hidden>/patrol_test/e2e_test.dart:252)
        <asynchronous suspension>
        #4      main.<anonymous closure> (file:///<hidden>/patrol_test/e2e_test.dart:66)
        <asynchronous suspension>
        
        #5      patrolTest.<anonymous closure> (package:patrol/src/common.dart:165)
        <asynchronous suspension>
        #6      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:192)
        <asynchronous suspension>
        #7      PatrolBinding._wrapTestBodyWithExceptionGatherer (package:patrol/src/binding.dart:250)
        <asynchronous suspension>
        #8      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1059)
        <asynchronous suspension>
        #9      TestWidgetsFlutterBinding._createTestCompletionHandler.<anonymous closure> (package:flutter_test/src/binding.dart:814)
        <asynchronous suspension>
        
            t =    14.55s Tear Down
        2026-01-21 11:38:44.047 xcodebuild[63776:2588420] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
        Test Case '-[RunnerUITests e2e_test [e2e] Add device to project]' failed (14.763 seconds).
        Test Case '-[RunnerUITests e2e_test [e2e] backup and restore device property]' started.
            t =     0.00s Start Test at 2026-01-21 11:38:44.153
            t =     0.03s Set Up
        2026-01-21 11:38:44.181963+0100 RunnerUITests-Runner[8038:444184] RunnerUITests running Dart test: e2e_test [e2e] backup and restore device property
            t =     0.03s Open <hidden>
            t =     0.03s     Launch <hidden>
            t =     0.03s         Terminate <hidden>:8041
        2026-01-21 11:38:44.261 xcodebuild[63776:2588420] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
            t =     1.26s         Setting up automation session
            t =     1.30s         Wait for <hidden> to idle
        2026-01-21 11:38:45.567521+0100 RunnerUITests-Runner[8038:444197] PatrolServer: INFO: App reported that it is ready
        2026-01-21 11:38:47.573721+0100 RunnerUITests-Runner[8038:444184] PatrolAppServiceClient.runDartTest(e2e_test [e2e] backup and restore device property)
        2026-01-21 11:38:47.595153+0100 RunnerUITests-Runner[8038:444201] [connection] nw_socket_handle_socket_event [C3.1.1:2] Socket SO_ERROR [61: Connection refused]
        2026-01-21 11:38:47.595270+0100 RunnerUITests-Runner[8038:444201] [connection] nw_endpoint_flow_failed_with_error [C3.1.1 ::1.8082 in_progress socket-flow (satisfied (Path is satisfied), viable, interface: lo0)] already failing, returning                                                                                                                                    
🧪 [e2e] backup and restore device property
        ❌   1. waitUntilVisible widgets with key [<'projectsListProject_e2e-test-project'>].
❌ [e2e] backup and restore device property (/e2e_test.dart) (10s)
TimeoutException after 0:00:10.000000: Finder "Found 0 widgets with key [<'projectsListProject_e2e-test-project'>]: []" did not find any visible (i.e. hit-testable) widgets
#0      PatrolTester.waitUntilVisible.<anonymous closure>.<anonymous closure> (package:patrol_finders/src/custom_finders/patrol_tester.dart:575)
<asynchronous suspension>
        2026-01-21 11:38:57.762900+0100 RunnerUITests-Runner[8038:444197] runDartTest("e2e_test [e2e] backup and restore device property"): call finished, test result: FAILED
#1      PatrolTester.wrapWithPatrolLog (package:patrol_finders/src/custom_finders/patrol_tester.dart:168)
<asynchronous suspension>
#2      TestAsyncUtils.guard.<anonymous closure> (package:flutter_test/src/test_async_utils.dart:130)
<asynchronous suspension>
#3      _navigateToProject (file:///<hidden>/patrol_test/e2e_test.dart:252)
<asynchronous suspension>
#4      main.<anonymous closure> (file:///<hidden>/patrol_test/e2e_test.dart:131)
<asynchronous suspension>
#5      patrolTest.<anonymous closure> (package:patrol/src/common.dart:165)
<asynchronous suspension>
#6      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:192)
<asynchronous suspension>
#7      PatrolBinding._wrapTestBodyWithExceptionGatherer (package:patrol/src/binding.dart:250)
<asynchronous suspension>
#8      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1059)
<asynchronous suspension>
#9      TestWidgetsFlutterBinding._createTestCompletionHandler.<anonymous closure> (package:flutter_test/src/binding.dart:814)
<asynchronous suspension>

        /<hidden>/ios/RunnerUITests/RunnerUITests.m:5: error: -[RunnerUITests e2e_test [e2e] backup and restore device property] : ((passed) is true) failed - TimeoutException after 0:00:10.000000: Finder "Found 0 widgets with key [<'projectsListProject_e2e-test-project'>]: []" did not find any visible (i.e. hit-testable) widgets                          
        #0      PatrolTester.waitUntilVisible.<anonymous closure>.<anonymous closure> (package:patrol_finders/src/custom_finders/patrol_tester.dart:575)
        <asynchronous suspension>
        #1      PatrolTester.wrapWithPatrolLog (package:patrol_finders/src/custom_finders/patrol_tester.dart:168)
        <asynchronous suspension>
        #2      TestAsyncUtils.guard.<anonymous closure> (package:flutter_test/src/test_async_utils.dart:130)
        <asynchronous suspension>
        #3      _navigateToProject (file:///<hidden>/patrol_test/e2e_test.dart:252)
        <asynchronous suspension>
        #4      main.<anonymous closure> (file:///<hidden>/patrol_test/e2e_test.dart:131)
        <asynchronous suspension>
        #5      patrolTest.<anonymous closure> (package:patrol/src/common.dart:165)
        <asynchronous suspension>
        #6      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:192)
        <asynchronous suspension>
        #7      PatrolBinding._wrapTestBodyWithExceptionGatherer (package:patrol/src/binding.dart:250)
        <asynchronous suspension>
        #8      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1059)
        <asynchronous suspension>
        #9      TestWidgetsFlutterBinding._createTestCompletionHandler.<anonymous closure> (package:flutter_test/src/binding.dart:814)
        <asynchronous suspension>
        
            t =    14.48s Tear Down
        2026-01-21 11:38:58.781 xcodebuild[63776:2588420] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
        Test Case '-[RunnerUITests e2e_test [e2e] backup and restore device property]' failed (14.742 seconds).
        Test Case '-[RunnerUITests e2e_test [e2e] change device property]' started.
            t =     0.00s Start Test at 2026-01-21 11:38:58.897
            t =     0.03s Set Up
        2026-01-21 11:38:58.929025+0100 RunnerUITests-Runner[8038:444184] RunnerUITests running Dart test: e2e_test [e2e] change device property
            t =     0.03s Open <hidden>
            t =     0.03s     Launch <hidden>
            t =     0.03s         Terminate <hidden>:8044
        2026-01-21 11:38:59.011 xcodebuild[63776:2588420] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
            t =     1.34s         Setting up automation session
            t =     1.38s         Wait for <hidden> to idle
        2026-01-21 11:39:00.395608+0100 RunnerUITests-Runner[8038:444201] PatrolServer: INFO: App reported that it is ready
        2026-01-21 11:39:02.400018+0100 RunnerUITests-Runner[8038:444184] PatrolAppServiceClient.runDartTest(e2e_test [e2e] change device property)
        2026-01-21 11:39:02.409194+0100 RunnerUITests-Runner[8038:444199] [connection] nw_socket_handle_socket_event [C4.1.1:2] Socket SO_ERROR [61: Connection refused]
        2026-01-21 11:39:02.409749+0100 RunnerUITests-Runner[8038:444199] [connection] nw_endpoint_flow_failed_with_error [C4.1.1 ::1.8082 in_progress socket-flow (satisfied (Path is satisfied), viable, interface: lo0)] already failing, returning                                                                                                                                    
🧪 [e2e] change device property
        ❌   1. waitUntilVisible widgets with key [<'projectsListProject_e2e-test-project'>].
❌ [e2e] change device property (/e2e_test.dart) (10s)
TimeoutException after 0:00:10.000000: Finder "Found 0 widgets with key [<'projectsListProject_e2e-test-project'>]: []" did not find any visible (i.e. hit-testable) widgets
#0      PatrolTester.waitUntilVisible.<anonymous closure>.<anonymous closure> (package:patrol_finders/src/custom_finders/patrol_tester.dart:575)
<asynchronous suspension>
#1      PatrolTester.wrapWithPatrolLog (package:patrol_finders/src/custom_finders/patrol_tester.dart:168)
<asynchronous suspension>
#2      TestAsyncUtils.guard.<anonymous closure> (package:flutter_test/src/test_async_utils.dart:130)
<asynchronous suspension>
#3      _navigateToProject (file:///<hidden>/patrol_test/e2e_test.dart:252)
<asynchronous suspension>
        2026-01-21 11:39:12.573234+0100 RunnerUITests-Runner[8038:444201] runDartTest("e2e_test [e2e] change device property"): call finished, test result: FAILED
#4      main.<anonymous closure> (file:///<hidden>/patrol_test/e2e_test.dart:117)
<asynchronous suspension>
#5      patrolTest.<anonymous closure> (package:patrol/src/common.dart:165)
<asynchronous suspension>
#6      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:192)
<asynchronous suspension>
#7      PatrolBinding._wrapTestBodyWithExceptionGatherer (package:patrol/src/binding.dart:250)
<asynchronous suspension>
#8      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1059)
<asynchronous suspension>
#9      TestWidgetsFlutterBinding._createTestCompletionHandler.<anonymous closure> (package:flutter_test/src/binding.dart:814)
<asynchronous suspension>

        /<hidden>/ios/RunnerUITests/RunnerUITests.m:5: error: -[RunnerUITests e2e_test [e2e] change device property] : ((passed) is true) failed - TimeoutException after 0:00:10.000000: Finder "Found 0 widgets with key [<'projectsListProject_e2e-test-project'>]: []" did not find any visible (i.e. hit-testable) widgets                                      
        #0      PatrolTester.waitUntilVisible.<anonymous closure>.<anonymous closure> (package:patrol_finders/src/custom_finders/patrol_tester.dart:575)
        <asynchronous suspension>
        #1      PatrolTester.wrapWithPatrolLog (package:patrol_finders/src/custom_finders/patrol_tester.dart:168)
        <asynchronous suspension>
        #2      TestAsyncUtils.guard.<anonymous closure> (package:flutter_test/src/test_async_utils.dart:130)
        <asynchronous suspension>
        #3      _navigateToProject (file:///<hidden>/patrol_test/e2e_test.dart:252)
        <asynchronous suspension>
        #4      main.<anonymous closure> (file:///<hidden>/patrol_test/e2e_test.dart:117)
        <asynchronous suspension>
        #5      patrolTest.<anonymous closure> (package:patrol/src/common.dart:165)
        <asynchronous suspension>
        #6      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:192)
        <asynchronous suspension>
        #7      PatrolBinding._wrapTestBodyWithExceptionGatherer (package:patrol/src/binding.dart:250)
        <asynchronous suspension>
        #8      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1059)
        <asynchronous suspension>
        #9      TestWidgetsFlutterBinding._createTestCompletionHandler.<anonymous closure> (package:flutter_test/src/binding.dart:814)
        <asynchronous suspension>
        
            t =    14.56s Tear Down
        2026-01-21 11:39:13.579 xcodebuild[63776:2588420] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
        Test Case '-[RunnerUITests e2e_test [e2e] change device property]' failed (14.804 seconds).
        Test Case '-[RunnerUITests e2e_test [e2e] create project]' started.
            t =     0.00s Start Test at 2026-01-21 11:39:13.703
            t =     0.04s Set Up
        2026-01-21 11:39:13.740628+0100 RunnerUITests-Runner[8038:444184] RunnerUITests running Dart test: e2e_test [e2e] create project
            t =     0.04s Open <hidden>
            t =     0.04s     Launch <hidden>
            t =     0.04s         Terminate <hidden>:8047
        2026-01-21 11:39:13.830 xcodebuild[63776:2588420] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
            t =     1.34s         Setting up automation session
            t =     1.39s         Wait for <hidden> to idle
        2026-01-21 11:39:15.199996+0100 RunnerUITests-Runner[8038:444197] PatrolServer: INFO: App reported that it is ready
        2026-01-21 11:39:17.200893+0100 RunnerUITests-Runner[8038:444184] PatrolAppServiceClient.runDartTest(e2e_test [e2e] create project)
        2026-01-21 11:39:17.218027+0100 RunnerUITests-Runner[8038:444199] [connection] nw_socket_handle_socket_event [C5.1.1:2] Socket SO_ERROR [61: Connection refused]
        2026-01-21 11:39:17.218208+0100 RunnerUITests-Runner[8038:444199] [connection] nw_endpoint_flow_failed_with_error [C5.1.1 ::1.8082 in_progress socket-flow (satisfied (Path is satisfied), viable, interface: lo0)] already failing, returning                                                                                                                                    
✅ [e2e] create project (/e2e_test.dart) (16s)
        2026-01-21 11:39:33.822960+0100 RunnerUITests-Runner[8038:444199] runDartTest("e2e_test [e2e] create project"): call finished, test result: PASSED
            t =    20.54s Tear Down
        2026-01-21 11:39:34.375 xcodebuild[63776:2588420] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
        Test Case '-[RunnerUITests e2e_test [e2e] create project]' passed (20.788 seconds).
        Test Case '-[RunnerUITests e2e_test [e2e] firmware update]' started.
            t =     0.00s Start Test at 2026-01-21 11:39:34.493
            t =     0.03s Set Up
        2026-01-21 11:39:34.525333+0100 RunnerUITests-Runner[8038:444184] RunnerUITests running Dart test: e2e_test [e2e] firmware update
            t =     0.03s Open <hidden>
            t =     0.04s     Launch <hidden>
            t =     0.04s         Terminate <hidden>:8049
        2026-01-21 11:39:34.615 xcodebuild[63776:2588420] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
            t =     1.31s         Setting up automation session
            t =     1.35s         Wait for <hidden> to idle
        2026-01-21 11:39:35.949672+0100 RunnerUITests-Runner[8038:444195] PatrolServer: INFO: App reported that it is ready
        2026-01-21 11:39:37.950395+0100 RunnerUITests-Runner[8038:444184] PatrolAppServiceClient.runDartTest(e2e_test [e2e] firmware update)
        2026-01-21 11:39:37.956939+0100 RunnerUITests-Runner[8038:444199] [connection] nw_socket_handle_socket_event [C6.1.1:2] Socket SO_ERROR [61: Connection refused]
        2026-01-21 11:39:37.957184+0100 RunnerUITests-Runner[8038:444199] [connection] nw_endpoint_flow_failed_with_error [C6.1.1 ::1.8082 in_progress socket-flow (satisfied (Path is satisfied), viable, interface: lo0)] already failing, returning                                                                                                                                    
🧪 [e2e] firmware update
        ✅   1. waitUntilVisible widgets with key [<'projectsListProject_e2e-test-project'>].
        ✅   2. tap widgets with key [<'projectsListProject_e2e-test-project'>].
        ❌   3. waitUntilVisible widgets with key [<'projectListDevice_062501EFF35A123CF9'>].
❌ [e2e] firmware update (/e2e_test.dart) (10s)
TimeoutException after 0:00:10.000000: Finder "Found 0 widgets with key [<'projectListDevice_062501EFF35A123CF9'>]: []" did not find any visible (i.e. hit-testable) widgets
#0      PatrolTester.waitUntilVisible.<anonymous closure>.<anonymous closure> (package:patrol_finders/src/custom_finders/patrol_tester.dart:575)
<asynchronous suspension>
#1      PatrolTester.wrapWithPatrolLog (package:patrol_finders/src/custom_finders/patrol_tester.dart:168)
<asynchronous suspension>
#2      TestAsyncUtils.guard.<anonymous closure> (package:flutter_test/src/test_async_utils.dart:130)
<asynchronous suspension>
#3      _navigateToDevice (file:///<hidden>/patrol_test/e2e_test.dart:260)
<asynchronous suspension>
#4      main.<anonymous closure> (file:///<hidden>/patrol_test/e2e_test.dart:171)
<asynchronous suspension>
#5      patrolTest.<anonymous closure> (package:patrol/src/common.dart:165)
<asynchronous suspension>
#6      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:192)
        2026-01-21 11:39:48.719092+0100 RunnerUITests-Runner[8038:444195] runDartTest("e2e_test [e2e] firmware update"): call finished, test result: FAILED
<asynchronous suspension>
#7      PatrolBinding._wrapTestBodyWithExceptionGatherer (package:patrol/src/binding.dart:250)
<asynchronous suspension>
#8      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1059)
<asynchronous suspension>
#9      TestWidgetsFlutterBinding._createTestCompletionHandler.<anonymous closure> (package:flutter_test/src/binding.dart:814)
<asynchronous suspension>

        /<hidden>/ios/RunnerUITests/RunnerUITests.m:5: error: -[RunnerUITests e2e_test [e2e] firmware update] : ((passed) is true) failed - TimeoutException after 0:00:10.000000: Finder "Found 0 widgets with key [<'projectListDevice_062501EFF35A123CF9'>]: []" did not find any visible (i.e. hit-testable) widgets                                             
        #0      PatrolTester.waitUntilVisible.<anonymous closure>.<anonymous closure> (package:patrol_finders/src/custom_finders/patrol_tester.dart:575)
        <asynchronous suspension>
        #1      PatrolTester.wrapWithPatrolLog (package:patrol_finders/src/custom_finders/patrol_tester.dart:168)
        <asynchronous suspension>
        #2      TestAsyncUtils.guard.<anonymous closure> (package:flutter_test/src/test_async_utils.dart:130)
        <asynchronous suspension>
        #3      _navigateToDevice (file:///<hidden>/patrol_test/e2e_test.dart:260)
        <asynchronous suspension>
        #4      main.<anonymous closure> (file:///<hidden>/patrol_test/e2e_test.dart:171)
        <asynchronous suspension>
        #5      patrolTest.<anonymous closure> (package:patrol/src/common.dart:165)
        <asynchronous suspension>
        #6      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:192)
        <asynchronous suspension>
        #7      PatrolBinding._wrapTestBodyWithExceptionGatherer (package:patrol/src/binding.dart:250)
        <asynchronous suspension>
        #8      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1059)
        <asynchronous suspension>
        #9      TestWidgetsFlutterBinding._createTestCompletionHandler.<anonymous closure> (package:flutter_test/src/binding.dart:814)
        <asynchronous suspension>
        
            t =    14.49s Tear Down
        2026-01-21 11:39:49.124 xcodebuild[63776:2588420] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
        Test Case '-[RunnerUITests e2e_test [e2e] firmware update]' failed (14.742 seconds).
        Test Case '-[RunnerUITests e2e_test [e2e] remove device from project]' started.
            t =     0.00s Start Test at 2026-01-21 11:39:49.236
            t =     0.03s Set Up
        2026-01-21 11:39:49.268478+0100 RunnerUITests-Runner[8038:444184] RunnerUITests running Dart test: e2e_test [e2e] remove device from project
            t =     0.03s Open <hidden>
            t =     0.03s     Launch <hidden>
            t =     0.04s         Terminate <hidden>:8053
        2026-01-21 11:39:49.358 xcodebuild[63776:2588420] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
            t =     1.35s         Setting up automation session
            t =     1.39s         Wait for <hidden> to idle
        2026-01-21 11:39:50.733350+0100 RunnerUITests-Runner[8038:444195] PatrolServer: INFO: App reported that it is ready
        2026-01-21 11:39:52.735176+0100 RunnerUITests-Runner[8038:444184] PatrolAppServiceClient.runDartTest(e2e_test [e2e] remove device from project)
        2026-01-21 11:39:52.741416+0100 RunnerUITests-Runner[8038:444195] [] nw_path_necp_check_for_updates Failed to copy updated result (22)
        2026-01-21 11:39:52.745133+0100 RunnerUITests-Runner[8038:444195] [connection] nw_socket_handle_socket_event [C7.1.1:2] Socket SO_ERROR [61: Connection refused]
        2026-01-21 11:39:52.745396+0100 RunnerUITests-Runner[8038:444195] [connection] nw_endpoint_flow_failed_with_error [C7.1.1 ::1.8082 in_progress socket-flow (satisfied (Path is satisfied), viable, interface: lo0)] already failing, returning                                                                                                                                    
🧪 [e2e] remove device from project
        ✅   1. waitUntilVisible widgets with key [<'projectsListProject_e2e-test-project'>].
        ✅   2. tap widgets with key [<'projectsListProject_e2e-test-project'>].
        ❌   3. waitUntilVisible widgets with key [<'projectListDevice_062501EFF35A123CF9'>].
❌ [e2e] remove device from project (/e2e_test.dart) (10s)
TimeoutException after 0:00:10.000000: Finder "Found 0 widgets with key [<'projectListDevice_062501EFF35A123CF9'>]: []" did not find any visible (i.e. hit-testable) widgets
#0      PatrolTester.waitUntilVisible.<anonymous closure>.<anonymous closure> (package:patrol_finders/src/custom_finders/patrol_tester.dart:575)
<asynchronous suspension>
#1      PatrolTester.wrapWithPatrolLog (package:patrol_finders/src/custom_finders/patrol_tester.dart:168)
<asynchronous suspension>
#2      TestAsyncUtils.guard.<anonymous closure> (package:flutter_test/src/test_async_utils.dart:130)
<asynchronous suspension>
#3      _navigateToDevice (file:///<hidden>/patrol_test/e2e_test.dart:260)
<asynchronous suspension>
#4      main.<anonymous closure> (file:///<hidden>/patrol_test/e2e_test.dart:215)
<asynchronous suspension>
#5      patrolTest.<anonymous closure> (package:patrol/src/common.dart:165)
<asynchronous suspension>
#6      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:192)
<asynchronous suspension>
#7      PatrolBinding._wrapTestBodyWithExceptionGatherer (package:patrol/src/binding.dart:250)
<asynchronous suspension>
#8      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1059)
<asynchronous suspension>
#9      TestWidgetsFlutterBinding._createTestCompletionHandler.<anonymous closure> (package:flutter_test/src/binding.dart:814)
<asynchronous suspension>

        2026-01-21 11:40:03.496405+0100 RunnerUITests-Runner[8038:446672] runDartTest("e2e_test [e2e] remove device from project"): call finished, test result: FAILED
        /<hidden>/ios/RunnerUITests/RunnerUITests.m:5: error: -[RunnerUITests e2e_test [e2e] remove device from project] : ((passed) is true) failed - TimeoutException after 0:00:10.000000: Finder "Found 0 widgets with key [<'projectListDevice_062501EFF35A123CF9'>]: []" did not find any visible (i.e. hit-testable) widgets                                  
        #0      PatrolTester.waitUntilVisible.<anonymous closure>.<anonymous closure> (package:patrol_finders/src/custom_finders/patrol_tester.dart:575)
        <asynchronous suspension>
        #1      PatrolTester.wrapWithPatrolLog (package:patrol_finders/src/custom_finders/patrol_tester.dart:168)
        <asynchronous suspension>
        #2      TestAsyncUtils.guard.<anonymous closure> (package:flutter_test/src/test_async_utils.dart:130)
        <asynchronous suspension>
        #3      _navigateToDevice (file:///<hidden>/patrol_test/e2e_test.dart:260)
        <asynchronous suspension>
        #4      main.<anonymous closure> (file:///<hidden>/patrol_test/e2e_test.dart:215)
        <asynchronous suspension>
        #5      patrolTest.<anonymous closure> (package:patrol/src/common.dart:165)
        <asynchronous suspension>
        #6      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:192)
        <asynchronous suspension>
        #7      PatrolBinding._wrapTestBodyWithExceptionGatherer (package:patrol/src/binding.dart:250)
        <asynchronous suspension>
        #8      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1059)
        <asynchronous suspension>
        #9      TestWidgetsFlutterBinding._createTestCompletionHandler.<anonymous closure> (package:flutter_test/src/binding.dart:814)
        <asynchronous suspension>
        
            t =    14.55s Tear Down
        2026-01-21 11:40:03.925 xcodebuild[63776:2588420] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
        Test Case '-[RunnerUITests e2e_test [e2e] remove device from project]' failed (14.794 seconds).
        Test Suite 'RunnerUITests' failed at 2026-01-21 11:40:04.030.
                 Executed 6 tests, with 5 failures (0 unexpected) in 94.634 (94.644) seconds
        Test Suite 'RunnerUITests.xctest' failed at 2026-01-21 11:40:04.033.
                 Executed 6 tests, with 5 failures (0 unexpected) in 94.634 (94.647) seconds
        Test Suite 'Selected tests' failed at 2026-01-21 11:40:04.034.
                 Executed 6 tests, with 5 failures (0 unexpected) in 94.634 (94.649) seconds
Password:

Patrol version

4.1.0

Patrol Doctor output

Patrol Doctor output
Patrol doctor:
Patrol CLI version: 4.0.2
Flutter command: flutter 
  Flutter 3.38.7 • channel stable

Flutter Doctor output

Flutter Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.38.7, on macOS 26.2 25C56 darwin-arm64, locale en-AT)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0)
[✓] Xcode - develop for iOS and macOS (Xcode 26.2)
[✓] Chrome - develop for the web
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions