yarn run test:e2e:ci | ts Apr 16 03:13:03 yarn run v1.3.2 Apr 16 03:13:03 $ detox test -c ios.sim.debug --cleanup Apr 16 03:13:04 node_modules/.bin/jest e2e --config=e2e/config.json --runInBand --testNamePattern='^((?!:android:).)*$' detox info 03:13:07: server listening on localhost:49384... detox info 1: Searching for device matching iPhone 7... detox info 3: Uninstalling com.proj.angry-app... detox info 3: com.proj.angry-app uninstalled detox info 4: Installing /Users/distiller/project/ios/build/Build/Products/Debug-iphonesimulator/AngryPotatoApp.app... detox info 4: /Users/distiller/project/ios/build/Build/Products/Debug-iphonesimulator/AngryPotatoApp.app installed detox info 5: Terminating com.proj.angry-app... detox info 5: com.proj.angry-app terminated detox info 6: Launching com.proj.angry-app... detox info 6: com.proj.angry-app launched. The stdout and stderr logs were recreated, you can watch them with: tail -F $HOME/Library/Developer/CoreSimulator/Devices/937DB7CD-01A8-4406-A2B4-619DA1D8F4F8/data/tmp/detox.last_launch_app_log.{out,err} detox info 7: Shutting down 937DB7CD-01A8-4406-A2B4-619DA1D8F4F8... detox info 7: 937DB7CD-01A8-4406-A2B4-619DA1D8F4F8 shut down FAIL e2e/RegisterScreen.spec.js (159.211s) RegistrationScreen ✕ default view (22899ms) ✓ should autoscroll when finishing inputs to make next input visible (9518ms) ✓ should autoscroll to keep firstName input onscreen when tapped (3715ms) ✓ should autoscroll to keep lastName input onscreen when tapped (3551ms) ✓ should autoscroll to keep email input onscreen when tapped (4027ms) ✓ should autoscroll to keep password input onscreen when tapped (3895ms) ✓ should autoscroll to keep confirmPassword input onscreen when tapped (4084ms) ✓ should render all validation text on empty register (3773ms) ✓ should clear validation text on correct input (11257ms) ✓ should render email validation text on invalid email input (11451ms) ✓ should render confirm password validation text on invalid confirm password (6638ms) ● RegistrationScreen › default view Error: Cannot find UI Element. Exception with Assertion: { "Assertion Criteria" : "assertWithMatcher:isNotNil", "Element Matcher" : "(((respondsToSelector(accessibilityIdentifier) && accessibilityID('RegistrationScreen')) && !(kindOfClass('RCTScrollView'))) || (kindOfClass('UIScrollView') && ((kindOfClass('UIView') || respondsToSelector(accessibilityContainer)) && ancestorThatMatches(((respondsToSelector(accessibilityIdentifier) && accessibilityID('RegistrationScreen')) && kindOfClass('RCTScrollView'))))))", "Recovery Suggestion" : "Check if the element exists in the UI hierarchy printed below. If it exists, adjust the matcher so that it accurately matches element." } Error Trace: [ { "Description" : "Interaction cannot continue because the desired element was not found.", "Error Domain" : "com.google.earlgrey.ElementInteractionErrorDomain", "Error Code" : "0", "File Name" : "GREYElementInteraction.m", "Function Name" : "-[GREYElementInteraction matchedElementsWithTimeout:error:]", "Line" : "124" } ] at Client.execute (../node_modules/detox/src/client/Client.js:72:13) ● RegistrationScreen › default view Error: Cannot find UI Element. Exception with Assertion: { "Assertion Criteria" : "assertWithMatcher:isNotNil", "Element Matcher" : "(((respondsToSelector(accessibilityIdentifier) && accessibilityID('RegistrationScreen')) && !(kindOfClass('RCTScrollView'))) || (kindOfClass('UIScrollView') && ((kindOfClass('UIView') || respondsToSelector(accessibilityContainer)) && ancestorThatMatches(((respondsToSelector(accessibilityIdentifier) && accessibilityID('RegistrationScreen')) && kindOfClass('RCTScrollView'))))))", "Recovery Suggestion" : "Check if the element exists in the UI hierarchy printed below. If it exists, adjust the matcher so that it accurately matches element." } Error Trace: [ { "Description" : "Interaction cannot continue because the desired element was not found.", "Error Domain" : "com.google.earlgrey.ElementInteractionErrorDomain", "Error Code" : "0", "File Name" : "GREYElementInteraction.m", "Function Name" : "-[GREYElementInteraction matchedElementsWithTimeout:error:]", "Line" : "124" } ] at Client.execute (../node_modules/detox/src/client/Client.js:72:13) detox info 03:15:44: server listening on localhost:49651... detox info 1: Searching for device matching iPhone 7... detox info 5: Booting device 937DB7CD-01A8-4406-A2B4-619DA1D8F4F8 detox info 7: Uninstalling com.proj.angry-app... detox info 7: com.proj.angry-app uninstalled detox info 8: Installing /Users/distiller/project/ios/build/Build/Products/Debug-iphonesimulator/AngryPotatoApp.app... detox info 8: /Users/distiller/project/ios/build/Build/Products/Debug-iphonesimulator/AngryPotatoApp.app installed detox info 9: Terminating com.proj.angry-app... detox info 9: com.proj.angry-app terminated detox info 10: Launching com.proj.angry-app... detox info 10: com.proj.angry-app launched. The stdout and stderr logs were recreated, you can watch them with: tail -F $HOME/Library/Developer/CoreSimulator/Devices/937DB7CD-01A8-4406-A2B4-619DA1D8F4F8/data/tmp/detox.last_launch_app_log.{out,err} detox info 11: Shutting down 937DB7CD-01A8-4406-A2B4-619DA1D8F4F8... detox info 11: 937DB7CD-01A8-4406-A2B4-619DA1D8F4F8 shut down PASS e2e/LoginScreen.spec.js (69.86s) LoginScreen ✓ default view (3083ms) ✓ should autoscroll when finishing inputs to make next input visible (5519ms) ✓ should autoscroll to keep email input onscreen when tapped (3506ms) ✓ should autoscroll to keep password input onscreen when tapped (3757ms) ✓ should render both email and password validation text on empty login (2990ms) ✓ should render email validation text on invalid email input (7015ms) ✓ should render password validation text on invalid password input (6099ms) ✓ should render login failure text on failed login (6858ms) ✓ should navigate to home screen on successful login (7808ms) detox info 03:16:54: server listening on localhost:49802... detox info 1: Searching for device matching iPhone 7... detox info 5: Booting device 937DB7CD-01A8-4406-A2B4-619DA1D8F4F8 detox info 7: Uninstalling com.proj.angry-app... detox info 7: com.proj.angry-app uninstalled detox info 8: Installing /Users/distiller/project/ios/build/Build/Products/Debug-iphonesimulator/AngryPotatoApp.app... detox info 8: /Users/distiller/project/ios/build/Build/Products/Debug-iphonesimulator/AngryPotatoApp.app installed detox info 9: Terminating com.proj.angry-app... detox info 9: com.proj.angry-app terminated detox info 10: Launching com.proj.angry-app... detox info 10: com.proj.angry-app launched. The stdout and stderr logs were recreated, you can watch them with: tail -F $HOME/Library/Developer/CoreSimulator/Devices/937DB7CD-01A8-4406-A2B4-619DA1D8F4F8/data/tmp/detox.last_launch_app_log.{out,err} detox info 11: Shutting down 937DB7CD-01A8-4406-A2B4-619DA1D8F4F8... detox info 11: 937DB7CD-01A8-4406-A2B4-619DA1D8F4F8 shut down PASS e2e/InitialScreen.spec.js (26.855s) InitialScreen ✓ default view (1695ms) ✓ should navigate to login screen when login button pressed (2262ms) ✓ should navigate to registration screen when create account button pressed (2037ms) Test Suites: 1 failed, 2 passed, 3 total Tests: 1 failed, 22 passed, 23 total Snapshots: 0 total Time: 257.068s Ran all test suites matching /e2e/i with tests matching "^((?!:android:).)*$". child_process.js:615 throw err; ^ Error: Command failed: node_modules/.bin/jest e2e --config=e2e/config.json --runInBand --testNamePattern='^((?!:android:).)*$' at checkExecSyncError (child_process.js:575:11) at Object.execSync (child_process.js:612:13) at runJest (/Users/distiller/project/node_modules/detox/local-cli/detox-test.js:110:6) at run (/Users/distiller/project/node_modules/detox/local-cli/detox-test.js:67:7) at Object. (/Users/distiller/project/node_modules/detox/local-cli/detox-test.js:54:1) at Module._compile (internal/modules/cjs/loader.js:654:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) at Module.load (internal/modules/cjs/loader.js:566:32) at tryModuleLoad (internal/modules/cjs/loader.js:506:12) at Function.Module._load (internal/modules/cjs/loader.js:498:3) error Command failed with exit code 1. Apr 16 03:17:21 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Exited with code 1