Skip to content

Instantly share code, notes, and snippets.

@vjmaiky
Created September 9, 2020 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vjmaiky/1ea83ae7f1d377e3f7e2f5579803e749 to your computer and use it in GitHub Desktop.
Save vjmaiky/1ea83ae7f1d377e3f7e2f5579803e749 to your computer and use it in GitHub Desktop.
EN610847:HelloDetoxAndroid admin$ detox test --configuration android.emu.debug.example --loglevel verbose
detox[85058] INFO: [test.js] configuration="android.emu.debug.example" loglevel="verbose" useCustomLogger=true forceAdbInstall=false DETOX_START_TIMESTAMP=1599657169648 readOnlyEmu=false reportSpecs=true jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' --maxWorkers 1 e2e
detox[85059] INFO: [DetoxServer.js] server listening on localhost:59833...
detox[85059] DEBUG: [AsyncWebSocket.js/WEBSOCKET_OPEN] opened web socket to: ws://localhost:59833
detox[85059] DEBUG: [DetoxServer.js/LOGIN] role=tester, sessionId=da88c01a-d97b-aebd-0cad-d4cf6e432729
detox[85059] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=tester, sessionId=da88c01a-d97b-aebd-0cad-d4cf6e432729
detox[85059] DEBUG: [exec.js/EXEC_CMD, #0] "/Users/admin/Library/Android/sdk/emulator/emulator" -list-avds --verbose
detox[85059] DEBUG: [exec.js/EXEC_CMD, #1] "/Users/admin/Library/Android/sdk/emulator/emulator" -version
detox[85059] DEBUG: [EmulatorVersionResolver.js/EMU_BIN_VERSION_DETECT] Detected emulator binary version { major: 30, minor: 0, patch: 26 }
detox[85059] DEBUG: [AndroidDriver.js/ALLOCATE_DEVICE] Trying to allocate a device based on "Pixel_API_28_AOSP"
detox[85059] DEBUG: [exec.js/EXEC_CMD, #2] "/Users/admin/Library/Android/sdk/platform-tools/adb" devices
detox[85059] DEBUG: [exec.js/EXEC_SUCCESS, #2] List of devices attached
emulator-10808 device
detox[85059] ERROR: Error: response not received
detox[85059] INFO: Example is assigned to undefined
detox[85059] INFO: Example: should have welcome screen
detox[85059] INFO: Example: should have welcome screen [SKIPPED]
detox[85059] ERROR: [EmulatorTelnet.js/TELNET_TIMEOUT]
detox[85059] DEBUG: [Artifact.js/FILE_WRITE_CREATE] creating file "artifacts/android.emu.debug.example.2020-09-09 13-12-49Z/detox_pid_1599657169648.trace.json"
detox[85059] DEBUG: [Artifact.js/FILE_WRITE] writing to "artifacts/android.emu.debug.example.2020-09-09 13-12-49Z/detox_pid_1599657169648.trace.json" via appending
detox[85059] DEBUG: [Artifact.js/MOVE_FILE] moving "/private/var/folders/c9/1qbmj4x968b3nmqt9y5954wr0000gn/T/c2d7a02c-809b-41aa-b320-d7d37fa5142e.detox.log" to artifacts/android.emu.debug.example.2020-09-09 13-12-49Z/detox_pid_85059.json.log
detox[85059] DEBUG: [Artifact.js/MOVE_FILE] moving "/private/var/folders/c9/1qbmj4x968b3nmqt9y5954wr0000gn/T/a10dbb43-b006-454a-84ea-5042aaca620a.detox.log" to artifacts/android.emu.debug.example.2020-09-09 13-12-49Z/detox_pid_85059.log
detox[85059] DEBUG: [DetoxServer.js/DISCONNECT] role=tester, sessionId=da88c01a-d97b-aebd-0cad-d4cf6e432729
detox[85059] DEBUG: [DetoxServer.js/WS_CLOSE] Detox server connections terminated gracefully
detox[85059] WARN: at node_modules/jest-cli/build/cli/index.js:261:15
Jest did not exit one second after the test run has completed.
This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment