Send "Key Pressed" events to native views #11
Triggered via issue
November 23, 2023 14:48
Status
Success
Total duration
12s
Artifacts
–
add-to-project.yaml
on: issues
Add issue to project
3s
Annotations
3 errors
Assertion Failure:
/Users/runner/work/patrol/patrol/packages/patrol/example/ios/RunnerUITests/RunnerUITests.m#L5
((response.passed) is true) failed - ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════
The following PatrolActionException was thrown running a test:
Patrol action failed: NativeAutomatorClientException: tap()
failed with Invalid response: 400 The operation couldn�t be
completed. (patrol.PatrolError error 0.)
When the exception was thrown, this was the stack:
#0 NativeAutomator._wrapRequest (package:patrol/src/native/native_automator.dart:225:7)
<asynchronous suspension>
#1 NativeAutomator.tap (package:patrol/src/native/native_automator.dart:494:5)
<asynchronous suspension>
#2 main.<anonymous closure> (file:///Users/runner/work/patrol/patrol/packages/patrol/example/integration_test/webview_hackernews_test.dart:9:5)
<asynchronous suspension>
#3 patrolTest.<anonymous closure> (package:patrol/src/common.dart:110:7)
<asynchronous suspension>
#4 testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:168:15)
<asynchronous suspension>
#5 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1013:5)
<asynchronous suspension>
#6 TestWidgetsFlutterBinding._createTestCompletionHandler.<anonymous closure> (package:flutter_test/src/binding.dart:804:12)
<asynchronous suspension>
The test description was:
interacts with the orange website in a webview
═════════════════════════════════════════════════════════════════
|
Assertion Failure:
/Users/runner/work/patrol/patrol/packages/patrol/example/ios/RunnerUITests/RunnerUITests.m#L5
((response.passed) is true) failed - ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════
The following PatrolActionException was thrown running a test:
Patrol action failed: NativeAutomatorClientException: tap()
failed with Invalid response: 400 The operation couldn�t be
completed. (patrol.PatrolError error 0.)
When the exception was thrown, this was the stack:
#0 NativeAutomator._wrapRequest (package:patrol/src/native/native_automator.dart:225:7)
<asynchronous suspension>
#1 NativeAutomator.tap (package:patrol/src/native/native_automator.dart:494:5)
<asynchronous suspension>
#2 main.<anonymous closure> (file:///Users/runner/work/patrol/patrol/packages/patrol/example/integration_test/webview_hackernews_test.dart:9:5)
<asynchronous suspension>
#3 patrolTest.<anonymous closure> (package:patrol/src/common.dart:110:7)
<asynchronous suspension>
#4 testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:168:15)
<asynchronous suspension>
#5 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1013:5)
<asynchronous suspension>
#6 TestWidgetsFlutterBinding._createTestCompletionHandler.<anonymous closure> (package:flutter_test/src/binding.dart:804:12)
<asynchronous suspension>
The test description was:
interacts with the orange website in a webview
═════════════════════════════════════════════════════════════════
|
Assertion Failure:
/Users/runner/work/patrol/patrol/packages/patrol/example/ios/RunnerUITests/RunnerUITests.m#L5
((response.passed) is true) failed - ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════���═══════════
The following WaitUntilVisibleTimeoutException was thrown running
a test:
TimeoutException after 0:00:10.000000: Finder "Found 0 widgets
with text containing RegExp: pattern=lat flags=: []" did not find
any visible (i.e. hit-testable) widgets
When the exception was thrown, this was the stack:
#0 PatrolTester.waitUntilVisible.<anonymous closure> (package:patrol_finders/src/custom_finders/patrol_tester.dart:404:11)
<asynchronous suspension>
#1 TestAsyncUtils.guard.<anonymous closure> (package:flutter_test/src/test_async_utils.dart:117:7)
<asynchronous suspension>
#2 main.<anonymous closure> (file:///Users/runner/work/patrol/patrol/packages/patrol/example/integration_test/permissions/permissions_location_test.dart:50:12)
<asynchronous suspension>
#3 patrolTest.<anonymous closure> (package:patrol/src/common.dart:110:7)
<asynchronous suspension>
#4 testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:168:15)
<asynchronous suspension>
#5 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1013:5)
<asynchronous suspension>
#6 TestWidgetsFlutterBinding._createTestCompletionHandler.<anonymous closure> (package:flutter_test/src/binding.dart:804:12)
<asynchronous suspension>
The test description was:
accepts location permission
═════════════════════════════════════════════════════════════════
|