Created
May 7, 2026 08:16
-
-
Save cdeil/eebb16791d623a183b13c519550fd76e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cdeil@kMac test123 % time patrol test --device chrome --target patrol_test/login_test.dart | |
| Error: target file patrol_test/login_test.dart does not exist | |
| patrol test --device chrome --target patrol_test/login_test.dart 0.20s user 0.08s system 55% cpu 0.510 total | |
| cdeil@kMac test123 % mkdir patrol_test | |
| cdeil@kMac test123 % touch patrol_test/login_test.dart | |
| cdeil@kMac test123 % time patrol test --device chrome --target patrol_test/login_test.dart | |
| Unhandled exception: | |
| Error: Failed to read patrol version. Make sure you have patrol dependency in your pubspec.yaml file | |
| #0 throwToolExit (package:patrol_cli/src/base/exceptions.dart:7:3) | |
| #1 CompatibilityChecker.checkVersionsCompatibility.<anonymous closure>.<anonymous closure> (package:patrol_cli/src/compatibility_checker/compatibility_checker.dart:101:17) | |
| #2 _RootZone.runGuarded (dart:async/zone.dart:879:10) | |
| #3 _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:434:13) | |
| #4 _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:444:7) | |
| #5 _BufferingStreamSubscription._close (dart:async/stream_impl.dart:333:7) | |
| #6 _SinkTransformerStreamSubscription._close (dart:async/stream_transformers.dart:91:11) | |
| #7 _EventSinkWrapper.close (dart:async/stream_transformers.dart:21:11) | |
| #8 _StringAdapterSink.close (dart:convert/string_conversion.dart:241:11) | |
| #9 _LineSplitterSink.close (dart:convert/line_splitter.dart:144:11) | |
| #10 _SinkTransformerStreamSubscription._handleDone (dart:async/stream_transformers.dart:136:24) | |
| #11 _RootZone.runGuarded (dart:async/zone.dart:879:10) | |
| #12 _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:434:13) | |
| #13 _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:444:7) | |
| #14 _BufferingStreamSubscription._close (dart:async/stream_impl.dart:333:7) | |
| #15 _SinkTransformerStreamSubscription._close (dart:async/stream_transformers.dart:91:11) | |
| #16 _EventSinkWrapper.close (dart:async/stream_transformers.dart:21:11) | |
| #17 _StringAdapterSink.close (dart:convert/string_conversion.dart:241:11) | |
| #18 _Utf8ConversionSink.close (dart:convert/string_conversion.dart:301:20) | |
| #19 _ConverterStreamEventSink.close (dart:convert/chunked_conversion.dart:79:18) | |
| #20 _SinkTransformerStreamSubscription._handleDone (dart:async/stream_transformers.dart:136:24) | |
| #21 _RootZone.runGuarded (dart:async/zone.dart:879:10) | |
| #22 _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:434:13) | |
| #23 _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:444:7) | |
| #24 _BufferingStreamSubscription._close (dart:async/stream_impl.dart:333:7) | |
| #25 _SyncStreamControllerDispatch._sendDone (dart:async/stream_controller.dart:806:19) | |
| #26 _StreamController._closeUnchecked (dart:async/stream_controller.dart:652:7) | |
| #27 _StreamController.close (dart:async/stream_controller.dart:645:5) | |
| #28 _Socket._onData (dart:io-patch/socket_patch.dart:2881:21) | |
| #29 _RootZone.runUnaryGuarded (dart:async/zone.dart:891:10) | |
| #30 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381:11) | |
| #31 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:312:7) | |
| #32 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:798:19) | |
| #33 _StreamController._add (dart:async/stream_controller.dart:663:7) | |
| #34 _StreamController.add (dart:async/stream_controller.dart:618:5) | |
| #35 new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:2319:33) | |
| #36 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1640:18) | |
| #37 _microtaskLoop (dart:async/schedule_microtask.dart:40:35) | |
| #38 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5) | |
| #39 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:127:13) | |
| #40 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:194:5) | |
| patrol test --device chrome --target patrol_test/login_test.dart 1.17s user 0.60s system 24% cpu 7.255 total | |
| cdeil@kMac test123 % git status | |
| On branch main | |
| Untracked files: | |
| (use "git add <file>..." to include in what will be committed) | |
| patrol_test/ | |
| test_bundle.dart | |
| nothing added to commit but untracked files present (use "git add" to track) | |
| cdeil@kMac test123 % flutter pub add patrol --dev | |
| Resolving dependencies... | |
| Downloading packages... | |
| + dispose_scope 2.1.0 | |
| + equatable 2.0.8 | |
| + http 1.6.0 | |
| + http_parser 4.1.2 | |
| + json_annotation 4.11.0 | |
| matcher 0.12.19 (0.12.20 available) | |
| meta 1.17.0 (1.18.2 available) | |
| + patrol 4.5.0 | |
| + patrol_finders 3.2.0 | |
| + patrol_log 0.8.0 | |
| + shelf 1.4.2 | |
| test_api 0.7.10 (0.7.12 available) | |
| + typed_data 1.4.0 | |
| vector_math 2.2.0 (2.3.0 available) | |
| + web 1.1.1 | |
| Changed 11 dependencies! | |
| 4 packages have newer versions incompatible with dependency constraints. | |
| Try `flutter pub outdated` for more information. | |
| cdeil@kMac test123 % time patrol test --device chrome --target patrol_test/login_test.dart | |
| Building Flutter web app... | |
| Flutter process exited unexpectedly with code 1 | |
| See the logs above to learn what happened. Also consider running with --verbose. If the logs still aren't useful, then it's a bug - please report it. | |
| patrol test --device chrome --target patrol_test/login_test.dart 2.28s user 0.98s system 18% cpu 17.421 total | |
| cdeil@kMac test123 % code . | |
| cdeil@kMac test123 % time patrol test --device chrome --target patrol_test/login_test.dart | |
| Building Flutter web app... | |
| Web server started at: http://localhost:52621 | |
| Running Playwright tests against: http://localhost:52621 | |
| Installing Node.js dependencies... | |
| Node.js dependencies installed successfully. | |
| Installing Playwright dependencies... | |
| π§ͺ login_test counter state is the same after going to home and switching apps | |
| β counter state is the same after going to home and switching apps (/login_test.dart) (0s) | |
| βββ‘ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ββββββββββββββββββ | |
| The following UnsupportedError was thrown running a test: | |
| Unsupported operation: Platform._operatingSystem | |
| When the exception was thrown, this was the stack: | |
| dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 274:3 throw_ | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 251:5 _operatingSystem | |
| dart-sdk/lib/io/platform_impl.dart 59:40 get operatingSystem | |
| dart-sdk/lib/io/platform.dart 84:44 get operatingSystem | |
| dart-sdk/lib/io/platform.dart 152:48 get isMacOS | |
| patrol_test/login_test.dart 22:21 <fn> | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 623:19 <fn> | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 648:23 <fn> | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 594:19 <fn> | |
| dart-sdk/lib/async/zone_root.dart 48:47 _rootRunUnary | |
| dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear | |
| dart-sdk/lib/async/zone.dart 733:19 runUnary | |
| dart-sdk/lib/async/future_impl.dart 222:18 handleValue | |
| dart-sdk/lib/async/future_impl.dart 948:44 handleValueCallback | |
| dart-sdk/lib/async/future_impl.dart 977:13 _propagateToListeners | |
| dart-sdk/lib/async/future_impl.dart 720:5 [_completeWithValue] | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 504:7 complete | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 571:12 _asyncReturn | |
| package:patrol_finders/src/custom_finders/patrol_tester.dart 261:3 <fn> | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 623:19 <fn> | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 648:23 <fn> | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 594:19 <fn> | |
| dart-sdk/lib/async/zone_root.dart 48:47 _rootRunUnary | |
| dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear | |
| dart-sdk/lib/async/zone.dart 733:19 runUnary | |
| dart-sdk/lib/async/future_impl.dart 222:18 handleValue | |
| dart-sdk/lib/async/future_impl.dart 948:44 handleValueCallback | |
| dart-sdk/lib/async/future_impl.dart 977:13 _propagateToListeners | |
| dart-sdk/lib/async/future_impl.dart 720:5 [_completeWithValue] | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 504:7 complete | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 571:12 _asyncReturn | |
| package:patrol_finders/src/custom_finders/patrol_tester.dart 915:3 <fn> | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 623:19 <fn> | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 648:23 <fn> | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 594:19 <fn> | |
| dart-sdk/lib/async/zone_root.dart 48:47 _rootRunUnary | |
| dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear | |
| dart-sdk/lib/async/zone.dart 733:19 runUnary | |
| dart-sdk/lib/async/future_impl.dart 222:18 handleValue | |
| dart-sdk/lib/async/future_impl.dart 948:44 handleValueCallback | |
| dart-sdk/lib/async/future_impl.dart 977:13 _propagateToListeners | |
| dart-sdk/lib/async/future_impl.dart 720:5 [_completeWithValue] | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 504:7 complete | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 571:12 _asyncReturn | |
| package:patrol_finders/src/custom_finders/patrol_tester.dart 217:3 <fn> | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 623:19 <fn> | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 648:23 <fn> | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 594:19 <fn> | |
| dart-sdk/lib/async/zone_root.dart 48:47 _rootRunUnary | |
| dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear | |
| dart-sdk/lib/async/zone.dart 733:19 runUnary | |
| dart-sdk/lib/async/future_impl.dart 222:18 handleValue | |
| dart-sdk/lib/async/future_impl.dart 948:44 handleValueCallback | |
| dart-sdk/lib/async/future_impl.dart 977:13 _propagateToListeners | |
| dart-sdk/lib/async/future_impl.dart 720:5 [_completeWithValue] | |
| dart-sdk/lib/async/future_impl.dart 804:7 <fn> | |
| dart-sdk/lib/async/zone_root.dart 35:13 _rootRun | |
| dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear | |
| dart-sdk/lib/async/zone.dart 726:19 run | |
| dart-sdk/lib/async/zone.dart 625:7 runGuarded | |
| dart-sdk/lib/async/zone.dart 666:23 <fn> | |
| dart-sdk/lib/async/schedule_microtask.dart 40:34 _microtaskLoop | |
| dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop | |
| dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear | |
| dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 188:69 <fn> | |
| The test description was: | |
| counter state is the same after going to home and switching | |
| apps | |
| βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| Test summary: | |
| π Total: 1 | |
| β Successful: 0 | |
| β Failed: 1 | |
| - counter state is the same after going to home and switching apps (/login_test.dart) | |
| β© Skipped: 0 | |
| π Report: /Users/cdeil/temp/test123/playwright-report | |
| β±οΈ Duration: 6s | |
| Some tests failed. | |
| See the logs above to learn what happened. Also consider running with --verbose. If the logs still aren't useful, then it's a bug - please report it. | |
| patrol test --device chrome --target patrol_test/login_test.dart 10.90s user 3.44s system 54% cpu 26.271 total | |
| cdeil@kMac test123 % time patrol test --device chrome --target patrol_test/login_test.dart | |
| Building Flutter web app... | |
| Web server started at: http://localhost:52966 | |
| Running Playwright tests against: http://localhost:52966 | |
| Installing Node.js dependencies... | |
| Node.js dependencies installed successfully. | |
| Installing Playwright dependencies... | |
| β counter state is the same after going to home and switching apps (/login_test.dart) (0s) | |
| Test summary: | |
| π Total: 1 | |
| β Successful: 1 | |
| β Failed: 0 | |
| β© Skipped: 0 | |
| π Report: /Users/cdeil/temp/test123/playwright-report | |
| β±οΈ Duration: 5s | |
| patrol test --device chrome --target patrol_test/login_test.dart 10.51s user 3.31s system 63% cpu 21.714 total | |
| cdeil@kMac test123 % git status | |
| On branch main | |
| Changes not staged for commit: | |
| (use "git add <file>..." to update what will be committed) | |
| (use "git restore <file>..." to discard changes in working directory) | |
| modified: ios/Flutter/Debug.xcconfig | |
| modified: ios/Flutter/Release.xcconfig | |
| modified: macos/Flutter/Flutter-Debug.xcconfig | |
| modified: macos/Flutter/Flutter-Release.xcconfig | |
| modified: macos/Flutter/GeneratedPluginRegistrant.swift | |
| modified: pubspec.lock | |
| modified: pubspec.yaml | |
| Untracked files: | |
| (use "git add <file>..." to include in what will be committed) | |
| ios/Podfile | |
| macos/Podfile | |
| patrol_test/ | |
| playwright-report/ | |
| test-results/ | |
| test_bundle.dart | |
| no changes added to commit (use "git add" and/or "git commit -a") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment