Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase, react_native projects causes unreasonable long load time or timeout #1095

Closed
AndBroCorp opened this issue Dec 21, 2018 · 2 comments

Comments

@AndBroCorp
Copy link

Description

We are trying to run a simple test on a cross platform application using react-native and firebase. But when running tests they take an unreasonably long time to load, up to +90000ms between each test and each state, sometimes even reaching the timeout limit.
Without firebase dependencies the issue disappears.
This does not occur with the provided example app on the same computer.

Steps to Reproduce

  • Have an app set up using expo, firebase and react-native
  • Run test
  • Grab coffee, take a brake and then a lunch
  • See result

Detox, Node, Device, Xcode and macOS Versions

  • Detox: 9.0.6
  • React Native: 31.0.1
  • Node: 10.14.2
  • Device: EXPO; N/A
  • Xcode: N/A
  • macOS: Mojave 10.14.1
  • Firebase: 5.7.0
  • Firestore: 0.9.0

Device and verbose Detox logs

Mac-Pro:MyApp andbrobro$ npm run e2e

> @ e2e /Users/andbrobro/MyApp
> detox test --configuration ios.sim

node_modules/.bin/mocha e2e --opts e2e/mocha.opts --configuration ios.sim      --grep :android: --invert     --artifacts-location "artifacts/ios.sim.2018-12-21 15-20-26Z" 


detox[41771] INFO:  [DetoxServer.js] server listening on localhost:64998...
  Login
    1) "before each" hook for "should show login button"

  0 passing (20m)
  1 failing

  1) Login
       "before each" hook for "should show login button":
     Error: Timeout of 1200000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/andbrobro/MyApp/e2e/login.spec.js)
  




child_process.js:656
    throw err;
    ^

Error: Command failed: node_modules/.bin/mocha e2e --opts e2e/mocha.opts --configuration ios.sim      --grep :android: --invert     --artifacts-location "artifacts/ios.sim.2018-12-21 15-20-26Z" 
    at checkExecSyncError (child_process.js:616:11)
    at Object.execSync (child_process.js:653:13)
    at runMocha (/Users/andbrobro/MyApp/node_modules/detox/local-cli/detox-test.js:129:6)
    at run (/Users/andbrobro/MyApp/node_modules/detox/local-cli/detox-test.js:82:7)
    at Object.<anonymous> (/Users/andbrobro/MyApp/node_modules/detox/local-cli/detox-test.js:217:1)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ e2e: `detox test --configuration ios.sim`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ e2e script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/andbrobro/.npm/_logs/2018-12-21T15_40_45_224Z-debug.log

Long version:

oberts-Mac-Pro:MyApp andbrobro$ detox test sim.emu.ios --loglevel trace
node_modules/.bin/mocha e2e --opts e2e/mocha.opts --configuration ios.sim --loglevel trace     --grep :android: --invert     --artifacts-location "artifacts/ios.sim.2018-12-21 16-11-00Z" 


detox[43248] INFO:  [DetoxServer.js] server listening on localhost:51579...
detox[43248] DEBUG: [AsyncWebSocket.js/WEBSOCKET_OPEN] opened web socket to: ws://localhost:51579
detox[43248] TRACE: [AsyncWebSocket.js/WEBSOCKET_SEND] {"type":"login","params":{"sessionId":"f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb","role":"tester"},"messageId":0}
detox[43248] DEBUG: [DetoxServer.js/LOGIN] role=tester, sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb
detox[43248] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=tester, sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb
detox[43248] TRACE: [AsyncWebSocket.js/WEBSOCKET_MESSAGE] {"type":"loginSuccess","params":{"sessionId":"f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb","role":"tester"},"messageId":0}
 
detox[43248] DEBUG: [exec.js/EXEC_CMD, #0] /usr/bin/xcrun simctl list -j
detox[43248] TRACE: [exec.js/EXEC_SUCCESS, #0] {
  "devicetypes" : [
    {
      "name" : "iPhone 4s",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 4s.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-4s"
    },
    {
      "name" : "iPhone 5",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 5.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-5"
    },
    {
      "name" : "iPhone 5s",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 5s.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-5s"
    },
    {
      "name" : "iPhone 6",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 6.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6"
    },
    {
      "name" : "iPhone 6 Plus",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 6 Plus.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus"
    },
    {
      "name" : "iPhone 6s",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 6s.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6s"
    },
    {
      "name" : "iPhone 6s Plus",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 6s Plus.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus"
    },
    {
      "name" : "iPhone 7",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 7.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-7"
    },
    {
      "name" : "iPhone 7 Plus",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 7 Plus.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-7-Plus"
    },
    {
      "name" : "iPhone 8",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 8.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8"
    },
    {
      "name" : "iPhone 8 Plus",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 8 Plus.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus"
    },
    {
      "name" : "iPhone SE",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone SE.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE"
    },
    {
      "name" : "iPhone X",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone X.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-X"
    },
    {
      "name" : "iPhone Xs",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone Xs.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-XS"
    },
    {
      "name" : "iPhone Xs Max",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone Xs Max.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-XS-Max"
    },
    {
      "name" : "iPhone Xʀ",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone Xʀ.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-XR"
    },
    {
      "name" : "iPad 2",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad 2.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-2"
    },
    {
      "name" : "iPad Retina",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Retina.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Retina"
    },
    {
      "name" : "iPad Air",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Air.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air"
    },
    {
      "name" : "iPad Air 2",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Air 2.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air-2"
    },
    {
      "name" : "iPad (5th generation)",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad (5th generation).simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--5th-generation-"
    },
    {
      "name" : "iPad Pro (9.7-inch)",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (9.7-inch).simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-"
    },
    {
      "name" : "iPad Pro (12.9-inch)",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch).simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro"
    },
    {
      "name" : "iPad Pro (12.9-inch) (2nd generation)",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (2nd generation).simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-"
    },
    {
      "name" : "iPad Pro (10.5-inch)",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (10.5-inch).simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--10-5-inch-"
    },
    {
      "name" : "iPad (6th generation)",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad (6th generation).simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--6th-generation-"
    },
    {
      "name" : "iPad Pro (11-inch)",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (11-inch).simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch-"
    },
    {
      "name" : "iPad Pro (12.9-inch) (3rd generation)",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (3rd generation).simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---3rd-generation-"
    },
    {
      "name" : "Apple TV",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/AppleTVOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple TV.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p"
    },
    {
      "name" : "Apple TV 4K",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/AppleTVOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple TV 4K.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-4K"
    },
    {
      "name" : "Apple TV 4K (at 1080p)",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/AppleTVOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple TV 4K (at 1080p).simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-1080p"
    },
    {
      "name" : "Apple Watch - 38mm",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch - 38mm.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-38mm"
    },
    {
      "name" : "Apple Watch - 42mm",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch - 42mm.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-42mm"
    },
    {
      "name" : "Apple Watch Series 2 - 38mm",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 2 - 38mm.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-38mm"
    },
    {
      "name" : "Apple Watch Series 2 - 42mm",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 2 - 42mm.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-42mm"
    },
    {
      "name" : "Apple Watch Series 3 - 38mm",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 3 - 38mm.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-38mm"
    },
    {
      "name" : "Apple Watch Series 3 - 42mm",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 3 - 42mm.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-42mm"
    },
    {
      "name" : "Apple Watch Series 4 - 40mm",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 4 - 40mm.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-40mm"
    },
    {
      "name" : "Apple Watch Series 4 - 44mm",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 4 - 44mm.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-44mm"
    }
  ],
  "runtimes" : [
    {
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime",
      "availabilityError" : "",
      "buildversion" : "16B91",
      "availability" : "(available)",
      "isAvailable" : true,
      "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-12-1",
      "version" : "12.1",
      "name" : "iOS 12.1"
    },
    {
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/AppleTVOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/Runtimes\/tvOS.simruntime",
      "availabilityError" : "",
      "buildversion" : "16J602",
      "availability" : "(available)",
      "isAvailable" : true,
      "identifier" : "com.apple.CoreSimulator.SimRuntime.tvOS-12-1",
      "version" : "12.1",
      "name" : "tvOS 12.1"
    },
    {
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/Runtimes\/watchOS.simruntime",
      "availabilityError" : "",
      "buildversion" : "16R591",
      "availability" : "(available)",
      "isAvailable" : true,
      "identifier" : "com.apple.CoreSimulator.SimRuntime.watchOS-5-1",
      "version" : "5.1",
      "name" : "watchOS 5.1"
    }
  ],
  "devices" : {
    "iOS 12.1" : [
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPhone 5s",
        "udid" : "05C22D3A-4674-4352-ADCA-57199F2F3751",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPhone 6",
        "udid" : "943F22C6-9E9D-4C83-BD07-CBEDC5B84544",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPhone 6 Plus",
        "udid" : "4B0CA7EA-3E3F-4718-A629-8D6D5D21C9EE",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPhone 6s",
        "udid" : "3F518377-7765-4AEF-A604-D6E07D85858E",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPhone 6s Plus",
        "udid" : "0BD1B28A-C092-413D-ACF4-66F1F521A8A5",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPhone 7",
        "udid" : "0EC69AD9-249A-4E3C-97EF-F9B8BF7B5CFA",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPhone 7 Plus",
        "udid" : "D434E61F-EFF3-43E5-82E5-A0B9A084B0C6",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPhone 8",
        "udid" : "CBE5A713-2774-4AF6-9983-323B6EE4948A",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPhone 8 Plus",
        "udid" : "AC4243AE-F62E-41BE-B6C1-879B0AAFFF11",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPhone SE",
        "udid" : "C81274FA-DE2E-49E1-8BDD-3BEDA8DFB0B2",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Booted",
        "isAvailable" : true,
        "name" : "iPhone X",
        "udid" : "3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPhone XS",
        "udid" : "B56D5814-6D53-4C47-9348-0FA8678F01A1",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPhone XS Max",
        "udid" : "C66671E5-7B5E-49F7-8A36-25BC806B9D12",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPhone XR",
        "udid" : "F0B7D874-39B4-436B-94BF-5F3B7C07A0EE",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPad Air",
        "udid" : "C15B85F6-3418-44EE-BD5A-C02CDA93828F",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPad Air 2",
        "udid" : "B34DB553-B272-4E30-A8F6-E84DD93D05F6",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPad (5th generation)",
        "udid" : "EBCD0609-9729-4F2F-930D-B2958248F3B0",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPad Pro (9.7-inch)",
        "udid" : "D24B23B0-735E-4C14-9657-C2B9BA30E60A",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPad Pro (12.9-inch)",
        "udid" : "BADA630C-2B54-42EB-8C42-ED9777DE1C02",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPad Pro (12.9-inch) (2nd generation)",
        "udid" : "BB07B3EE-18E7-4DD6-9A1F-CBE108481AB1",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPad Pro (10.5-inch)",
        "udid" : "DBAC643A-A650-4AC1-BFE7-0DBDEA6D1890",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPad (6th generation)",
        "udid" : "AED936B1-76DE-453B-B6FC-6C929DA5101D",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPad Pro (11-inch)",
        "udid" : "0FE31467-AAEA-47FC-AE44-D1CEDA11CF12",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "iPad Pro (12.9-inch) (3rd generation)",
        "udid" : "E1A70ECC-57BB-44A3-A404-6BB36D452771",
        "availabilityError" : ""
      }
    ],
    "watchOS 5.1" : [
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "Apple Watch Series 2 - 38mm",
        "udid" : "56F11F4F-9284-4D80-AAF7-50FCDFB31F81",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "Apple Watch Series 2 - 42mm",
        "udid" : "F20AE8F1-8B84-4266-8738-440B6436EEE3",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "Apple Watch Series 3 - 38mm",
        "udid" : "9DFD1106-4E1B-4403-9AFC-A505835DC643",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "Apple Watch Series 3 - 42mm",
        "udid" : "9FF64629-DF1C-4D58-9FC2-E1A11CDFCCB5",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "Apple Watch Series 4 - 40mm",
        "udid" : "AA5BDBF0-3AB4-44A9-9A12-7A151657C924",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "Apple Watch Series 4 - 44mm",
        "udid" : "B41BD8F6-BFEE-4CE7-8C82-E749E0F2667B",
        "availabilityError" : ""
      }
    ],
    "tvOS 12.1" : [
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "Apple TV",
        "udid" : "B0751332-05BF-4643-A3AD-7CC80F81A84D",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "Apple TV 4K",
        "udid" : "49112349-131C-4589-B6CB-3B639A749D34",
        "availabilityError" : ""
      },
      {
        "availability" : "(available)",
        "state" : "Shutdown",
        "isAvailable" : true,
        "name" : "Apple TV 4K (at 1080p)",
        "udid" : "A9056FE1-1D3B-44A6-BCBB-9C055184847C",
        "availabilityError" : ""
      }
    ]
  },
  "pairs" : {
    "D657535B-5F73-41DD-9FBE-F111FAFD202F" : {
      "watch" : {
        "name" : "Apple Watch Series 4 - 40mm",
        "udid" : "AA5BDBF0-3AB4-44A9-9A12-7A151657C924",
        "state" : "Shutdown"
      },
      "phone" : {
        "name" : "iPhone XS",
        "udid" : "B56D5814-6D53-4C47-9348-0FA8678F01A1",
        "state" : "Shutdown"
      },
      "state" : "(active, disconnected)"
    },
    "1A8285F2-4584-4D8B-A517-F26B7E2B5938" : {
      "watch" : {
        "name" : "Apple Watch Series 4 - 44mm",
        "udid" : "B41BD8F6-BFEE-4CE7-8C82-E749E0F2667B",
        "state" : "Shutdown"
      },
      "phone" : {
        "name" : "iPhone XS Max",
        "udid" : "C66671E5-7B5E-49F7-8A36-25BC806B9D12",
        "state" : "Shutdown"
      },
      "state" : "(active, disconnected)"
    }
  }
}

detox[43248] DEBUG: [exec.js/EXEC_CMD, #1] applesimutils --list --byType "iPhone X" --byOS "12.1"
detox[43248] DEBUG: [exec.js/EXEC_TRY, #1] Searching for device matching iPhone X...
detox[43248] TRACE: [exec.js/EXEC_SUCCESS, #1] [
  {
    "availabilityError" : "",
    "os" : {
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime",
      "availabilityError" : "",
      "buildversion" : "16B91",
      "availability" : "(available)",
      "isAvailable" : true,
      "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-12-1",
      "version" : "12.1",
      "name" : "iOS 12.1"
    },
    "availability" : "(available)",
    "deviceType" : {
      "name" : "iPhone X",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone X.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-X"
    },
    "udid" : "3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5",
    "isAvailable" : true,
    "state" : "Booted",
    "name" : "iPhone X"
  }
]

detox[43248] DEBUG: [exec.js/EXEC_CMD, #2] applesimutils --list --byId "3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5"
detox[43248] TRACE: [exec.js/EXEC_SUCCESS, #2] [
  {
    "availabilityError" : "",
    "os" : {
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime",
      "availabilityError" : "",
      "buildversion" : "16B91",
      "availability" : "(available)",
      "isAvailable" : true,
      "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-12-1",
      "version" : "12.1",
      "name" : "iOS 12.1"
    },
    "availability" : "(available)",
    "deviceType" : {
      "name" : "iPhone X",
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/Library\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone X.simdevicetype",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-X"
    },
    "udid" : "3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5",
    "isAvailable" : true,
    "state" : "Booted",
    "name" : "iPhone X"
  }
]

detox[43248] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onBootDevice({ coldBoot: false,
  deviceId: '3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5' })
detox[43248] DEBUG: [exec.js/EXEC_CMD, #3] /usr/bin/xcrun simctl uninstall 3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5 host.exp.Exponent
detox[43248] DEBUG: [exec.js/EXEC_TRY, #3] Uninstalling host.exp.Exponent...
detox[43248] TRACE: [exec.js/EXEC_SUCCESS, #3] 
detox[43248] DEBUG: [exec.js/EXEC_SUCCESS, #3] host.exp.Exponent uninstalled
detox[43248] DEBUG: [exec.js/EXEC_CMD, #4] /usr/bin/xcrun simctl install 3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5 "/Users/andbrobro/MyApp/test-assets/Exponent.app"
detox[43248] DEBUG: [exec.js/EXEC_TRY, #4] Installing /Users/andbrobro/MyApp/test-assets/Exponent.app...
detox[43248] DEBUG: [exec.js/EXEC_TRY, #4] Installing /Users/andbrobro/MyApp/test-assets/Exponent.app...
detox[43248] TRACE: [exec.js/EXEC_SUCCESS, #4] 
detox[43248] DEBUG: [exec.js/EXEC_SUCCESS, #4] /Users/andbrobro/MyApp/test-assets/Exponent.app installed
detox[43248] DEBUG: [exec.js/EXEC_CMD, #5] /usr/bin/xcrun simctl terminate 3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5 host.exp.Exponent
detox[43248] DEBUG: [exec.js/EXEC_TRY, #5] Terminating host.exp.Exponent...
detox[43248] TRACE: [exec.js/EXEC_SUCCESS, #5] 
detox[43248] DEBUG: [exec.js/EXEC_SUCCESS, #5] host.exp.Exponent terminated
detox[43248] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onBeforeLaunchApp({ bundleId: 'host.exp.Exponent',
  deviceId: '3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5',
  launchArgs:
   { '-detoxServer': 'ws://localhost:51579',
     '-detoxSessionId': 'f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb' } })
detox[43248] DEBUG: [exec.js/EXEC_CMD, #6] /bin/cat /dev/null >/Users/andbrobro/Library/Developer/CoreSimulator/Devices/3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5/data/tmp/detox.last_launch_app_log.out 2>/Users/andbrobro/Library/Developer/CoreSimulator/Devices/3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5/data/tmp/detox.last_launch_app_log.err && SIMCTL_CHILD_DYLD_INSERT_LIBRARIES="/Users/andbrobro/Library/Detox/ios/aec62188116fcc095542b8295542435cd5c8a400/Detox.framework/Detox" /usr/bin/xcrun simctl launch --stdout=/tmp/detox.last_launch_app_log.out --stderr=/tmp/detox.last_launch_app_log.err 3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5 host.exp.Exponent --args -detoxServer ws://localhost:51579 -detoxSessionId f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb
detox[43248] DEBUG: [exec.js/EXEC_TRY, #6] Launching host.exp.Exponent...
detox[43248] TRACE: [exec.js/EXEC_SUCCESS, #6] host.exp.Exponent: 43283

detox[43248] DEBUG: [exec.js/EXEC_SUCCESS, #6] host.exp.Exponent launched. The stdout and stderr logs were recreated, you can watch them with:
        tail -F /Users/andbrobro/Library/Developer/CoreSimulator/Devices/3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5/data/tmp/detox.last_launch_app_log.{out,err}
detox[43283] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onLaunchApp({ bundleId: 'host.exp.Exponent',
  deviceId: '3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5',
  launchArgs:
   { '-detoxServer': 'ws://localhost:51579',
     '-detoxSessionId': 'f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb' },
  pid: 43283 })
detox[43248] TRACE: [AsyncWebSocket.js/WEBSOCKET_SEND] {"type":"isReady","params":{},"messageId":-1000}
detox[43248] TRACE: [DetoxServer.js/MESSAGE] role=tester action=isReady (sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb)
detox[43248] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=testee not connected, cannot fw action (sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb)
detox[43248] DEBUG: [DetoxServer.js/LOGIN] role=testee, sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb
detox[43248] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=testee, sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb
detox[43248] TRACE: [DetoxServer.js/MESSAGE] role=testee action=ready (sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb)
detox[43248] TRACE: [AsyncWebSocket.js/WEBSOCKET_MESSAGE] {"type":"ready","messageId":-1000,"params":{}}
 
detox[43248] TRACE: [AsyncWebSocket.js/WEBSOCKET_SEND] {"type":"waitForActive","params":{},"messageId":1}
detox[43248] TRACE: [DetoxServer.js/MESSAGE] role=tester action=waitForActive (sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb)
detox[43248] TRACE: [DetoxServer.js/MESSAGE] role=testee action=waitForActiveDone (sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb)
detox[43248] TRACE: [AsyncWebSocket.js/WEBSOCKET_MESSAGE] {"type":"waitForActiveDone","messageId":1,"params":{}}
 
detox[43248] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onBeforeAll()
  Login
detox[43248] DEBUG: [exec.js/EXEC_CMD, #7] /usr/bin/xcrun simctl terminate 3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5 host.exp.Exponent
detox[43248] DEBUG: [exec.js/EXEC_TRY, #7] Terminating host.exp.Exponent...
detox[43248] TRACE: [exec.js/EXEC_SUCCESS, #7] 
detox[43248] DEBUG: [exec.js/EXEC_SUCCESS, #7] host.exp.Exponent terminated
detox[43248] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onBeforeLaunchApp({ bundleId: 'host.exp.Exponent',
  deviceId: '3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5',
  launchArgs:
   { '-detoxServer': 'ws://localhost:51579',
     '-detoxSessionId': 'f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb',
     '-EXKernelDisableNuxDefaultsKey': true,
     '-detoxURLBlacklistRegex':
      '\\("http://10.42.2.177:19001/onchange","https://e.crashlytics.com/spi/v2/events",".*firestore.*"\\)',
     '-detoxURLOverride': 'exp://10.42.2.177:19000',
     '-detoxSourceAppOverride': 'host.exp.exponent' } })
detox[43248] DEBUG: [DetoxServer.js/DISCONNECT] role=testee, sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb
detox[43248] DEBUG: [exec.js/EXEC_CMD, #8] /bin/cat /dev/null >/Users/andbrobro/Library/Developer/CoreSimulator/Devices/3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5/data/tmp/detox.last_launch_app_log.out 2>/Users/andbrobro/Library/Developer/CoreSimulator/Devices/3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5/data/tmp/detox.last_launch_app_log.err && SIMCTL_CHILD_DYLD_INSERT_LIBRARIES="/Users/andbrobro/Library/ExpoDetoxHook/ios/efc4c80d1c0afa30121fb80ef512e9b058ef8680/ExpoDetoxHook.framework/ExpoDetoxHook:/Users/andbrobro/Library/Detox/ios/aec62188116fcc095542b8295542435cd5c8a400/Detox.framework/Detox" /usr/bin/xcrun simctl launch --stdout=/tmp/detox.last_launch_app_log.out --stderr=/tmp/detox.last_launch_app_log.err 3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5 host.exp.Exponent --args -detoxServer ws://localhost:51579 -detoxSessionId f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb -EXKernelDisableNuxDefaultsKey true -detoxURLBlacklistRegex \("http://10.42.2.177:19001/onchange","https://e.crashlytics.com/spi/v2/events",".*firestore.*"\) -detoxURLOverride exp://10.42.2.177:19000 -detoxSourceAppOverride host.exp.exponent
detox[43248] DEBUG: [exec.js/EXEC_TRY, #8] Launching host.exp.Exponent...
detox[43248] TRACE: [exec.js/EXEC_SUCCESS, #8] host.exp.Exponent: 43305

detox[43248] DEBUG: [exec.js/EXEC_SUCCESS, #8] host.exp.Exponent launched. The stdout and stderr logs were recreated, you can watch them with:
        tail -F /Users/andbrobro/Library/Developer/CoreSimulator/Devices/3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5/data/tmp/detox.last_launch_app_log.{out,err}
detox[43305] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onLaunchApp({ bundleId: 'host.exp.Exponent',
  deviceId: '3C5FE11A-FC56-4011-9FE8-32DD8A99EBE5',
  launchArgs:
   { '-detoxServer': 'ws://localhost:51579',
     '-detoxSessionId': 'f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb',
     '-EXKernelDisableNuxDefaultsKey': true,
     '-detoxURLBlacklistRegex':
      '\\("http://10.42.2.177:19001/onchange","https://e.crashlytics.com/spi/v2/events",".*firestore.*"\\)',
     '-detoxURLOverride': 'exp://10.42.2.177:19000',
     '-detoxSourceAppOverride': 'host.exp.exponent' },
  pid: 43305 })
detox[43248] TRACE: [AsyncWebSocket.js/WEBSOCKET_SEND] {"type":"isReady","params":{},"messageId":-1000}
detox[43248] TRACE: [DetoxServer.js/MESSAGE] role=tester action=isReady (sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb)
detox[43248] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=testee not connected, cannot fw action (sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb)
detox[43248] DEBUG: [DetoxServer.js/LOGIN] role=testee, sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb
detox[43248] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=testee, sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb
    1) "before each" hook for "should show login button"

  0 passing (2m)
  1 failing

  1) Login
       "before each" hook for "should show login button":
     Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/andbrobro/MyApp/e2e/login.spec.js)
  




detox[43248] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onAfterAll()
detox[43248] TRACE: [AsyncWebSocket.js/WEBSOCKET_SEND] {"type":"cleanup","params":{"stopRunner":true},"messageId":2}
detox[43248] TRACE: [DetoxServer.js/MESSAGE] role=tester action=cleanup (sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb)
detox[43248] TRACE: [DetoxServer.js/MESSAGE] role=testee action=cleanupDone (sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb)
detox[43248] TRACE: [AsyncWebSocket.js/WEBSOCKET_MESSAGE] {"type":"cleanupDone","messageId":2,"params":{}}
 
detox[43248] DEBUG: [DetoxServer.js/DISCONNECT] role=tester, sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb
detox[43248] DEBUG: [DetoxServer.js/DISCONNECT] role=testee, sessionId=f1c0e2b5-8bd7-0d63-2bff-f086a5531ebb
child_process.js:656
    throw err;
    ^

Error: Command failed: node_modules/.bin/mocha e2e --opts e2e/mocha.opts --configuration ios.sim --loglevel trace     --grep :android: --invert     --artifacts-location "artifacts/ios.sim.2018-12-21 16-11-00Z" 
    at checkExecSyncError (child_process.js:616:11)
    at Object.execSync (child_process.js:653:13)
    at runMocha (/Users/andbrobro/.nvm/versions/node/v10.14.2/lib/node_modules/detox/local-cli/detox-test.js:129:6)
    at run (/Users/andbrobro/.nvm/versions/node/v10.14.2/lib/node_modules/detox/local-cli/detox-test.js:82:7)
    at Object.<anonymous> (/Users/andbrobro/.nvm/versions/node/v10.14.2/lib/node_modules/detox/local-cli/detox-test.js:217:1)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
Roberts-Mac-Pro:MyApp andbrobro$ 
@rotemmiz
Copy link
Member

This kind of question has been discussed here in the issue tracker multiple times, and is also mentioned in documentation.
Read the docs re synchronization, read other issues, and use debug synchronization to identify the problem.

@JakeHedman
Copy link

@rotemmiz: I'm also having the same issue and saw firestore.googleapis.com in the log when running with --debug-synchronization 1000. I added .*firestore.* to the URL blacklist which stopped the log messages, but the tests run equally as slow.

Removing all firebase imports in my components makes the tests run normally.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants