Skip to content

Send "Key Pressed" events to native views #11

Send "Key Pressed" events to native views

Send "Key Pressed" events to native views #11

GitHub Actions / Patrol tests on iPad (9th generation) succeeded Nov 28, 2023 in 0s

Xcode test results

Test Runner

Summary

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

Test Summary

RunnerUITests

  • Device: iPad (9th generation), 16.2 (20C52)
  • SDK: Simulator - iOS 16.2, 16.2
TestTotalSuccessFailureSkippedExpected Failure
test-class RunnerUITests1818000

Failure Failures

All tests passed 🎉

Details

Test Details

RunnerUITestsback

RunnerUITests back

SuccessFailureSkippedExpected Failure⏱️
18 (100%)0 (0%)0 (0%)0 (0%)14.54s
Successtest-method exampleTest___counterStateIsTheSameAfterGoingToHomeAndSwitchingApps

Activities:
  • Start Test at 2023-11-28 12:26:40.208
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:9096
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example to idle
  • Pressing Home button
  • Open pl.leancode.patrol.Example
    • Activate pl.leancode.patrol.Example
      • Wait for pl.leancode.patrol.Example to idle
  • Tear Down
Successtest-method internal_groupTest___atTheBeginning

Activities:
  • Start Test at 2023-11-28 12:27:06.448
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:9109
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example to idle
  • Pressing Home button
  • Open pl.leancode.patrol.Example
    • Activate pl.leancode.patrol.Example
      • Wait for pl.leancode.patrol.Example to idle
  • Tear Down
Successtest-method internal_groupTest___topLevelGroupInFileAlphaFirst

Activities:
  • Start Test at 2023-11-28 12:27:31.982
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:9142
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example to idle
  • Pressing Home button
  • Open pl.leancode.patrol.Example
    • Activate pl.leancode.patrol.Example
      • Wait for pl.leancode.patrol.Example to idle
  • Tear Down
Successtest-method internal_groupTest___topLevelGroupInFileAlphaSecond

Activities:
  • Start Test at 2023-11-28 12:27:43.719
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:9183
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example to idle
  • Pressing Home button
  • Open pl.leancode.patrol.Example
    • Activate pl.leancode.patrol.Example
      • Wait for pl.leancode.patrol.Example to idle
  • Tear Down
Successtest-method internal_groupTest___topLevelGroupInFileInTheMiddle

Activities:
  • Start Test at 2023-11-28 12:27:55.419
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:9329
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example to idle
  • Pressing Home button
  • Open pl.leancode.patrol.Example
    • Activate pl.leancode.patrol.Example
      • Wait for pl.leancode.patrol.Example to idle
  • Tear Down
Successtest-method internal_groupTest___topLevelGroupInFileBravoFirst

Activities:
  • Start Test at 2023-11-28 12:28:08.218
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:9334
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example to idle
  • Pressing Home button
  • Open pl.leancode.patrol.Example
    • Activate pl.leancode.patrol.Example
      • Wait for pl.leancode.patrol.Example to idle
  • Tear Down
Successtest-method internal_groupTest___topLevelGroupInFileBravoSecond

Activities:
  • Start Test at 2023-11-28 12:28:19.908
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:9344
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example to idle
  • Pressing Home button
  • Open pl.leancode.patrol.Example
    • Activate pl.leancode.patrol.Example
      • Wait for pl.leancode.patrol.Example to idle
  • Tear Down
Successtest-method internal_longNameTest___aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Activities:
  • Start Test at 2023-11-28 12:28:32.525
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:9364
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example to idle
  • Pressing Home button
  • Open pl.leancode.patrol.Example
    • Activate pl.leancode.patrol.Example
      • Wait for pl.leancode.patrol.Example to idle
  • Tear Down
Successtest-method internal_longNameTest___alphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaalphaa

Activities:
  • Start Test at 2023-11-28 12:28:48.549
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:9430
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example to idle
  • Tear Down
Successtest-method internal_longNameTest___kocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykkocykk

Activities:
  • Start Test at 2023-11-28 12:28:57.463
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:9578
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example to idle
  • Tear Down
Successtest-method openAppTest___openMaps

Activities:
  • Start Test at 2023-11-28 12:29:05.760
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:9642
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example 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.Example
    • Activate pl.leancode.patrol.Example
      • Wait for pl.leancode.patrol.Example to idle
  • Tear Down
Successtest-method openAppTest___openBrowser

Activities:
  • Start Test at 2023-11-28 12:29:38.106
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:9665
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example 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.Example
    • Activate pl.leancode.patrol.Example
      • Wait for pl.leancode.patrol.Example to idle
  • Tear Down
Successtest-method openQuickSettingsTest___opensQuickSettings

Activities:
  • Start Test at 2023-11-28 12:29:58.581
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:9711
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example 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.Example 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_notificationsTest___tapsOnNotification

Activities:
  • Start Test at 2023-11-28 12:30:07.000
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:9763
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example 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" OR identifier == "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 '"NotificationCell" IN identifiers'
  • Find the "NotificationCell" Button
  • Tap "NotificationCell" Button
    • Wait for com.apple.springboard to idle
    • Find the "NotificationCell" Button
    • Check for interrupting elements affecting "NotificationCell" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Tear Down
Successtest-method permissions_permissionsLocationTest___acceptsLocationPermission

Activities:
  • Start Test at 2023-11-28 12:30:28.284
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:9919
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example 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
  • 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_permissionsManyTest___grantsVariousPermissions

Activities:
  • Start Test at 2023-11-28 12:30:57.132
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:9933
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example 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 "OK" Button
  • Tap "OK" Button
    • Wait for com.apple.springboard to idle
    • Find the "OK" Button
    • Check for interrupting elements affecting "OK" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • Checking existence of "OK" Button
  • Checking existence of "OK" Button
  • Tap "OK" Button
    • Wait for com.apple.springboard to idle
    • Find the "OK" Button
    • Check for interrupting elements affecting "OK" Button
    • Synthesize event
    • Wait for com.apple.springboard to idle
  • 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
  • Tear Down
Successtest-method serviceDarkModeTest___disablesAndEnablesDarkModeTwice

Activities:
  • Start Test at 2023-11-28 12:31:16.398
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:9952
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example 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
    • 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:10148
  • Open pl.leancode.patrol.Example
    • Activate pl.leancode.patrol.Example
      • Wait for pl.leancode.patrol.Example 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
    • 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:10153
  • Open pl.leancode.patrol.Example
    • Activate pl.leancode.patrol.Example
      • Wait for pl.leancode.patrol.Example 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" NavigationBar
    • Synthesize event
    • 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:10159
  • Open pl.leancode.patrol.Example
    • Activate pl.leancode.patrol.Example
      • Wait for pl.leancode.patrol.Example 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
    • 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:10163
  • Open pl.leancode.patrol.Example
    • Activate pl.leancode.patrol.Example
      • Wait for pl.leancode.patrol.Example to idle
  • Tear Down
Successtest-method swipeTest___scrollsTheSettingsApp

Activities:
  • Start Test at 2023-11-28 12:32:10.619
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open pl.leancode.patrol.Example
    • Launch pl.leancode.patrol.Example
      • Terminate pl.leancode.patrol.Example:10085
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example 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