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 14 failed Apr 1, 2024 in 0s

Xcode test results

Test Runner

Summary

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

Test Summary

RunnerUITests

  • Device: iPhone 14, 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%)10.63s
Successtest-method example_test counter state is the same after going to Home and switching apps

Activities:
  • Start Test at 2024-04-01 12:12:29.278
  • 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:16655
      • 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-04-01 12:12:45.479
  • 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:17046
      • 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-04-01 12:12:58.277
  • 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:17342
      • 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-04-01 12:13:11.481
  • 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:17605
      • 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-04-01 12:13:26.274
  • 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:18196
      • 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-04-01 12:13:40.154
  • 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:18745
      • 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-04-01 12:13:53.287
  • 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:19228
      • 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-04-01 12:14:06.390
  • 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:19706
      • 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-04-01 12:14:21.149
  • 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:20195
      • 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-04-01 12:14:29.489
  • 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:20771
      • 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-04-01 12:14:37.731
  • 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:21345
      • 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-04-01 12:15:02.150
  • 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:21559
      • 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-04-01 12:15:27.042
  • 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:22346
      • 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-04-01 12:15:55.587
  • 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:23135
      • 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-04-01 12:16:05.743
  • 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:23849
      • 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-04-01 12:16:45.403
  • 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:24062
      • 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
    • 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-04-01 12:17:08.811
  • 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:25759
      • 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
    • 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-04-01 12:17:33.009
  • 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:26300
      • 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-04-01 12:17:55.755
  • 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:27284
      • 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-04-01 12:18:16.584

    attachment
  • Set Up

  • Open pl.leancode.patrol.e2eApp

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

        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-04-01 12:18:31.413
  • 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:29461
      • 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 {195, 671.66666793823242} 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:30440
  • 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 {195, 671.66666793823242} 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:30509
  • 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 {195, 671.66666793823242} 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:30988
  • 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 {195, 671.66666793823242} 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:31532
  • 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-04-01 12:19:23.856
  • 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:29986
      • 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-04-01 12:19:37.796
  • 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:31811
      • 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
    • 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 14

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
═════════════════════════════════════════════════════════════════