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 27, 2023 in 0s

Xcode test results

Test Runner

Summary

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

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%)18.10s
Successtest-method exampleTest___counterStateIsTheSameAfterGoingToHomeAndSwitchingApps

Activities:
  • Start Test at 2023-11-27 12:12:58.266
  • 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:6550
      • 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-27 12:13:15.147
  • 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:6557
      • 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-27 12:13:26.354
  • 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:6567
      • 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-27 12:13:39.074
  • 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:6575
      • 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-27 12:13:50.118
  • 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:6581
      • 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-27 12:14:03.129
  • 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:6691
      • 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-27 12:14:13.882
  • 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:6768
      • 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-27 12:14:25.564
  • 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:6775
      • 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-27 12:14:37.955
  • 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:6781
      • 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-27 12:14:45.576
  • 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:6785
      • Setting up automation session
      • Wait for pl.leancode.patrol.Example to idle
  • Tear Down
Successtest-method openAppTest___openMaps

Activities:
  • Start Test at 2023-11-27 12:14:52.613
  • 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:6789
      • 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-27 12:15:27.112
  • 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:6844
      • 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-27 12:15:51.692
  • 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:7037
      • 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-27 12:16:00.585
  • 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:7058
      • 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
      • 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
  • 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-27 12:16:25.201
  • 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:7063
      • 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-27 12:16:51.264
  • 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:7248
      • 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-27 12:17:08.294
  • 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:7260
      • 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:7270
  • 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:7324
  • 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:7455
  • 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:7461
  • 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-27 12:18:05.297
  • 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:7268
      • 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