Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

The server is running
[Appium] Welcome to Appium v1.20.2
[Appium] Non-default server args:
[Appium] relaxedSecurityEnabled: true
[Appium] allowInsecure: {
[Appium] }
[Appium] denyInsecure: {
[Appium] }
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
Scenario: RESET: Validate free voucher is displayed in Connect screen # src/test/java/cucumber/inflight/features/013GroundShopFreeVoucher.feature:3
05-24-2021 15:46:11 - [cucumber.inflight.hooks.Hooks / starting][INFO ] - +++++++++++++ Starting test +++++++++++++
05-24-2021 15:46:11 - [cucumber.inflight.hooks.Hooks / starting][INFO ] - +++++++++++++ file:///Users/Shared/InflightAutomation/inflightautomationtest/src/test/java/cucumber/inflight/features/013GroundShopFreeVoucher.feature:3 +++++++++++++
05-24-2021 15:46:11 - [cucumber.inflight.hooks.Hooks / starting][INFO ] - +++++++++++++ RESET: Validate free voucher is displayed in Connect screen +++++++++++++
05-24-2021 15:46:11 - [cucumber.inflight.hooks.Hooks / starting][INFO ] - +++++++++++++ Started Tests: 1 +++++++++++++
05-24-2021 15:46:11 - [cucumber.inflight.hooks.Hooks / starting][INFO ] - ++++++++++++++++++++++ Android Driver creation started ++++++++++++++++++++++
05-24-2021 15:46:11 - [core.managers.DriverManagerAndroid / createDriver][INFO ] - Try
@vjmaiky
vjmaiky / gist:3a1262fcd08d730a39701d449bcf6a79
Created October 29, 2020 08:57
fail to start main activity
EN610483:da-paperround sebastianRad$ detox test --configuration android.real.device --loglevel trace
detox[15914] INFO: [test.js] configuration="android.real.device" loglevel="trace" useCustomLogger=true forceAdbInstall=false DETOX_START_TIMESTAMP=1603961188985 readOnlyEmu=false reportSpecs=true jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' --maxWorkers 1 e2e
detox[15915] TRACE: [Detox.js/DETOX_CREATE] created a Detox instance with config:
{"artifactsConfig":{"rootDir":"artifacts/android.real.device.2020-10-29 08-46-28Z","plugins":{"log":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"screenshot":{"enabled":true,"shouldTakeAutomaticSnapshots":false,"keepOnlyFailedTestsArtifacts":false},"video":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"instruments":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"timeline":{"enabled":false}},"pathBuilder":{"_rootDir":"artifacts/android.real.device.2020-10-29 08-46-28Z"}},"behaviorConfig":{"init":{"reinstallApp":true,"exposeGlob
EN610847:Archive-clean admin$ detox test --configuration android.emu.debug --loglevel trace
detox[72949] INFO: [test.js] configuration="android.emu.debug" loglevel="trace" useCustomLogger=true forceAdbInstall=false DETOX_START_TIMESTAMP=1600951915188 readOnlyEmu=false reportSpecs=true jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' --maxWorkers 1 e2e
detox[72951] TRACE: [Detox.js/DETOX_CREATE] created a Detox instance with config:
{"artifactsConfig":{"rootDir":"artifacts/android.emu.debug.2020-09-24 12-51-55Z","plugins":{"log":{"enabled":true,"keepOnlyFailedTestsArtifacts":false},"screenshot":{"enabled":true,"shouldTakeAutomaticSnapshots":true,"keepOnlyFailedTestsArtifacts":true,"takeWhen":{"testStart":false,"testDone":true,"appNotReady":true}},"video":{"simulator":{"codec":"hevc"},"enabled":false,"keepOnlyFailedTestsArtifacts":false},"instruments":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"timeline":{"enabled":true},"uiHierarchy":{"enabled":true,"keepOnlyFailedTestsArtifacts":
EN610847:Archive-clean admin$ detox test --configuration android.emu.debug --loglevel trace
detox[72699] INFO: [test.js] configuration="android.emu.debug" loglevel="trace" useCustomLogger=true forceAdbInstall=false DETOX_START_TIMESTAMP=1600951827515 readOnlyEmu=false reportSpecs=true jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' --maxWorkers 1 e2e
detox[72702] TRACE: [Detox.js/DETOX_CREATE] created a Detox instance with config:
{"artifactsConfig":{"rootDir":"artifacts/android.emu.debug.2020-09-24 12-50-27Z","plugins":{"log":{"enabled":true,"keepOnlyFailedTestsArtifacts":false},"screenshot":{"enabled":true,"shouldTakeAutomaticSnapshots":true,"keepOnlyFailedTestsArtifacts":true,"takeWhen":{"testStart":false,"testDone":true,"appNotReady":true}},"video":{"simulator":{"codec":"hevc"},"enabled":false,"keepOnlyFailedTestsArtifacts":false},"instruments":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"timeline":{"enabled":true},"uiHierarchy":{"enabled":true,"keepOnlyFailedTestsArtifacts":
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
EN610847:HelloDetoxAndroid admin$ detox test --configuration android.emu.debug.example --loglevel verbose
detox[84991] INFO: [test.js] configuration="android.emu.debug.example" loglevel="verbose" useCustomLogger=true forceAdbInstall=false DETOX_START_TIMESTAMP=1599657087222 readOnlyEmu=false reportSpecs=true jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' --maxWorkers 1 e2e
detox[84992] INFO: [DetoxServer.js] server listening on localhost:59625...
detox[84992] DEBUG: [AsyncWebSocket.js/WEBSOCKET_OPEN] opened web socket to: ws://localhost:59625
detox[84992] DEBUG: [DetoxServer.js/LOGIN] role=tester, sessionId=9907caaf-881c-eb94-a8a5-c142a9679768
detox[84992] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=tester, sessionId=9907caaf-881c-eb94-a8a5-c142a9679768
detox[84992] DEBUG: [exec.js/EXEC_CMD, #0] "/Users/admin/Library/Android/sdk/emulator/emulator" -list-avds --verbose
detox[84992] DEBUG: [exec.js/EXEC_CMD, #1] "/Users/admin/Library/Android/sdk/emulator/emulator" -version
detox[84992] DEBUG
[debug] [XCUITest] Waiting up to 120000ms for WebDriverAgent to start
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:7341/status] with no body
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 11.4
[Xcode]
[Xcode]
[JSONWP Proxy] Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:7341/status] with no body
[JSONWP Proxy] Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}
The server is running
[Appium] Welcome to Appium v1.9.1
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> GET /wd/hub/sessions
[HTTP] {}
[GENERIC] Calling AppiumDriver.getSessions() with args: []
[GENERIC] Responding to client with driver.getSessions() result: []
[HTTP] <-- GET /wd/hub/sessions 200 9 ms - 40
[HTTP]
[HTTP] --> GET /wd/hub/sessions
Leventes-Mac-mini:~ itslocaladmin$ lldb ios_webkit_debug_proxy -- -c 2ccf30dd21fa31a77967a66580e6c7ee62ecce88:27345
(lldb) target create "ios_webkit_debug_proxy"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python/lldb/__init__.py", line 98, in <module>
import six
ImportError: No module named six
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined