Skip to content

Merge pull request #2166 from leancodepl/prepare-release #120

Merge pull request #2166 from leancodepl/prepare-release

Merge pull request #2166 from leancodepl/prepare-release #120

GitHub Actions / Patrol tests on iPhone 8 failed Mar 30, 2024 in 0s

Xcode test results

Test Runner

Summary

TotalSuccess PassedFailure FailedSkipped SkippedExpected Failure Expected Failure⏱️ Time
23221008.41s

Test Summary

RunnerUITests

  • Device: iPhone 8, 16.2 (20C52)
  • SDK: Simulator - iOS 16.2, 16.2
TestTotalSuccessFailureSkippedExpected Failure
test-class RunnerUITests2322100

Failure Failures

RunnerUITests/RunnerUITests/permissions.permissions_many_test grants various permissions

File/Users/runner/work/patrol/patrol/dev/e2e_app/ios/RunnerUITests/RunnerUITests.m:5
Issue TypeAssertion Failure
Message((passed) is true) failed - ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════ The following TestFailure was thrown running a test: Expected: 'Granted' Actual: 'Not granted' Which: is different. Expected: Granted Actual: Not grante ... ^ Differ at offset 0

When the exception was thrown, this was the stack:
#4 _requestAndGrantCameraPermission (file:///Users/runner/work/patrol/patrol/dev/e2e_app/integration_test/permissions/permissions_many_test.dart:29:3)

#5 main. (file:///Users/runner/work/patrol/patrol/dev/e2e_app/integration_test/permissions/permissions_many_test.dart:13:5)

#6 patrolTest. (package:patrol/src/common.dart:134:7)

#7 testWidgets.. (package:flutter_test/src/widget_tester.dart:168:15)

#8 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1013:5)

#9 TestWidgetsFlutterBinding._createTestCompletionHandler. (package:flutter_test/src/binding.dart:804:12)

This was caught by the test expectation on the following line:
file:///Users/runner/work/patrol/patrol/dev/e2e_app/integration_test/permissions/permissions_many_test.dart line 29
The test description was:
grants various permissions
═════════════════════════════════════════════════════════════════

Details

Test Details

RunnerUITestsback

RunnerUITests back

SuccessFailureSkippedExpected Failure⏱️
22 (96%)1 (4%)0 (0%)0 (0%)8.41s
Successtest-method example_test counter state is the same after going to Home and switching apps

Activities:
  • Start Test at 2024-03-30 12:13:48.241
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:22164
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Pressing Home button
  • Open pl.leancode.patrol.e2eApp
    • Activate pl.leancode.patrol.e2eApp
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Tear Down
Successtest-method internal.group_test at the beginning

Activities:
  • Start Test at 2024-03-30 12:14:01.345
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:22616
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Pressing Home button
  • Open pl.leancode.patrol.e2eApp
    • Activate pl.leancode.patrol.e2eApp
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Tear Down
Successtest-method internal.group_test top level group in file alpha first

Activities:
  • Start Test at 2024-03-30 12:14:12.453
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:22978
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Pressing Home button
  • Open pl.leancode.patrol.e2eApp
    • Activate pl.leancode.patrol.e2eApp
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Tear Down
Successtest-method internal.group_test top level group in file alpha second

Activities:
  • Start Test at 2024-03-30 12:14:23.124
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:23393
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Pressing Home button
  • Open pl.leancode.patrol.e2eApp
    • Activate pl.leancode.patrol.e2eApp
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Tear Down
Successtest-method internal.group_test top level group in file bravo first

Activities:
  • Start Test at 2024-03-30 12:14:34.029
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:23957
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Pressing Home button
  • Open pl.leancode.patrol.e2eApp
    • Activate pl.leancode.patrol.e2eApp
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Tear Down
Successtest-method internal.group_test top level group in file bravo second

Activities:
  • Start Test at 2024-03-30 12:14:45.051
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:24470
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Pressing Home button
  • Open pl.leancode.patrol.e2eApp
    • Activate pl.leancode.patrol.e2eApp
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Tear Down
Successtest-method internal.group_test top level group in file in the middle

Activities:
  • Start Test at 2024-03-30 12:14:56.562
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:24768
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Pressing Home button
  • Open pl.leancode.patrol.e2eApp
    • Activate pl.leancode.patrol.e2eApp
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Tear Down
Successtest-method internal.long_name_test aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Activities:
  • Start Test at 2024-03-30 12:15:07.580
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:25133
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Pressing Home button
  • Open pl.leancode.patrol.e2eApp
    • Activate pl.leancode.patrol.e2eApp
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Tear Down
Successtest-method internal.long_name_test alphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaa

Activities:
  • Start Test at 2024-03-30 12:15:20.709
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:25708
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Tear Down
Successtest-method internal.long_name_test kocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykk

Activities:
  • Start Test at 2024-03-30 12:15:28.167
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:26206
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Tear Down
Successtest-method macos.macos_app_test taps around

Activities:
  • Start Test at 2024-03-30 12:15:35.683
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:26652
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Tear Down
Successtest-method open_app_test open browser

Activities:
  • Start Test at 2024-03-30 12:15:56.253
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:26923
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Pressing Home button
  • Open com.apple.mobilesafari
    • Launch com.apple.mobilesafari
      • Setting up automation session
      • Wait for com.apple.mobilesafari to idle
  • Pressing Home button
  • Open pl.leancode.patrol.e2eApp
    • Activate pl.leancode.patrol.e2eApp
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Tear Down
Successtest-method open_app_test open maps

Activities:
  • Start Test at 2024-03-30 12:16:11.509
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:27667
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Pressing Home button
  • Open com.apple.Maps
    • Launch com.apple.Maps
      • Setting up automation session
      • Wait for com.apple.Maps to idle
  • Pressing Home button
  • Open pl.leancode.patrol.e2eApp
    • Activate pl.leancode.patrol.e2eApp
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Tear Down
Successtest-method open_quick_settings_test opens quick settings

Activities:
  • Start Test at 2024-03-30 12:16:29.725
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:28275
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Press Application 'com.apple.springboard'[0.90, 0.01] for 0.1 seconds, then drag to Application 'com.apple.springboard'[0.90, 0.20] with velocity of 500.00 pixels per second, and then hold for 0.0 seconds
    • Wait for com.apple.springboard to idle
    • Find the Application 'com.apple.springboard'
    • Check for interrupting elements affecting " " Application
      • Wait for pl.leancode.patrol.e2eApp to idle
    • Synthesize event
      • Find the Application 'com.apple.springboard'
      • Find the Application 'com.apple.springboard'
    • Wait for com.apple.springboard to idle
  • Pressing Home button
  • Tear Down
Successtest-method permissions.deny_many_permissions_twice_test denies various permissions

Activities:
  • Start Test at 2024-03-30 12:16:38.345
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:29127
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow once" Button
  • Checking existence of "Allow While Using App" Button
  • Checking existence of "Don’t Allow" Button
  • Checking existence of "OK" Button
  • Waiting 20.0s for "Don’t Allow" Button to exist
    • Checking Expect predicate exists == 1 for object "Don’t Allow" Button
      • Checking existence of "Don’t Allow" Button
  • Tap "Don’t Allow" Button
    • Wait for com.apple.springboard to idle
    • Find the "Don’t Allow" Button
    • Check for interrupting elements affecting "Don’t Allow" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow once" Button
  • Checking existence of "Allow While Using App" Button
  • Checking existence of "Don’t Allow" Button
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow once" Button
  • Checking existence of "Allow While Using App" Button
  • Checking existence of "Don’t Allow" Button
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow once" Button
  • Checking existence of "Allow While Using App" Button
  • Checking existence of "Don’t Allow" Button
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow once" Button
  • Checking existence of "Allow While Using App" Button
  • Checking existence of "Don’t Allow" Button
  • Checking existence of "OK" Button
  • Waiting 20.0s for "Don’t Allow" Button to exist
    • Checking Expect predicate exists == 1 for object "Don’t Allow" Button
      • Checking existence of "Don’t Allow" Button
  • Tap "Don’t Allow" Button
    • Wait for com.apple.springboard to idle
    • Find the "Don’t Allow" Button
    • Check for interrupting elements affecting "Don’t Allow" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow once" Button
  • Checking existence of "Allow While Using App" Button
  • Checking existence of "Don’t Allow" Button
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow once" Button
  • Checking existence of "Allow While Using App" Button
  • Checking existence of "Don’t Allow" Button
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow once" Button
  • Checking existence of "Allow While Using App" Button
  • Checking existence of "Don’t Allow" Button
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow once" Button
  • Checking existence of "Allow While Using App" Button
  • Checking existence of "Don’t Allow" Button
  • Checking existence of "OK" Button
  • Waiting 20.0s for "Don’t Allow" Button to exist
    • Checking Expect predicate exists == 1 for object "Don’t Allow" Button
      • Checking existence of "Don’t Allow" Button
  • Tap "Don’t Allow" Button
    • Wait for com.apple.springboard to idle
    • Find the "Don’t Allow" Button
    • Check for interrupting elements affecting "Don’t Allow" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow once" Button
  • Checking existence of "Allow While Using App" Button
  • Checking existence of "Don’t Allow" Button
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow once" Button
  • Checking existence of "Allow While Using App" Button
  • Checking existence of "Don’t Allow" Button
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow once" Button
  • Checking existence of "Allow While Using App" Button
  • Checking existence of "Don’t Allow" Button
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow once" Button
  • Checking existence of "Allow While Using App" Button
  • Checking existence of "Don’t Allow" Button
  • Tear Down
Successtest-method permissions.notifications_test taps on notification

Activities:
  • Start Test at 2024-03-30 12:17:13.628
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:29351
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Tap "Allow" Button
    • Wait for com.apple.springboard to idle
    • Find the "Allow" Button
    • Check for interrupting elements affecting "Allow" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Get all elements bound by index for: Elements matching predicate 'label == "Allow setting alarms and reminders" OR title == "Allow setting alarms and reminders"'
  • Pressing Home button
  • Press Application 'com.apple.springboard'[0.50, 0.01] for 0.1 seconds, then drag to Application 'com.apple.springboard'[0.50, 0.60] with velocity of 500.00 pixels per second, and then hold for 0.0 seconds
    • Wait for com.apple.springboard to idle
    • Find the Application 'com.apple.springboard'
    • Check for interrupting elements affecting " " Application
      • Wait for pl.leancode.patrol.e2eApp to idle
    • Synthesize event
      • Find the Application 'com.apple.springboard'
      • Find the Application 'com.apple.springboard'
    • Wait for com.apple.springboard to idle
  • Get all elements bound by index for: Elements matching predicate 'identifier == "NotificationCell" AND label CONTAINS "Someone liked"'
  • Checking existence of Button
  • Double tap Button
    • Wait for com.apple.springboard to idle
    • Find the Button
    • Check for interrupting elements affecting "NotificationCell" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Tap "Open" Button
    • Wait for com.apple.springboard to idle
    • Find the "Open" Button
    • Check for interrupting elements affecting "swipe-action-button-identifier" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Tear Down
Successtest-method permissions.notifications_test taps on notification native2

Activities:
  • Start Test at 2024-03-30 12:17:33.376
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:30946
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow once" Button
  • Checking existence of "Allow While Using App" Button
  • Checking existence of "Don’t Allow" Button
  • Pressing Home button
  • Press Application 'com.apple.springboard'[0.50, 0.01] for 0.1 seconds, then drag to Application 'com.apple.springboard'[0.50, 0.60] with velocity of 500.00 pixels per second, and then hold for 0.0 seconds
    • Wait for com.apple.springboard to idle
    • Find the Application 'com.apple.springboard'
    • Check for interrupting elements affecting " " Application
      • Wait for pl.leancode.patrol.e2eApp to idle
    • Synthesize event
      • Find the Application 'com.apple.springboard'
      • Find the Application 'com.apple.springboard'
    • Wait for com.apple.springboard to idle
  • Get all elements bound by index for: Elements matching predicate 'identifier == "NotificationCell" AND label CONTAINS "Someone liked"'
  • Checking existence of Button
  • Double tap Button
    • Wait for com.apple.springboard to idle
    • Find the Button
    • Check for interrupting elements affecting "NotificationCell" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Tap "Open" Button
    • Wait for com.apple.springboard to idle
    • Find the "Open" Button
    • Check for interrupting elements affecting "swipe-action-button-identifier" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Tear Down
Successtest-method permissions.permissions_location_test accepts location permission

Activities:
  • Start Test at 2024-03-30 12:17:52.227
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:32077
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow once" Button
  • Checking existence of "Allow While Using App" Button
  • Checking existence of "Don’t Allow" Button
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow once" Button
  • Checking existence of "Allow While Using App" Button
  • Waiting 20.0s for "Precise: On" Button to exist
    • Checking Expect predicate exists == 1 for object "Precise: On" Button
      • Checking existence of "Precise: On" Button
  • Tap "Precise: On" Button
    • Wait for com.apple.springboard to idle
    • Find the "Precise: On" Button
    • Check for interrupting elements affecting "Precise: On" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Waiting 20.0s for "Precise: Off" Button to exist
    • Checking Expect predicate exists == 1 for object "Precise: Off" Button
      • Checking existence of "Precise: Off" Button
  • Tap "Precise: Off" Button
    • Wait for com.apple.springboard to idle
    • Find the "Precise: Off" Button
    • Check for interrupting elements affecting "Precise: Off" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Waiting 20.0s for "Precise: On" Button to exist
    • Checking Expect predicate exists == 1 for object "Precise: On" Button
      • Checking existence of "Precise: On" Button
  • Tap "Precise: On" Button
    • Wait for com.apple.springboard to idle
    • Find the "Precise: On" Button
    • Check for interrupting elements affecting "Precise: On" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Waiting 20.0s for "Precise: Off" Button to exist
    • Checking Expect predicate exists == 1 for object "Precise: Off" Button
      • Checking existence of "Precise: Off" Button
  • Tap "Precise: Off" Button
    • Wait for com.apple.springboard to idle
    • Find the "Precise: Off" Button
    • Check for interrupting elements affecting "Precise: Off" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow Once" Button
  • Tap "Allow Once" Button
    • Wait for com.apple.springboard to idle
    • Find the "Allow Once" Button
    • Check for interrupting elements affecting "Allow Once" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Tear Down
Successtest-method permissions.permissions_location_test accepts location permission native2

Activities:
  • Start Test at 2024-03-30 12:18:13.357
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:32658
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow once" Button
  • Checking existence of "Allow While Using App" Button
  • Waiting 20.0s for "Precise: On" Button to exist
    • Checking Expect predicate exists == 1 for object "Precise: On" Button
      • Checking existence of "Precise: On" Button
  • Tap "Precise: On" Button
    • Wait for com.apple.springboard to idle
    • Find the "Precise: On" Button
    • Check for interrupting elements affecting "Precise: On" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Waiting 20.0s for "Precise: Off" Button to exist
    • Checking Expect predicate exists == 1 for object "Precise: Off" Button
      • Checking existence of "Precise: Off" Button
  • Tap "Precise: Off" Button
    • Wait for com.apple.springboard to idle
    • Find the "Precise: Off" Button
    • Check for interrupting elements affecting "Precise: Off" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Waiting 20.0s for "Precise: On" Button to exist
    • Checking Expect predicate exists == 1 for object "Precise: On" Button
      • Checking existence of "Precise: On" Button
  • Tap "Precise: On" Button
    • Wait for com.apple.springboard to idle
    • Find the "Precise: On" Button
    • Check for interrupting elements affecting "Precise: On" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Waiting 20.0s for "Precise: Off" Button to exist
    • Checking Expect predicate exists == 1 for object "Precise: Off" Button
      • Checking existence of "Precise: Off" Button
  • Tap "Precise: Off" Button
    • Wait for com.apple.springboard to idle
    • Find the "Precise: Off" Button
    • Check for interrupting elements affecting "Precise: Off" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Checking existence of "OK" Button
  • Checking existence of "Allow" Button
  • Checking existence of "Allow Once" Button
  • Tap "Allow Once" Button
    • Wait for com.apple.springboard to idle
    • Find the "Allow Once" Button
    • Check for interrupting elements affecting "Allow Once" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Tear Down
Failuretest-method permissions.permissions_many_test grants various permissionsback

Activities:
  • Start Test at 2024-03-30 12:18:32.993

    attachment
  • Set Up

  • Open pl.leancode.patrol.e2eApp

    attachment
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:33681

        attachment
      • Setting up automation session

      • Wait for pl.leancode.patrol.e2eApp to idle

        attachment
  • Checking existence of "OK" Button

  • Checking existence of "Allow" Button

  • Checking existence of "Allow once" Button

  • Checking existence of "Allow While Using App" Button

  • Checking existence of "Don’t Allow" Button

  • Checking existence of "OK" Button

  • Checking existence of "Allow" Button

  • Checking existence of "Allow once" Button

  • Checking existence of "Allow While Using App" Button

  • Checking existence of "Don’t Allow" Button

  • Checking existence of "OK" Button

  • Checking existence of "Allow" Button

  • Checking existence of "Allow once" Button

  • Checking existence of "Allow While Using App" Button

  • Checking existence of "Don’t Allow" Button

  • Checking existence of "OK" Button

  • Checking existence of "Allow" Button

  • Checking existence of "Allow once" Button

  • Checking existence of "Allow While Using App" Button

  • Checking existence of "Don’t Allow" Button

  • Tear Down

Successtest-method service_dark_mode_test disables and enables dark mode twice

Activities:
  • Start Test at 2024-03-30 12:18:48.077
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:34597
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Open com.apple.springboard
    • Activate com.apple.springboard
      • Wait for com.apple.springboard to idle
  • Open com.apple.Preferences
    • Launch com.apple.Preferences
      • Setting up automation session
      • Wait for com.apple.Preferences to idle
  • Tap "Developer" Any
    • Wait for com.apple.Preferences to idle
    • Find the "Developer" Any
    • Check for interrupting elements affecting "Developer" Cell
    • Synthesize event
      • Scroll element to visible
      • Find the "Developer" Cell
      • Computed hit point {187.5, 528.5} after scrolling to visible
    • Wait for com.apple.Preferences to idle
  • Find the "Dark Appearance" Any
  • Open com.apple.springboard
    • Activate com.apple.springboard
      • Wait for com.apple.springboard to idle
  • Terminate com.apple.Preferences:35445
  • Open pl.leancode.patrol.e2eApp
    • Activate pl.leancode.patrol.e2eApp
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Open com.apple.springboard
    • Activate com.apple.springboard
      • Wait for com.apple.springboard to idle
  • Open com.apple.Preferences
    • Launch com.apple.Preferences
      • Setting up automation session
      • Wait for com.apple.Preferences to idle
  • Tap "Developer" Any
    • Wait for com.apple.Preferences to idle
    • Find the "Developer" Any
    • Check for interrupting elements affecting "Developer" Cell
    • Synthesize event
      • Scroll element to visible
      • Find the "Developer" Cell
      • Computed hit point {187.5, 528.5} after scrolling to visible
    • Wait for com.apple.Preferences to idle
  • Find the "Dark Appearance" Any
  • Tap "Dark Appearance" Any
    • Wait for com.apple.Preferences to idle
    • Find the "Dark Appearance" Any
    • Check for interrupting elements affecting "Dark Appearance" Cell
    • Synthesize event
    • Wait for com.apple.Preferences to idle
  • Open com.apple.springboard
    • Activate com.apple.springboard
      • Wait for com.apple.springboard to idle
  • Terminate com.apple.Preferences:35924
  • Open pl.leancode.patrol.e2eApp
    • Activate pl.leancode.patrol.e2eApp
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Open com.apple.springboard
    • Activate com.apple.springboard
      • Wait for com.apple.springboard to idle
  • Open com.apple.Preferences
    • Launch com.apple.Preferences
      • Setting up automation session
      • Wait for com.apple.Preferences to idle
  • Tap "Developer" Any
    • Wait for com.apple.Preferences to idle
    • Find the "Developer" Any
    • Check for interrupting elements affecting "Developer" Cell
    • Synthesize event
      • Scroll element to visible
      • Find the "Developer" Cell
      • Computed hit point {187.5, 528.5} after scrolling to visible
    • Wait for com.apple.Preferences to idle
  • Find the "Dark Appearance" Any
  • Tap "Dark Appearance" Any
    • Wait for com.apple.Preferences to idle
    • Find the "Dark Appearance" Any
    • Check for interrupting elements affecting "Dark Appearance" Cell
    • Synthesize event
    • Wait for com.apple.Preferences to idle
  • Open com.apple.springboard
    • Activate com.apple.springboard
      • Wait for com.apple.springboard to idle
  • Terminate com.apple.Preferences:35998
  • Open pl.leancode.patrol.e2eApp
    • Activate pl.leancode.patrol.e2eApp
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Open com.apple.springboard
    • Activate com.apple.springboard
      • Wait for com.apple.springboard to idle
  • Open com.apple.Preferences
    • Launch com.apple.Preferences
      • Setting up automation session
      • Wait for com.apple.Preferences to idle
  • Tap "Developer" Any
    • Wait for com.apple.Preferences to idle
    • Find the "Developer" Any
    • Check for interrupting elements affecting "Developer" Cell
    • Synthesize event
      • Scroll element to visible
      • Find the "Developer" Cell
      • Computed hit point {187.5, 528.5} after scrolling to visible
    • Wait for com.apple.Preferences to idle
  • Find the "Dark Appearance" Any
  • Tap "Dark Appearance" Any
    • Wait for com.apple.Preferences to idle
    • Find the "Dark Appearance" Any
    • Check for interrupting elements affecting "Dark Appearance" Cell
    • Synthesize event
    • Wait for com.apple.Preferences to idle
  • Open com.apple.springboard
    • Activate com.apple.springboard
      • Wait for com.apple.springboard to idle
  • Terminate com.apple.Preferences:36527
  • Open pl.leancode.patrol.e2eApp
    • Activate pl.leancode.patrol.e2eApp
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Tear Down
Successtest-method swipe_test scrolls the Settings app

Activities:
  • Start Test at 2024-03-30 12:19:30.668
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:35391
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Open com.apple.Preferences
    • Launch com.apple.Preferences
      • Setting up automation session
      • Wait for com.apple.Preferences to idle
  • Press Application 'com.apple.Preferences'[0.50, 0.80] for 0.1 seconds, then drag to Application 'com.apple.Preferences'[0.80, 0.20] with velocity of 500.00 pixels per second, and then hold for 0.0 seconds
    • Wait for com.apple.Preferences to idle
    • Find the Application 'com.apple.Preferences'
    • Check for interrupting elements affecting "Settings" Application
    • Synthesize event
      • Find the Application 'com.apple.Preferences'
      • Find the Application 'com.apple.Preferences'
    • Wait for com.apple.Preferences to idle
  • Tear Down
Successtest-method tap_at_test taps at the lower middle of the screen in the Settings app

Activities:
  • Start Test at 2024-03-30 12:19:43.436
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.e2eApp
    • Launch pl.leancode.patrol.e2eApp
      • Terminate pl.leancode.patrol.e2eApp:37028
      • Setting up automation session
      • Wait for pl.leancode.patrol.e2eApp to idle
  • Open com.apple.Preferences
    • Activate com.apple.Preferences
      • Wait for com.apple.Preferences to idle
  • Tap Application 'com.apple.Preferences'[0.50, 0.80]
    • Wait for com.apple.Preferences to idle
    • Find the Application 'com.apple.Preferences'
    • Check for interrupting elements affecting "Settings" Application
      • Wait for pl.leancode.patrol.e2eApp to idle
    • Synthesize event
      • Find the Application 'com.apple.Preferences'
    • Wait for com.apple.Preferences to idle
  • Tear Down

Annotations

Check failure on line 5 in /Users/runner/work/patrol/patrol/dev/e2e_app/ios/RunnerUITests/RunnerUITests.m

See this annotation in the file changed.

@github-actions github-actions / Patrol tests on iPhone 8

Assertion Failure

((passed) is true) failed - ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════
The following TestFailure was thrown running a test:
Expected: 'Granted'
  Actual: 'Not granted'
   Which: is different.
          Expected: Granted
            Actual: Not grante ...
                    ^
           Differ at offset 0

When the exception was thrown, this was the stack:
#4      _requestAndGrantCameraPermission (file:///Users/runner/work/patrol/patrol/dev/e2e_app/integration_test/permissions/permissions_many_test.dart:29:3)
<asynchronous suspension>
#5      main.<anonymous closure> (file:///Users/runner/work/patrol/patrol/dev/e2e_app/integration_test/permissions/permissions_many_test.dart:13:5)
<asynchronous suspension>
#6      patrolTest.<anonymous closure> (package:patrol/src/common.dart:134:7)
<asynchronous suspension>
#7      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:168:15)
<asynchronous suspension>
#8      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1013:5)
<asynchronous suspension>
#9      TestWidgetsFlutterBinding._createTestCompletionHandler.<anonymous closure> (package:flutter_test/src/binding.dart:804:12)
<asynchronous suspension>

This was caught by the test expectation on the following line:
  file:///Users/runner/work/patrol/patrol/dev/e2e_app/integration_test/permissions/permissions_many_test.dart line 29
The test description was:
  grants various permissions
═════════════════════════════════════════════════════════════════