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 iPhone 14 succeeded Nov 28, 2023 in 0s

Xcode test results

Test Runner

Summary

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

Test Summary

RunnerUITests

  • Device: iPhone 14, 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.78s
Successtest-method exampleTest___counterStateIsTheSameAfterGoingToHomeAndSwitchingApps

Activities:
  • Start Test at 2023-11-28 00:23:37.773
  • 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:6886
      • 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 00:23:52.305
  • 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:6901
      • 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 00:24:06.040
  • 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:7078
      • 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 00:24:19.187
  • 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:7088
      • 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 00:24:31.057
  • 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:7097
      • 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 00:24:43.058
  • 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:7108
      • 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 00:24:55.146
  • 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:7122
      • 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 00:25:07.156
  • 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:7181
      • 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 00:25:20.822
  • 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:7305
      • 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 00:25:29.770
  • 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:7310
      • 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 00:25:38.087
  • 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:7314
      • 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 00:26:05.926
  • 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:7317
      • 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 00:26:27.442
  • 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:7390
      • 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 00:26:37.360
  • 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:7535
      • 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
  • Double 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
  • 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_permissionsLocationTest___acceptsLocationPermission

Activities:
  • Start Test at 2023-11-28 00:27:05.410
  • 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:7539
      • 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 00:27:30.919
  • 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:7612
      • 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 00:27:50.490
  • 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:7797
      • 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
      • 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:7806
  • 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:7812
  • 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
      • 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:7816
  • 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
      • 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:7933
  • 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 00:28:47.529
  • 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:7804
      • 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