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

Not able to open the app #4141

Open
2 tasks done
lkhore opened this issue Jul 25, 2023 · 3 comments
Open
2 tasks done

Not able to open the app #4141

lkhore opened this issue Jul 25, 2023 · 3 comments

Comments

@lkhore
Copy link

lkhore commented Jul 25, 2023

What happened?

Not able to open the app when we are detox test --configuration android.att.debug

What was the expected behaviour?

When the app is successfully install then need to open app automatically and run testcase

Was it tested on latest Detox?

  • I have tested this issue on the latest Detox release and it still reproduces.

Did your test throw out a timeout?

Help us reproduce this issue!

No response

In what environment did this happen?

Detox version: 20.11.1
React Native version: 0.67.4
Has Fabric (React Native's new rendering system) enabled: (yes/no) no
Node version: 16.10.0
Device model: Redmi Note 12 5G
Android version: 12
Test-runner (select one): jest

Detox logs

Detox logs
detox test --configuration android.att.debug --loglevel trace
19:26:00.474 detox[28836] B lifecycle node_modules\detox\local-cli\cli.js test --configuration android.att.debug --loglevel trace
  data: {
    "id": "695e184c-dabb-0db4-646c-35791ba81fc5",
    "detoxConfig": {
      "configurationName": "android.att.debug",
      "apps": {
        "default": {
          "type": "android.apk",
          "binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
          "build": "cd android && gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug",
          "reversePorts": [
            8081
          ]
        }
      },
      "artifacts": {
        "rootDir": "artifacts\\android.att.debug.2023-07-25 13-56-00Z",
        "plugins": {
          "log": {
            "enabled": false,
            "keepOnlyFailedTestsArtifacts": false
          },
          "screenshot": {
            "enabled": true,
            "shouldTakeAutomaticSnapshots": false,
            "keepOnlyFailedTestsArtifacts": false
          },
          "video": {
            "enabled": false,
            "keepOnlyFailedTestsArtifacts": false
          },
          "instruments": {
            "enabled": false,
            "keepOnlyFailedTestsArtifacts": false
          },
          "uiHierarchy": {
            "enabled": false,
            "keepOnlyFailedTestsArtifacts": false
          }
        }
      },
      "behavior": {
        "init": {
          "keepLockFile": false,
          "reinstallApp": true,
          "exposeGlobals": true
        },
        "cleanup": {
          "shutdownDevice": false
        },
        "launchApp": "auto"
      },
      "cli": {
        "configuration": "android.att.debug",
        "loglevel": "trace",
        "start": true
      },
      "device": {
        "type": "android.attached",
        "device": {
          "adbName": ".*"
        }
      },
      "logger": {
        "level": "trace",
        "overrideConsole": true,
        "options": {
          "showLoggerName": true,
          "showPid": true,
          "showLevel": false,
          "showMetadata": false,
          "basepath": "D:\\Repo\\TIDispense\\node_modules\\detox\\src",
          "prefixers": {},
          "stringifiers": {}
        }
      },
      "testRunner": {
        "retries": 0,
        "forwardEnv": false,
        "bail": false,
        "jest": {
          "setupTimeout": 120000,
          "teardownTimeout": 30000,
          "retryAfterCircusRetries": false,
          "reportWorkerAssign": true
        },
        "args": {
          "$0": "jest",
          "_": [],
          "config": "e2e/jest.config.js",
          "--": []
        }
      },
      "session": {
        "autoStart": true,
        "debugSynchronization": 10000
      }
    },
    "detoxIPCServer": "primary-28836",
    "testResults": [],
    "testSessionIndex": 0,
    "workersCount": 0
  }
19:26:00.492 detox[28836] i ipc Server path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + ipc.config.id /tmp/detox.primary-28836
19:26:00.493 detox[28836] i ipc starting server on  /tmp/detox.primary-28836 
19:26:00.493 detox[28836] i ipc starting TLS server false
19:26:00.494 detox[28836] i ipc starting server as Unix || Windows Socket
19:26:00.498 detox[28836] i ws-server Detox server listening on localhost:52591...
19:26:00.501 detox[28836] i lifecycle Serialized the session state at: C:\Users\LKhore\AppData\Local\Temp\695e184c-dabb-0db4-646c-35791ba81fc5.detox.json
19:26:00.503 detox[28836] B lifecycle jest --config e2e/jest.config.js
Determining test suites to run...19:26:01.190 detox[21996] i ipc Service path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + id 
19:26:01.192 detox[21996] i ipc requested connection to  primary-28836 /tmp/detox.primary-28836
19:26:01.192 detox[21996] i ipc Connecting client on Unix Socket : /tmp/detox.primary-28836
19:26:01.193 detox[28836] i ipc ## socket connection to server detected ##
19:26:01.193 detox[21996] i ipc retrying reset
19:26:01.195 detox[21996] i ipc dispatching event to  primary-28836 /tmp/detox.primary-28836  :  registerContext , { id: 'secondary-21996' }
19:26:01.197 detox[28836] i ipc received event of :  registerContext { id: 'secondary-21996' }
19:26:01.197 detox[28836] i ipc dispatching event to socket  :  registerContextDone { testResults: [], testSessionIndex: 0 }
19:26:01.197 detox[21996] i ipc ## received events ##
19:26:01.198 detox[21996] i ipc detected event registerContextDone { testResults: [], testSessionIndex: 0 }
19:26:01.267 detox[21996] B lifecycle e2e\starter.test.js
19:26:01.282 detox[21996] B lifecycle set up environment
19:26:01.283 detox[21996] i ipc dispatching event to  primary-28836 /tmp/detox.primary-28836  :  registerWorker , { workerId: 'w1' }

 RUNS  e2e/starter.test.js
19:26:01.285 detox[28836] i ipc received event of :  registerWorker { workerId: 'w1' }
19:26:01.286 detox[21996] i ipc ## received events ##socket  :  registerWorkerDone { workersCount: 1 }
19:26:01.287 detox[21996] i ipc detected event registerWorkerDone { workersCount: 1 }
19:26:01.390 detox[21996] i ipc ## received events ##
19:26:01.391 detox[21996] i ipc detected event sessionStateUpdate { workersCount: 1 }

19:26:01.395 detox[21996] i ws-client opened web socket to: ws://localhost:52591
19:26:01.396 detox[21996] i ws-client send message
  data: {"type":"login","params":{"sessionId":"5109fa0f-26a5-d48d-5db9-aad05a6dbfbd","role":"tester"},"messageId":0}

 RUNS  e2e/starter.test.js
19:26:01.398 detox[28836] i ws-server@52592 get
  data: {"type":"login","params":{"sessionId":"5109fa0f-26a5-d48d-5db9-aad05a6dbfbd","role":"tester"},"messageId":0}
19:26:01.398 detox[28836] i ws-server created session 5109fa0f-26a5-d48d-5db9-aad05a6dbfbd
19:26:01.399 detox[28836] i ws-server@52592 send
  data: {
    "type": "loginSuccess",
    "params": {
      "testerConnected": true,
      "appConnected": false
    },
    "messageId": 0
19:26:01.399 detox[21996] i ws-client get message
  data: {"type":"loginSuccess","params":{"testerConnected":true,"appConnected":false},"messageId":0}
   
19:26:01.444 detox[21996] B device allocate
  args: ({"type":"android.attached","device":{"adbName":".*"}})
19:26:01.447 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE"  devices
19:26:06.444 detox[21996] i child-process:EXEC_SUCCESS List of devices attached
15db14640922    device


19:26:06.448 detox[21996] i device:DEVICE_LOOKUP Found a matching & free device 15db14640922
19:26:06.452 detox[21996] E device allocate
19:26:06.452 detox[21996] B device postAllocate
  args: ({"adbName":"15db14640922"})
19:26:06.454 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "getprop ro.build.version.sdk"
19:26:06.547 detox[21996] i child-process:EXEC_SUCCESS 31

19:26:06.548 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "dumpsys power | grep \"^[ ]*m[UW].*=\""
19:26:06.742 detox[21996] i child-process:EXEC_SUCCESS   mWakefulness=Awake
  mWakefulnessChanging=false
  mWakeLockSummary=0x0
  mWakeUpWhenPluggedOrUnpluggedConfig=true
  mWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false
  mDreamsBatteryLevelMinimumWhenPoweredConfig=-1
  mDreamsBatteryLevelMinimumWhenNotPoweredConfig=15
  mScreenBrightnessOverrideFromWindowManager=NaN
  mUserActivityTimeoutOverrideFromWindowManager=-1
  mUserInactiveOverrideFromWindowManager=false
  mUserId=0
  mWakeLockSummary=0x0
  mUserInteractionBackoffMillis=60000

19:26:06.744 detox[21996] B artifacts-manager onBootDevice
  args: ({"deviceId":"15db14640922","type":"device","coldBoot":false})
19:26:06.745 detox[21996] E artifacts-manager onBootDevice
19:26:06.746 detox[21996] E device postAllocate
19:26:06.781 detox[21996] B device installUtilBinaries
  args: ()
19:26:06.782 detox[21996] E device installUtilBinaries
19:26:06.783 detox[21996] B device selectApp
  args: ("default")
19:26:06.787 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\build-tools\34.0.0\aapt.EXE" dump badging "D:\Repo\TIDispense\android\app\build\output
s\apk\debug\app-debug.apk"
19:26:06.815 detox[21996] i child-process:EXEC_SUCCESS package: name='com.tidispense' versionCode='1' versionName='1.0' platformBuildVersionName='11' platformBuildVersionCode='30' comp
ileSdkVersion='30' compileSdkVersionCodename='11'
sdkVersion:'29'
targetSdkVersion:'31'
uses-permission: name='android.permission.SYSTEM_ALERT_WINDOW'
uses-permission: name='android.permission.INTERNET'
uses-permission: name='android.permission.ACCESS_NETWORK_STATE'
uses-permission: name='android.permission.ACCESS_WIFI_STATE'
uses-permission: name='android.permission.CHANGE_WIFI_MULTICAST_STATE'
uses-permission: name='android.permission.BLUETOOTH'
uses-permission: name='android.permission.BLUETOOTH_ADMIN'
uses-permission: name='android.permission.BLUETOOTH_ADVERTISE'
uses-permission: name='android.permission.BLUETOOTH_SCAN'
uses-permission: name='android.permission.BLUETOOTH_CONNECT'
uses-permission: name='android.permission.ACCESS_COARSE_LOCATION'
uses-permission: name='android.permission.ACCESS_FINE_LOCATION'
uses-permission: name='android.permission.WRITE_CONTACTS'
uses-permission: name='android.permission.READ_PROFILE'
uses-permission: name='android.permission.READ_CONTACTS'
uses-permission: name='android.permission.VIBRATE'
uses-permission: name='android.permission.WAKE_LOCK'
uses-permission: name='android.permission.CAMERA'
uses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE'
uses-permission: name='android.permission.CHANGE_NETWORK_STATE'
uses-permission: name='com.android.vending.CHECK_LICENSE'
uses-permission: name='com.google.android.gms.permission.AD_ID'
uses-permission: name='com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE'
uses-permission: name='com.google.android.c2dm.permission.RECEIVE'
uses-permission-sdk-23: name='android.permission.ACCESS_COARSE_LOCATION'
uses-permission-sdk-23: name='android.permission.ACCESS_FINE_LOCATION'
application-label:'TI Dispense'
application-label-af:'TI Dispense'
application-label-am:'TI Dispense'
application-label-ar:'TI Dispense'
application-label-as:'TI Dispense'
application-label-az:'TI Dispense'
application-label-be:'TI Dispense'
application-label-bg:'TI Dispense'
application-label-bn:'TI Dispense'
application-label-bs:'TI Dispense'
application-label-ca:'TI Dispense'
application-label-cs:'TI Dispense'
application-label-da:'TI Dispense'
application-label-de:'TI Dispense'
application-label-el:'TI Dispense'
application-label-en-AU:'TI Dispense'
application-label-en-CA:'TI Dispense'
application-label-en-GB:'TI Dispense'
application-label-en-IN:'TI Dispense'
application-label-en-XC:'TI Dispense'
application-label-es:'TI Dispense'
application-label-es-US:'TI Dispense'
application-label-et:'TI Dispense'
application-label-eu:'TI Dispense'
application-label-fa:'TI Dispense'
application-label-fi:'TI Dispense'
application-label-fr:'TI Dispense'
application-label-fr-CA:'TI Dispense'
application-label-gl:'TI Dispense'
application-label-gu:'TI Dispense'
application-label-he:'TI Dispense'
application-label-hi:'TI Dispense'
application-label-hr:'TI Dispense'
application-label-hu:'TI Dispense'
application-label-hy:'TI Dispense'
application-label-in:'TI Dispense'
application-label-is:'TI Dispense'
application-label-it:'TI Dispense'
application-label-iw:'TI Dispense'
application-label-ja:'TI Dispense'
application-label-ka:'TI Dispense'
application-label-kk:'TI Dispense'
application-label-km:'TI Dispense'
application-label-kn:'TI Dispense'
application-label-ko:'TI Dispense'
application-label-ky:'TI Dispense'
application-label-lo:'TI Dispense'
application-label-lt:'TI Dispense'
application-label-lv:'TI Dispense'
application-label-mk:'TI Dispense'
application-label-ml:'TI Dispense'
application-label-mn:'TI Dispense'
application-label-mr:'TI Dispense'
application-label-ms:'TI Dispense'
application-label-my:'TI Dispense'
application-label-nb:'TI Dispense'
application-label-ne:'TI Dispense'
application-label-nl:'TI Dispense'
application-label-nn:'TI Dispense'
application-label-no:'TI Dispense'
application-label-or:'TI Dispense'
application-label-pa:'TI Dispense'
application-label-pl:'TI Dispense'
application-label-pt:'TI Dispense'
application-label-pt-BR:'TI Dispense'
application-label-pt-PT:'TI Dispense'
application-label-ro:'TI Dispense'
application-label-ru:'TI Dispense'
application-label-si:'TI Dispense'
application-label-sk:'TI Dispense'
application-label-sl:'TI Dispense'
application-label-sq:'TI Dispense'
application-label-sr:'TI Dispense'
application-label-sr-Latn:'TI Dispense'
application-label-sv:'TI Dispense'
application-label-sw:'TI Dispense'
application-label-ta:'TI Dispense'
application-label-te:'TI Dispense'
application-label-th:'TI Dispense'
application-label-tl:'TI Dispense'
application-label-tr:'TI Dispense'
application-label-uk:'TI Dispense'
application-label-ur:'TI Dispense'
application-label-uz:'TI Dispense'
application-label-vi:'TI Dispense'
application-label-zh-CN:'TI Dispense'
application-label-zh-HK:'TI Dispense'
application-label-zh-TW:'TI Dispense'
application-label-zu:'TI Dispense'
application-icon-120:'res/mipmap-anydpi-v26/ic_launcher.xml'
application-icon-160:'res/mipmap-anydpi-v26/ic_launcher.xml'
application-icon-240:'res/mipmap-anydpi-v26/ic_launcher.xml'
application-icon-320:'res/mipmap-anydpi-v26/ic_launcher.xml'
application-icon-480:'res/mipmap-anydpi-v26/ic_launcher.xml'
application-icon-640:'res/mipmap-anydpi-v26/ic_launcher.xml'
application-icon-65534:'res/mipmap-anydpi-v26/ic_launcher.xml'
application: label='TI Dispense' icon='res/mipmap-anydpi-v26/ic_launcher.xml'
application-debuggable
launchable-activity: name='com.tidispense.MainActivity'  label='TI Dispense' icon=''
uses-permission: name='android.permission.READ_EXTERNAL_STORAGE'
uses-implied-permission: name='android.permission.READ_EXTERNAL_STORAGE' reason='requested WRITE_EXTERNAL_STORAGE'
feature-group: label=''
  uses-feature-not-required: name='android.hardware.bluetooth'
  uses-feature: name='android.hardware.bluetooth_le'
  uses-feature-not-required: name='android.hardware.camera'
  uses-feature-not-required: name='android.hardware.camera.autofocus'
  uses-feature: name='android.hardware.faketouch'
  uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
  uses-feature: name='android.hardware.location'
  uses-implied-feature: name='android.hardware.location' reason='requested android.permission.ACCESS_COARSE_LOCATION permission, and requested android.permission.ACCESS_FINE_LOCATION p
ermission'
  uses-feature: name='android.hardware.screen.portrait'
  uses-implied-feature: name='android.hardware.screen.portrait' reason='one or more activities have specified a portrait orientation'
  uses-feature: name='android.hardware.wifi'
  uses-implied-feature: name='android.hardware.wifi' reason='requested android.permission.ACCESS_WIFI_STATE permission, and requested android.permission.CHANGE_WIFI_MULTICAST_STATE per
mission'
main
other-activities
other-receivers
other-services
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--' 'af' 'am' 'ar' 'as' 'az' 'be' 'bg' 'bn' 'bs' 'ca' 'cs' 'da' 'de' 'el' 'en-AU' 'en-CA' 'en-GB' 'en-IN' 'en-XC' 'es' 'es-US' 'et' 'eu' 'fa' 'fi' 'fr' 'fr-CA' 'gl' 'gu' '
he' 'hi' 'hr' 'hu' 'hy' 'in' 'is' 'it' 'iw' 'ja' 'ka' 'kk' 'km' 'kn' 'ko' 'ky' 'lo' 'lt' 'lv' 'mk' 'ml' 'mn' 'mr' 'ms' 'my' 'nb' 'ne' 'nl' 'nn' 'no' 'or' 'pa' 'pl' 'pt' 'pt-BR' 'pt-PT'
 'ro' 'ru' 'si' 'sk' 'sl' 'sq' 'sr' 'sr-Latn' 'sv' 'sw' 'ta' 'te' 'th' 'tl' 'tr' 'uk' 'ur' 'uz' 'vi' 'zh-CN' 'zh-HK' 'zh-TW' 'zu'
densities: '120' '160' '240' '320' '480' '640' '65534'
native-code: 'arm64-v8a' 'armeabi-v7a' 'x86' 'x86_64'

19:26:06.819 detox[21996] E device selectApp
19:26:06.819 detox[21996] B device uninstallApp
  args: ()
19:26:06.820 detox[21996] B artifacts-manager onBeforeUninstallApp
  args: ({"deviceId":"15db14640922","bundleId":"com.tidispense"})
19:26:06.820 detox[21996] E artifacts-manager onBeforeUninstallApp
19:26:06.820 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "pm list packages com.tidispense"
19:26:06.915 detox[21996] i child-process:EXEC_SUCCESS package:com.tidispense.test
package:com.tidispense

19:26:06.917 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 uninstall com.tidispense
19:26:07.393 detox[21996] i child-process:EXEC_SUCCESS Success

19:26:07.394 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "pm list packages com.tidispense.test"
19:26:07.489 detox[21996] i child-process:EXEC_SUCCESS package:com.tidispense.test

19:26:07.490 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 uninstall com.tidispense.test
19:26:08.336 detox[21996] i child-process:EXEC_SUCCESS Success

19:26:08.337 detox[21996] E device uninstallApp
19:26:08.338 detox[21996] B device selectApp
  args: ("default")
19:26:08.339 detox[21996] B device terminateApp
  args: ()
19:26:08.340 detox[21996] B artifacts-manager onBeforeTerminateApp
  args: ({"deviceId":"15db14640922","bundleId":"com.tidispense"})
19:26:08.341 detox[21996] E artifacts-manager onBeforeTerminateApp
19:26:08.342 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "am force-stop com.tidispense"
19:26:08.447 detox[21996] i child-process:EXEC_SUCCESS
19:26:08.448 detox[21996] B artifacts-manager onTerminateApp
  args: ({"deviceId":"15db14640922","bundleId":"com.tidispense"})
19:26:08.448 detox[21996] E artifacts-manager onTerminateApp
19:26:08.449 detox[21996] E device terminateApp
19:26:08.449 detox[21996] E device selectApp
19:26:08.449 detox[21996] B device installApp
  args: ()
19:26:08.450 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\build-tools\34.0.0\aapt.EXE" dump xmlstrings "D:\Repo\TIDispense\android\app\build\out
puts\apk\debug\app-debug.apk" AndroidManifest.xml
19:26:08.476 detox[21996] i child-process:EXEC_SUCCESS String pool of 167 unique UTF-16 non-sorted strings, 167 entries and 0 styles using 12616 bytes:
String #0: theme
String #1: label
String #2: icon
String #3: name
String #4: permission
String #5: enabled
String #6: debuggable
String #7: exported
String #8: excludeFromRecents
String #9: authorities
String #10: initOrder
String #11: grantUriPermissions
String #12: launchMode
String #13: screenOrientation
String #14: configChanges
String #15: value
String #16: resource
String #17: scheme
String #18: host
String #19: path
String #20: minSdkVersion
String #21: versionCode
String #22: versionName
String #23: windowSoftInputMode
String #24: targetSdkVersion
String #25: allowBackup
String #26: required
String #27: hardwareAccelerated
String #28: largeHeap
String #29: extractNativeLibs
String #30: usesCleartextTraffic
String #31: directBootAware
String #32: networkSecurityConfig
String #33: roundIcon
String #34: visibleToInstantApps
String #35: compileSdkVersion
String #36: compileSdkVersionCodename
String #37: appComponentFactory
String #38: /Xo8WBi6jzSxKDVR4drqm84yr9iU=
String #39: 1.0
String #40: 11
String #41: action
String #42: activity
String #43: android
String #44: android.hardware.bluetooth
String #45: android.hardware.bluetooth_le
String #46: android.hardware.camera
String #47: android.hardware.camera.autofocus
String #48: android.intent.action.MAIN
String #49: android.intent.action.VIEW
String #50: android.intent.category.BROWSABLE
String #51: android.intent.category.DEFAULT
String #52: android.intent.category.LAUNCHER
String #53: android.permission.ACCESS_COARSE_LOCATION
String #54: android.permission.ACCESS_FINE_LOCATION
String #55: android.permission.ACCESS_NETWORK_STATE
String #56: android.permission.ACCESS_WIFI_STATE
String #57: android.permission.BIND_JOB_SERVICE
String #58: android.permission.BLUETOOTH
String #59: android.permission.BLUETOOTH_ADMIN
String #60: android.permission.BLUETOOTH_ADVERTISE
String #61: android.permission.BLUETOOTH_CONNECT
String #62: android.permission.BLUETOOTH_SCAN
String #63: android.permission.CAMERA
String #64: android.permission.CHANGE_NETWORK_STATE
String #65: android.permission.CHANGE_WIFI_MULTICAST_STATE
String #66: android.permission.INTERNET
String #67: android.permission.READ_CONTACTS
String #68: android.permission.READ_PROFILE
String #69: android.permission.SYSTEM_ALERT_WINDOW
String #70: android.permission.VIBRATE
String #71: android.permission.WAKE_LOCK
String #72: android.permission.WRITE_CONTACTS
String #73: android.permission.WRITE_EXTERNAL_STORAGE
String #74: android.support.FILE_PROVIDER_PATHS
String #75: android.support.customtabs.action.CustomTabsService
String #76: androidx.core.app.CoreComponentFactory
String #77: app_data_collection_default_enabled
String #78: application
String #79: backend:com.google.android.datatransport.cct.CctBackendFactory
String #80: category
String #81: cct
String #82: cl.json.RNShareFileProvider
String #83: com.RNFetchBlob.Utils.FileProvider
String #84: com.android.vending.CHECK_LICENSE
String #85: com.azure.authenticator
String #86: com.facebook.react.devsupport.DevSettingsActivity
String #87: com.google.android.c2dm.permission.RECEIVE
String #88: com.google.android.datatransport.runtime.backends.TransportBackendDiscovery
String #89: com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver
String #90: com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService
String #91: com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE
String #92: com.google.android.gms.ads.AD_MANAGER_APP
String #93: com.google.android.gms.ads.AdActivity
String #94: com.google.android.gms.ads.MobileAdsInitProvider
String #95: com.google.android.gms.auth.api.signin.RevocationBoundService
String #96: com.google.android.gms.auth.api.signin.internal.SignInHubActivity
String #97: com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION
String #98: com.google.android.gms.common.api.GoogleApiActivity
String #99: com.google.android.gms.measurement.AppMeasurementJobService
String #100: com.google.android.gms.measurement.AppMeasurementReceiver
String #101: com.google.android.gms.measurement.AppMeasurementService
String #102: com.google.android.gms.permission.AD_ID
String #103: com.google.android.gms.version
String #104: com.google.firebase.components.ComponentDiscoveryService
String #105: com.google.firebase.components.ComponentRegistrar
String #106: com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar
String #107: com.google.firebase.components:com.google.firebase.crashlytics.CrashlyticsRegistrar
String #108: com.google.firebase.components:com.google.firebase.crashlytics.ndk.CrashlyticsNdkRegistrar
String #109: com.google.firebase.components:com.google.firebase.installations.FirebaseInstallationsRegistrar
String #110: com.google.firebase.components:com.google.mlkit.common.internal.CommonComponentRegistrar
String #111: com.google.firebase.components:com.google.mlkit.vision.barcode.internal.BarcodeRegistrar
String #112: com.google.firebase.components:com.google.mlkit.vision.common.internal.VisionCommonRegistrar
String #113: com.google.firebase.components:com.google.mlkit.vision.face.internal.FaceRegistrar
String #114: com.google.firebase.components:com.google.mlkit.vision.text.internal.TextRegistrar
String #115: com.google.firebase.components:io.invertase.firebase.app.ReactNativeFirebaseAppRegistrar
String #116: com.google.firebase.provider.FirebaseInitProvider
String #117: com.google.mlkit.common.internal.MlKitComponentDiscoveryService
String #118: com.google.mlkit.common.internal.MlKitInitProvider
String #119: com.microsoft.identity.client.BrowserTabActivity
String #120: com.microsoft.identity.client.CurrentTaskBrowserTabActivity
String #121: com.microsoft.identity.client.helper.BrokerHelperActivity
String #122: com.microsoft.identity.common.internal.broker.BrokerActivity
String #123: com.microsoft.identity.common.internal.providers.oauth2.AuthorizationActivity
String #124: com.microsoft.identity.common.internal.providers.oauth2.CurrentTaskAuthorizationActivity
String #125: com.microsoft.identity.testuserapp
String #126: com.microsoft.windowsintune.companyportal
String #127: com.reactnativecommunity.webview.RNCWebViewFileProvider
String #128: com.tidispense
String #129: com.tidispense.MainActivity
String #130: com.tidispense.MainApplication
String #131: com.tidispense.fileprovider
String #132: com.tidispense.firebaseinitprovider
String #133: com.tidispense.mlkitinitprovider
String #134: com.tidispense.mobileadsinitprovider
String #135: com.tidispense.provider
String #136: com.tidispense.reactnativefirebaseappinitprovider
String #137: com.tidispense.reactnativefirebasecrashlyticsinitprovider
String #138: com.tidispense.rnshare.fileprovider
String #139: data
String #140: firebase_analytics_collection_deactivated
String #141: firebase_analytics_collection_enabled
String #142: firebase_crashlytics_collection_enabled
String #143: google_analytics_adid_collection_enabled
String #144: google_analytics_automatic_screen_reporting_enabled
String #145: google_analytics_default_allow_ad_personalization_signals
String #146: google_analytics_ssaid_collection_enabled
String #147: http://schemas.android.com/apk/res/android
String #148: https
String #149: intent
String #150: intent-filter
String #151: io.invertase.firebase.app.ReactNativeFirebaseAppInitProvider
String #152: io.invertase.firebase.crashlytics.ReactNativeFirebaseCrashlyticsInitProvider
String #153: manifest
String #154: meta-data
String #155: msauth
String #156: package
String #157: platformBuildVersionCode
String #158: platformBuildVersionName
String #159: provider
String #160: queries
String #161: receiver
String #162: service
String #163: uses-feature
String #164: uses-permission
String #165: uses-permission-sdk-23
String #166: uses-sdk

19:26:08.479 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\build-tools\34.0.0\aapt.EXE" dump xmlstrings "D:\Repo\TIDispense\android\app\build\out
puts\apk\androidTest\debug\app-debug-androidTest.apk" AndroidManifest.xml
19:26:08.504 detox[21996] i child-process:EXEC_SUCCESS String pool of 43 unique UTF-16 non-sorted strings, 43 entries and 0 styles using 2108 bytes:
String #0: theme
String #1: label
String #2: name
String #3: debuggable
String #4: exported
String #5: priority
String #6: targetPackage
String #7: handleProfiling
String #8: functionalTest
String #9: minSdkVersion
String #10: targetSdkVersion
String #11: extractNativeLibs
String #12: compileSdkVersion
String #13: compileSdkVersionCodename
String #14: 11
String #15: Tests for com.tidispense
String #16: activity
String #17: android
String #18: android.intent.category.LAUNCHER
String #19: android.permission.REORDER_TASKS
String #20: android.test.runner
String #21: androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity
String #22: androidx.test.core.app.InstrumentationActivityInvoker$EmptyActivity
String #23: androidx.test.core.app.InstrumentationActivityInvoker$EmptyFloatingActivity
String #24: androidx.test.orchestrator
String #25: androidx.test.runner.AndroidJUnitRunner
String #26: androidx.test.services
String #27: application
String #28: category
String #29: com.google.android.apps.common.testing.services
String #30: com.tidispense
String #31: com.tidispense.test
String #32: http://schemas.android.com/apk/res/android
String #33: instrumentation
String #34: intent-filter
String #35: manifest
String #36: package
String #37: platformBuildVersionCode
String #38: platformBuildVersionName
String #39: queries
String #40: uses-library
String #41: uses-permission
String #42: uses-sdk

19:26:08.511 detox[21996] i child-process:SPAWN_CMD C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE -s 15db14640922 install -r -g -t D:\Repo\TIDispense\android\app
\build\outputs\apk\debug\app-debug.apk
19:26:20.244 detox[21996] i child-process:SPAWN_STDOUT Performing Streamed Install
Success

19:26:20.247 detox[21996] i child-process:SPAWN_END C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE -s 15db14640922 install -r -g -t D:\Repo\TIDispense\android\app
\build\outputs\apk\debug\app-debug.apk exited with code #0
19:26:20.253 detox[21996] i child-process:SPAWN_CMD C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE -s 15db14640922 install -r -g -t D:\Repo\TIDispense\android\app
\build\outputs\apk\androidTest\debug\app-debug-androidTest.apk
19:26:40.751 detox[21996] i child-process:SPAWN_STDOUT Performing Streamed Install
Success

19:26:40.754 detox[21996] i child-process:SPAWN_END C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE -s 15db14640922 install -r -g -t D:\Repo\TIDispense\android\app
\build\outputs\apk\androidTest\debug\app-debug-androidTest.apk exited with code #0
19:26:40.755 detox[21996] B device reverseTcpPort
  args: (8081)
19:26:40.756 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 reverse tcp:8081 tcp:8081
19:26:40.808 detox[21996] i child-process:EXEC_SUCCESS
19:26:40.808 detox[21996] E device reverseTcpPort
19:26:40.809 detox[21996] E device installApp
19:26:40.809 detox[21996] B device selectApp
  args: ("default")
19:26:40.809 detox[21996] B device terminateApp
  args: ()
19:26:40.810 detox[21996] B artifacts-manager onBeforeTerminateApp
  args: ({"deviceId":"15db14640922","bundleId":"com.tidispense"})
19:26:40.810 detox[21996] E artifacts-manager onBeforeTerminateApp
19:26:40.810 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "am force-stop com.tidispense"
19:26:41.115 detox[21996] i child-process:EXEC_SUCCESS
19:26:41.115 detox[21996] B artifacts-manager onTerminateApp
  args: ({"deviceId":"15db14640922","bundleId":"com.tidispense"})
19:26:41.116 detox[21996] E artifacts-manager onTerminateApp
19:26:41.116 detox[21996] E device terminateApp
19:26:41.117 detox[21996] E device selectApp
19:26:41.117 detox[21996] E lifecycle set up environment
19:26:41.514 detox[21996] i lifecycle starter.test.js is assigned to AttachedDevice:15db14640922
19:26:41.514 detox[21996] B lifecycle run the tests
19:26:41.515 detox[21996] B artifacts-manager onRunDescribeStart
  args: ({"name":"ROOT_DESCRIBE_BLOCK"})
19:26:41.516 detox[21996] E artifacts-manager onRunDescribeStart
19:26:41.516 detox[21996] B lifecycle Example
19:26:41.516 detox[21996] B artifacts-manager onRunDescribeStart
  args: ({"name":"Example"})
19:26:41.517 detox[21996] E artifacts-manager onRunDescribeStart
19:26:41.517 detox[21996] B lifecycle beforeAll
19:26:41.520 detox[21996] B device launchApp
  args: 
19:26:41.521 detox[21996] B device terminateApp
  args: ("com.tidispense")
19:26:41.521 detox[21996] B artifacts-manager onBeforeTerminateApp
  args: ({"deviceId":"15db14640922","bundleId":"com.tidispense"})
19:26:41.521 detox[21996] E artifacts-manager onBeforeTerminateApp
19:26:41.522 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "am force-stop com.tidispense"
19:26:41.623 detox[21996] i child-process:EXEC_SUCCESS
19:26:41.624 detox[21996] B artifacts-manager onTerminateApp
  args: ({"deviceId":"15db14640922","bundleId":"com.tidispense"})
19:26:41.624 detox[21996] E artifacts-manager onTerminateApp
19:26:41.624 detox[21996] E device terminateApp
19:26:41.625 detox[21996] B artifacts-manager onBeforeLaunchApp
19:26:41.627 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "date +\"%m-%d %T.000\""
19:26:41.703 detox[21996] i child-process:EXEC_SUCCESS 07-25 19:26:44.000

19:26:41.704 detox[21996] E artifacts-manager onBeforeLaunchApp
19:26:41.705 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 reverse tcp:52591 tcp:52591
19:26:41.764 detox[21996] i child-process:EXEC_SUCCESS 52591

19:26:41.765 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "pm list instrumentation"
19:26:41.877 detox[21996] i child-process:EXEC_SUCCESS instrumentation:com.tidispense.test/androidx.test.runner.AndroidJUnitRunner (target=com.tidispense)

19:26:41.882 detox[21996] i child-process:SPAWN_CMD C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE -s 15db14640922 shell am instrument -w -r -e detoxServer ws://l
ocalhost:52591 -e detoxSessionId 5109fa0f-26a5-d48d-5db9-aad05a6dbfbd -e isAutomatedTest dHJ1ZQ== -e permissions eyJsb2NhdGlvbiI6ImFsd2F5cyJ9 -e detoxURLBlacklistRegex " \(\"^http://lo
calhost:\d{4}?/[a-z]+/\d{4}?$\"\)" -e token eyJhY2NvdW50Ijp7ImNsYWltcyI6eyJmYW1pbHlfbmFtZSI6Iktob3JlIiwiZXh0ZW5zaW9uX0FwcGxpY2F0aW9uIjoiVElJbnNpZ2h0LFRJRGlzcGVuc2UsVElTZXJ2aWNlLFRJRGF0
YUh1YiIsImV4dGVuc2lvbl9DdXN0b21lcklkIjoiSWRleCIsIm5hbWUiOiJMb3Zla2VzaEtob3JlIiwib2lkIjoiMWMxNzI2N2ItMWI5My00ZTg0LTkyNjktNGIyOGZlN2MxZjczIiwiYXVkIjpbIjRhNmIwODBiLWJkYWEtNDY3MC05MmFhLWJl
MDQ0MThlYjMxMSJdLCJlbWFpbHMiOlsiTEtob3JlQGlkZXhjb3JwLmNvbSJdLCJnaXZlbl9uYW1lIjoiTG92ZWtlc2giLCJpc3MiOiJodHRwczovL2lkZXh0aW50ZWxsaWdlbmNlLmIyY2xvZ2luLmNvbS82NzBkMDU2NS02ZWE1LTQ5OTktYmUx
OC0wMTk2NTRiYTI2YWQvdjIuMC8iLCJ2ZXIiOiIxLjAiLCJzdWIiOiIxYzE3MjY3Yi0xYjkzLTRlODQtOTI2OS00YjI4ZmU3YzFmNzMiLCJleHRlbnNpb25fUm9sZXMiOiJUSUluc2lnaHQtU3VwZXJBZG1pbixUSURpc3BlbnNlLUJhc2ljLFRJ
U2VydmljZS1CYXNpYyxUSURhdGFIdWItU3VwZXJBZG1pbiIsImV4dGVuc2lvbl9Jc1VzZXJBY3RpdmUiOnRydWUsInRmcCI6IkIyQ18xX1NpZ25JbiIsImF0X2hhc2giOiJkRkVwQV9CX3BVZWNobEpwZzU5Z093In0sInRlbmFudElkIjoiNjcw
ZDA1NjUtNmVhNS00OTk5LWJlMTgtMDE5NjU0YmEyNmFkIiwidXNlcm5hbWUiOiJNaXNzaW5nIGZyb20gdGhlIHRva2VuIHJlc3BvbnNlIiwiaWRlbnRpZmllciI6IjFjMTcyNjdiLTFiOTMtNGU4NC05MjY5LTRiMjhmZTdjMWY3My1iMmNfMV9z
aWduaW4ifSwidGVuYW50SWQiOiI2NzBkMDU2NS02ZWE1LTQ5OTktYmUxOC0wMTk2NTRiYTI2YWQiLCJhY2Nlc3NUb2tlbiI6ImV5SmhiR2NpT2lKU1V6STFOaUlzSW10cFpDSTZJbGcxWlZock5IaDViMnBPUm5WdE1XdHNNbGwwZGpoa2JFNVFO
QzFqTlRka1R6WlJSMVJXUW5kaFRtc2lMQ0owZVhBaU9pSktWMVFpZlEuZXlKdmFXUWlPaUl4WXpFM01qWTNZaTB4WWprekxUUmxPRFF0T1RJMk9TMDBZakk0Wm1VM1l6Rm1Oek1pTENKemRXSWlPaUl4WXpFM01qWTNZaTB4WWprekxUUmxPRFF0
T1RJMk9TMDBZakk0Wm1VM1l6Rm1Oek1pTENKdVlXMWxJam9pVEc5MlpXdGxjMmhMYUc5eVpTSXNJbWRwZG1WdVgyNWhiV1VpT2lKTWIzWmxhMlZ6YUNJc0ltWmhiV2xzZVY5dVlXMWxJam9pUzJodmNtVWlMQ0psYldGcGJITWlPbHNpVEV0b2Iz
SmxRR2xrWlhoamIzSndMbU52YlNKZExDSmxlSFJsYm5OcGIyNWZVbTlzWlhNaU9pSlVTVWx1YzJsbmFIUXRVM1Z3WlhKQlpHMXBiaXhVU1VScGMzQmxibk5sTFVKaGMybGpMRlJKVTJWeWRtbGpaUzFDWVhOcFl5eFVTVVJoZEdGSWRXSXRVM1Z3
WlhKQlpHMXBiaUlzSW1WNGRHVnVjMmx2Ymw5RGRYTjBiMjFsY2tsa0lqb2lTV1JsZUNJc0ltVjRkR1Z1YzJsdmJsOUJjSEJzYVdOaGRHbHZiaUk2SWxSSlNXNXphV2RvZEN4VVNVUnBjM0JsYm5ObExGUkpVMlZ5ZG1salpTeFVTVVJoZEdGSWRX
SWlMQ0psZUhSbGJuTnBiMjVmU1hOVmMyVnlRV04wYVhabElqcDBjblZsTENKMFpuQWlPaUpDTWtOZk1WOVRhV2R1U1c0aUxDSnpZM0FpT2lKQmJHeFZjMlZ5Y3lJc0ltRjZjQ0k2SWpSaE5tSXdPREJpTFdKa1lXRXRORFkzTUMwNU1tRmhMV0ps
TURRME1UaGxZak14TVNJc0luWmxjaUk2SWpFdU1DSXNJbWxoZENJNk1UWTVNREkzTmprNU9Dd2lZWFZrSWpvaVlqZGpabVl3TWpNdE16Y3lZeTAwWXpsakxXSmtZMll0Tm1VMU1qTmhZakEzWXpGaUlpd2laWGh3SWpveE5qa3dNell6TXprNExD
SnBjM01pT2lKb2RIUndjem92TDJsa1pYaDBhVzUwWld4c2FXZGxibU5sTG1JeVkyeHZaMmx1TG1OdmJTODJOekJrTURVMk5TMDJaV0UxTFRRNU9Ua3RZbVV4T0Mwd01UazJOVFJpWVRJMllXUXZkakl1TUM4aUxDSnVZbVlpT2pFMk9UQXlOelk1
T1RoOS5IdUZWbGpfRG9iUloxSnNUQnk0bW1KMjNna0JFVUxmbFZFRTlUSXdlTVlyZHZjN0w2ZXBRNlJNT2NGQlNoQ08tLVRydGlXZnFpTFlNNzUtaE9KNU9WeTBBUkVqMWJhc052ZjFMc0htZnYwWEozMjJaYUszVXdNQThVdXJGWGJTb2p6WjRQ
TjgyV3Q0QktfUGlzeU1iLW9xdEJBN2xRRVl2cW44Q1hNTndPNHRqbDZGZDJ4VUlmaFZSck1mdS1iTTNLR1lmM2I1dGtDZnYzQXZobHZwWVAyazIxUUdXcmVuYmwtWTFDMEMybzJCa2k3MUFIMGs1N3FmTFRZM25Va2IwU3MtLVN5OEhFUlBKNGdh
RVZheTVlWFdNMTVham9mMHJ6V2xHTGN0VjF5RHZUbzhOS0ZlSzZ3NmczUGRRSUltM2psbU11dU5hLUd5OWdjRVRlM3hIUHciLCJzY29wZXMiOlsiaHR0cHM6Ly9pZGV4dGludGVsbGlnZW5jZS5vbm1pY3Jvc29mdC5jb20vdGFza3MtYXBpL0Fs
bFVzZXJzIl0sImlkVG9rZW4iOiJleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SWxnMVpWaHJOSGg1YjJwT1JuVnRNV3RzTWxsMGRqaGtiRTVRTkMxak5UZGtUelpSUjFSV1FuZGhUbXNpTENKMGVYQWlPaUpLVjFRaWZRLmV5SjJaWElpT2lJ
eExqQWlMQ0pwYzNNaU9pSm9kSFJ3Y3pvdkwybGtaWGgwYVc1MFpXeHNhV2RsYm1ObExtSXlZMnh2WjJsdUxtTnZiUzgyTnpCa01EVTJOUzAyWldFMUxUUTVPVGt0WW1VeE9DMHdNVGsyTlRSaVlUSTJZV1F2ZGpJdU1DOGlMQ0p6ZFdJaU9pSXhZ
ekUzTWpZM1lpMHhZamt6TFRSbE9EUXRPVEkyT1MwMFlqSTRabVUzWXpGbU56TWlMQ0poZFdRaU9pSTBZVFppTURnd1lpMWlaR0ZoTFRRMk56QXRPVEpoWVMxaVpUQTBOREU0WldJek1URWlMQ0psZUhBaU9qRTJPVEF6TmpNek9UZ3NJbWxoZENJ
Nk1UWTVNREkzTmprNU9Dd2lZWFYwYUY5MGFXMWxJam94Tmprd01qYzJPVGsyTENKdmFXUWlPaUl4WXpFM01qWTNZaTB4WWprekxUUmxPRFF0T1RJMk9TMDBZakk0Wm1VM1l6Rm1Oek1pTENKdVlXMWxJam9pVEc5MlpXdGxjMmhMYUc5eVpTSXNJ
bWRwZG1WdVgyNWhiV1VpT2lKTWIzWmxhMlZ6YUNJc0ltWmhiV2xzZVY5dVlXMWxJam9pUzJodmNtVWlMQ0psYldGcGJITWlPbHNpVEV0b2IzSmxRR2xrWlhoamIzSndMbU52YlNKZExDSmxlSFJsYm5OcGIyNWZVbTlzWlhNaU9pSlVTVWx1YzJs
bmFIUXRVM1Z3WlhKQlpHMXBiaXhVU1VScGMzQmxibk5sTFVKaGMybGpMRlJKVTJWeWRtbGpaUzFDWVhOcFl5eFVTVVJoZEdGSWRXSXRVM1Z3WlhKQlpHMXBiaUlzSW1WNGRHVnVjMmx2Ymw5RGRYTjBiMjFsY2tsa0lqb2lTV1JsZUNJc0ltVjRk
R1Z1YzJsdmJsOUJjSEJzYVdOaGRHbHZiaUk2SWxSSlNXNXphV2RvZEN4VVNVUnBjM0JsYm5ObExGUkpVMlZ5ZG1salpTeFVTVVJoZEdGSWRXSWlMQ0psZUhSbGJuTnBiMjVmU1hOVmMyVnlRV04wYVhabElqcDBjblZsTENKMFpuQWlPaUpDTWtO
Zk1WOVRhV2R1U1c0aUxDSmhkRjlvWVhOb0lqb2laRVpGY0VGZlFsOXdWV1ZqYUd4S2NHYzFPV2RQZHlJc0ltNWlaaUk2TVRZNU1ESTNOams1T0gwLmNYaU9nR05JcUpFSXhHUnVOVEotU2JiUkpVZmJEN3hYaXRNLVU1LUhGZ0JScEVod1Q4RzFY
cDNvRFIxS3QyX3FPakw5RHhDajM4Q09yaG10TW83QVJFLUZYRUNrcV9QclhnNG0wc2N2MWV0Z25kMzdSTlZQb3FVZk9XOFFjNVRoZEZLdVdjMFc3Q3Jwa0twMks5Ui0xcXNPMVlpQm5JTG9KeU5GbVd5SlNUX0dOT1BuTy11U2J6Z3FsTmNxaFAz
c0UzREdsbmpPYk9QNzRVYnRZRzhyN0RsNzc5WFRsaldxd2YzYWQ3UUFpT251b183M2RNd1RCZmoxSzBVOVBCSmJfWW02ZmtFOGozS3RNMXZUaHhpeXZIWnB6X2ZvbV9VZG5fLVp6a0RNLXpycm5sNVNFdmhobXNjVzRNcVJ0aGdvMk1qbWVaOTJU
V2VoLW50YXBrbzkxUSIsImV4cGlyZXNPbiI6IjE2OTAzNjMzOTUifQ== -e debug false com.tidispense.test/androidx.test.runner.AndroidJUnitRunner
19:26:42.384 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "ps | grep \"com\.tidispense$\""
19:26:44.086 detox[21996] i child-process:EXEC_FAIL ""C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "ps | grep \"com\.tidispense$\""" fail
ed with error = ChildProcessError: Command failed: "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "ps | grep \"com\.tidispense$\""
 `"C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "ps | grep \"com\.tidispense$\""` (exited with error code 1) (code=1), stdout and stderr:

19:26:44.087 detox[21996] i child-process:EXEC_FAIL
19:26:44.088 detox[21996] i child-process:EXEC_FAIL
19:26:44.591 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "ps | grep \"com\.tidispense$\""
19:26:45.975 detox[21996] i child-process:EXEC_SUCCESS u0_a465      30483   928 6664336  97872 0                   0 R com.tidispense

19:26:45.976 detox[21996] B artifacts-manager onLaunchApp
 
19:26:45.979 detox[21996] E artifacts-manager onLaunchApp
19:26:51.093 detox[21996] i child-process:SPAWN_STDOUT INSTRUMENTATION_STATUS: class=com.tidispense.DetoxTest
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
INSTRUMENTATION_STATUS: numtests=1
INSTRUMENTATION_STATUS: stream=
com.tidispense.DetoxTest:
INSTRUMENTATION_STATUS: test=runDetoxTests
INSTRUMENTATION_STATUS_CODE: 1

19:27:34.008 detox[21996] i child-process:SPAWN_STDOUT INSTRUMENTATION_STATUS: class=com.tidispense.DetoxTest
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
INSTRUMENTATION_STATUS: numtests=1
INSTRUMENTATION_STATUS: stack=java.lang.RuntimeException: Could not launch intent Intent { act=android.intent.action.MAIN flg=0x14000000 cmp=com.tidispense/.MainActivity (has extras) }
 within 45000 milliseconds. Perhaps the main thread has not gone idle within a reasonable amount of time? There could be an animation or something constantly repainting the screen. Or
the activity is doing network calls on creation? See the threaddump logs. For your reference the last time the event queue was idle before your activity launch request was 169029340983
6 and now the last time the queue went idle was: 1690293454351. If these numbers are the same your activity might be hogging the event queue.
        at androidx.test.runner.MonitoringInstrumentation.startActivitySync(MonitoringInstrumentation.java:550)
        at androidx.test.rule.ActivityTestRule.launchActivity(ActivityTestRule.java:376)
        at com.wix.detox.Detox.runTests(Detox.java:140)
        at com.wix.detox.Detox.runTests(Detox.java:103)
        at com.tidispense.DetoxTest.runDetoxTests(DetoxTest.java:26)

INSTRUMENTATION_STATUS: stream=
Error in runDetoxTests(com.tidispense.DetoxTest):
java.lang.RuntimeException: Could not launch intent Intent { act=android.intent.action.MAIN flg=0x14000000 cmp=com.tidispense/.MainActivity (has extras) } within 45000 milliseconds. Pe
rhaps the main thread has not gone idle within a reasonable amount of time? There could be an animation or something constantly repainting the screen. Or the activity is doing network
calls on creation? See the threaddump logs. For your reference the last time the event queue was idle before your activity launch request was 1690293409836 and now the last time the qu
eue went idle was: 1690293454351. If these numbers are the same your activity might be hogging the event queue.
        at androidx.test.runner.MonitoringInstrumentation.startActivitySync(MonitoringInstrumentation.java:550)
        at androidx.test.rule.ActivityTestRule.launchActivity(ActivityTestRule.java:376)
        at com.wix.detox.Detox.runTests(Detox.java:140)
        at com.wix.detox.Detox.runTests(Detox.java:103)
        at com.tidispense.DetoxTest.runDetoxTests(DetoxTest.java:26)

INSTRUMENTATION_STATUS: test=runDetoxTests
INSTRUMENTATION_STATUS_CODE: -2

19:27:34.011 detox[21996] i child-process:SPAWN_STDOUT INSTRUMENTATION_RESULT: stream=

Time: 45.047
There was 1 failure:
1) runDetoxTests(com.tidispense.DetoxTest)
java.lang.RuntimeException: Could not launch intent Intent { act=android.intent.action.MAIN flg=0x14000000 cmp=com.tidispense/.MainActivity (has extras) } within 45000 milliseconds. Pe
rhaps the main thread has not gone idle within a reasonable amount of time? There could be an animation or something constantly repainting the screen. Or the activity is doing network
calls on creation? See the threaddump logs. For your reference the last time the event queue was idle before your activity launch request was 1690293409836 and now the last time the qu
eue went idle was: 1690293454351. If these numbers are the same your activity might be hogging the event queue.
        at androidx.test.runner.MonitoringInstrumentation.startActivitySync(MonitoringInstrumentation.java:550)
        at androidx.test.rule.ActivityTestRule.launchActivity(ActivityTestRule.java:376)
        at com.wix.detox.Detox.runTests(Detox.java:140)
        at com.wix.detox.Detox.runTests(Detox.java:103)
        at com.tidispense.DetoxTest.runDetoxTests(DetoxTest.java:26)

FAILURES!!!
Tests run: 1,  Failures: 1


INSTRUMENTATION_CODE: -1
 
19:27:34.017 detox[21996] i device An error occurred while waiting for the app to become ready. Waiting for disconnection...
  error: Failed to run application on the device
  
  HINT: Most likely, your tests have timed out and called detox.cleanup() while it was waiting for "ready" message (over WebSocket) from the instrumentation process.
19:27:34.017 detox[21996] i device The app disconnected.
19:27:34.018 detox[21996] i child-process:EXEC_CMD "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 reverse --remove tcp:52591
19:27:34.022 detox[21996] E device launchApp
  error: Failed to run application on the device
  
  HINT: Most likely, your tests have timed out and called detox.cleanup() while it was waiting for "ready" message (over WebSocket) from the instrumentation process.
19:27:34.023 detox[21996] B artifacts-manager onHookFailure
  args: ({"error":{"name":"DetoxRuntimeError"},"hook":"beforeAll"})
19:27:34.025 detox[21996] E artifacts-manager onHookFailure
19:27:34.025 detox[21996] E lifecycle beforeAll
  error: Failed to run application on the device
  
  HINT: Most likely, your tests have timed out and called detox.cleanup() while it was waiting for "ready" message (over WebSocket) from the instrumentation process.
19:27:34.027 detox[21996] B lifecycle should show hello screen after tap
19:27:34.027 detox[21996] i lifecycle Example: should show hello screen after tap
19:27:34.030 detox[21996] E lifecycle should show hello screen after tap
19:27:34.031 detox[21996] i lifecycle Example: should show hello screen after tap [FAIL]
19:27:34.032 detox[21996] B artifacts-manager onRunDescribeFinish
  args: ({"name":"Example"})
19:27:34.033 detox[21996] E artifacts-manager onRunDescribeFinish
19:27:34.033 detox[21996] E lifecycle Example

19:27:34.034 detox[21996] B artifacts-manager onRunDescribeFinish
  args: ({"name":"ROOT_DESCRIBE_BLOCK"})
19:27:34.034 detox[21996] E artifacts-manager onRunDescribeFinish
19:27:34.035 detox[21996] E lifecycle run the tests
19:27:34.048 detox[21996] B lifecycle tear down environment
19:27:34.050 detox[21996] B artifacts-manager onBeforeCleanup
  args: ()
19:27:34.051 detox[21996] E artifacts-manager onBeforeCleanup
19:27:34.051 detox[21996] i ws-client:APP_UNREACHABLE Detox can't seem to connect to the test app(s)!

HINT: 

The test app might have crashed prematurely, or has had trouble setting up the connection.
Refer to our troubleshooting guide, for full details: https://wix.github.io/Detox/docs/troubleshooting/running-tests#tests-execution-hangs 



19:27:34.054 detox[28836] i ws-server tester exited session 5109fa0f-26a5-d48d-5db9-aad05a6dbfbd
19:27:34.054 detox[21996] B device free
  args: ({"adbName":"15db14640922"}, {"shutdown":false})

19:27:34.058 detox[21996] E device free
19:27:34.059 detox[21996] E lifecycle tear down environment
19:27:34.060 detox[21996] E lifecycle e2e\starter.test.js
 FAIL  e2e/starter.test.js (92.778 s)
  Example
    × should show hello screen after tap (3 ms)

  ● Example › should show hello screen after tap

    Failed to run application on the device

    HINT: Most likely, your tests have timed out and called detox.cleanup() while it was waiting for "ready" message (over WebSocket) from the instrumentation process.

      45 |       },
      46 |     })
    > 47 |     await device.launchApp({
         |                  ^
      48 |       launchArgs: args,
      49 |     })
      50 |   })

      at createErrorWithUserStack (node_modules/detox/src/utils/errorUtils.js:36:27)
      at RuntimeDevice.stackTraceWrapper [as launchApp] (node_modules/detox/src/utils/wrapWithStackTraceCutter.js:9:34)
      at launchApp (e2e/starter.test.js:47:18)
      at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
      at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
      at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
      at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
      at invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:124:20)
      at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:148:11
      at callInvokeWithMethodAndArg (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:147:16)
      at AsyncIterator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:152:129)
      at AsyncIterator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
      at Object.exports.async (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:238:63)
      at Object.async (e2e/starter.test.js:5:13)

19:27:34.067 detox[21996] i ipc dispatching event to  primary-28836 /tmp/detox.primary-28836  :  reportTestResults , {
  testResults: [
    {
      success: false,
      testFilePath: 'D:\\Repo\\TIDispense\\e2e\\starter.test.js',
      testExecError: undefined,
      isPermanentFailure: false
    }
  ]
}
19:27:34.067 detox[21996] i child-process:EXEC_SUCCESS
19:27:34.067 detox[28836] i ipc received event of :  reportTestResults {
  testResults: [
    {
      success: false,
      testFilePath: 'D:\\Repo\\TIDispense\\e2e\\starter.test.js',
      isPermanentFailure: false
    }
  ]
}
19:27:34.068 detox[28836] i ipc dispatching event to socket  :  reportTestResultsDone {
  testResults: [
    {
      success: false,
      testFilePath: 'D:\\Repo\\TIDispense\\e2e\\starter.test.js',
      isPermanentFailure: false
    }
  ]
}
19:27:34.068 detox[28836] i ipc broadcasting event to all known sockets listening to  \\.\pipe\tmp-detox.primary-28836  :   sessionStateUpdate {
  testResults: [
    {
      success: false,
      testFilePath: 'D:\\Repo\\TIDispense\\e2e\\starter.test.js',
      isPermanentFailure: false
    }
  ]
}
19:27:34.069 detox[21996] i ipc ## received events ##
19:27:34.069 detox[21996] i ipc detected event reportTestResultsDone {
  testResults: [
    {
      success: false,
      testFilePath: 'D:\\Repo\\TIDispense\\e2e\\starter.test.js',
      isPermanentFailure: false
    }
  ]
}
19:27:34.072 detox[21996] i ipc connection closed primary-28836 /tmp/detox.primary-28836 0 tries remaining of 0
19:27:34.072 detox[28836] i ipc socket disconnected secondary-21996
19:27:34.073 detox[21996] i ipc secondary-21996 exceeded connection rety amount of  or stopRetrying flag set.
19:27:34.183 detox[28836] E lifecycle Command failed with exit code = 1:
jest --config e2e/jest.config.js
19:27:34.185 detox[28836] i ws-server Detox server has been closed gracefully
19:27:34.186 detox[28836] E lifecycle node_modules\detox\local-cli\cli.js test --configuration android.att.debug --loglevel trace

D:\Repo\TIDispense>

Device logs

Device logs
19:11:15.931 detox[27564] �[90mB�[39m node_modules\detox\local-cli\cli.js test --configuration android.att.debug --record-logs all
  data: {
    "id": "432ae23c-da95-c959-8819-22d5d1490b57",
    "detoxConfig": {
      "configurationName": "android.att.debug",
      "apps": {
        "default": {
          "type": "android.apk",
          "binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
          "build": "cd android && gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug",
          "reversePorts": [
            8081
          ]
        }
      },
      "artifacts": {
        "rootDir": "artifacts\\android.att.debug.2023-07-25 13-41-15Z",
        "plugins": {
          "log": {
            "enabled": true,
            "keepOnlyFailedTestsArtifacts": false
          },
          "screenshot": {
            "enabled": true,
            "shouldTakeAutomaticSnapshots": false,
            "keepOnlyFailedTestsArtifacts": false
          },
          "video": {
            "enabled": false,
            "keepOnlyFailedTestsArtifacts": false
          },
          "instruments": {
            "enabled": false,
            "keepOnlyFailedTestsArtifacts": false
          },
          "uiHierarchy": {
            "enabled": false,
            "keepOnlyFailedTestsArtifacts": false
          }
        }
      },
      "behavior": {
        "init": {
          "keepLockFile": false,
          "reinstallApp": true,
          "exposeGlobals": true
        },
        "cleanup": {
          "shutdownDevice": false
        },
        "launchApp": "auto"
      },
      "cli": {
        "recordLogs": "all",
        "configuration": "android.att.debug",
        "start": true
      },
      "device": {
        "type": "android.attached",
        "device": {
          "adbName": ".*"
        }
      },
      "logger": {
        "level": "info",
        "overrideConsole": true,
        "options": {
          "showLoggerName": true,
          "showPid": true,
          "showLevel": false,
          "showMetadata": false,
          "basepath": "D:\\Repo\\TIDispense\\node_modules\\detox\\src",
          "prefixers": {},
          "stringifiers": {}
        }
      },
      "testRunner": {
        "retries": 0,
        "forwardEnv": false,
        "bail": false,
        "jest": {
          "setupTimeout": 120000,
          "teardownTimeout": 30000,
          "retryAfterCircusRetries": false,
          "reportWorkerAssign": true
        },
        "args": {
          "$0": "jest",
          "_": [],
          "config": "e2e/jest.config.js",
          "--": []
        }
      },
      "session": {
        "autoStart": true,
        "debugSynchronization": 10000
      }
    },
    "detoxIPCServer": "primary-27564",
    "testResults": [],
    "testSessionIndex": 0,
    "workersCount": 0
  }
19:11:15.946 detox[27564] �[90mi�[39m Server path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + ipc.config.id /tmp/detox.primary-27564
19:11:15.947 detox[27564] �[90mi�[39m starting server on  /tmp/detox.primary-27564 
19:11:15.947 detox[27564] �[90mi�[39m starting TLS server false
19:11:15.947 detox[27564] �[90mi�[39m starting server as Unix || Windows Socket
19:11:15.951 detox[27564] �[90mi�[39m Detox server listening on localhost:51062...
19:11:15.954 detox[27564] �[90mi�[39m Serialized the session state at: C:\Users\LKhore\AppData\Local\Temp\432ae23c-da95-c959-8819-22d5d1490b57.detox.json
19:11:15.955 detox[27564] �[90mB�[39m jest --config e2e/jest.config.js
19:11:16.648 detox[21912] �[90mi�[39m Service path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + id 
19:11:16.648 detox[21912] �[90mi�[39m requested connection to  primary-27564 /tmp/detox.primary-27564
19:11:16.648 detox[21912] �[90mi�[39m Connecting client on Unix Socket : /tmp/detox.primary-27564
19:11:16.649 detox[21912] �[90mi�[39m retrying reset
19:11:16.649 detox[27564] �[90mi�[39m ## socket connection to server detected ##
19:11:16.650 detox[21912] �[90mi�[39m dispatching event to  primary-27564 /tmp/detox.primary-27564  :  registerContext , { id: 'secondary-21912' }
19:11:16.651 detox[27564] �[90mi�[39m received event of :  registerContext { id: 'secondary-21912' }
19:11:16.651 detox[27564] �[90mi�[39m dispatching event to socket  :  registerContextDone { testResults: [], testSessionIndex: 0 }
19:11:16.652 detox[21912] �[90mi�[39m ## received events ##
19:11:16.652 detox[21912] �[90mi�[39m detected event registerContextDone { testResults: [], testSessionIndex: 0 }
19:11:16.720 detox[21912] �[90mB�[39m e2e\starter.test.js
19:11:16.733 detox[21912] �[90mB�[39m set up environment
19:11:16.734 detox[21912] �[90mi�[39m dispatching event to  primary-27564 /tmp/detox.primary-27564  :  registerWorker , { workerId: 'w1' }
19:11:16.734 detox[27564] �[90mi�[39m received event of :  registerWorker { workerId: 'w1' }
19:11:16.734 detox[27564] �[90mi�[39m dispatching event to socket  :  registerWorkerDone { workersCount: 1 }
19:11:16.735 detox[27564] �[90mi�[39m broadcasting event to all known sockets listening to  \\.\pipe\tmp-detox.primary-27564  :   sessionStateUpdate { workersCount: 1 }
19:11:16.736 detox[21912] �[90mi�[39m ## received events ##
19:11:16.736 detox[21912] �[90mi�[39m detected event registerWorkerDone { workersCount: 1 }
19:11:16.736 detox[21912] �[90mi�[39m detected event sessionStateUpdate { workersCount: 1 }
19:11:16.841 detox[27564] �[90mB�[39m connection :51062<->:51064
19:11:16.842 detox[21912] �[90mi�[39m opened web socket to: ws://localhost:51062
19:11:16.843 detox[21912] �[90mi�[39m send message
  data: {"type":"login","params":{"sessionId":"241befa9-2343-b6cc-bf35-fa0f13f1d5c7","role":"tester"},"messageId":0}
19:11:16.844 detox[27564] �[90mi�[39m get
  data: {"type":"login","params":{"sessionId":"241befa9-2343-b6cc-bf35-fa0f13f1d5c7","role":"tester"},"messageId":0}
19:11:16.844 detox[27564] �[90mi�[39m created session 241befa9-2343-b6cc-bf35-fa0f13f1d5c7
19:11:16.845 detox[21912] �[90mi�[39m get message
  data: {"type":"loginSuccess","params":{"testerConnected":true,"appConnected":false},"messageId":0}
   
19:11:16.845 detox[27564] �[90mi�[39m send
  data: {
    "type": "loginSuccess",
    "params": {
      "testerConnected": true,
      "appConnected": false
    },
    "messageId": 0
  }
19:11:16.845 detox[27564] �[90mi�[39m tester joined session 241befa9-2343-b6cc-bf35-fa0f13f1d5c7
19:11:16.890 detox[21912] �[90mB�[39m allocate
  args: ({"type":"android.attached","device":{"adbName":".*"}})
19:11:16.891 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE"  devices
19:11:16.921 detox[21912] �[90mi�[39m List of devices attached
15db14640922	device


19:11:16.922 detox[21912] �[90mi�[39m Found a matching & free device 15db14640922
19:11:16.923 detox[21912] �[90mE�[39m allocate
19:11:16.923 detox[21912] �[90mB�[39m postAllocate
  args: ({"adbName":"15db14640922"})
19:11:16.923 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "getprop ro.build.version.sdk"
19:11:17.062 detox[21912] �[90mi�[39m 31

19:11:17.062 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "dumpsys power | grep \"^[ ]*m[UW].*=\""
19:11:17.241 detox[21912] �[90mi�[39m   mWakefulness=Awake
  mWakefulnessChanging=false
  mWakeLockSummary=0x0
  mWakeUpWhenPluggedOrUnpluggedConfig=true
  mWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false
  mDreamsBatteryLevelMinimumWhenPoweredConfig=-1
  mDreamsBatteryLevelMinimumWhenNotPoweredConfig=15
  mScreenBrightnessOverrideFromWindowManager=NaN
  mUserActivityTimeoutOverrideFromWindowManager=10000
  mUserInactiveOverrideFromWindowManager=false
  mUserId=0
  mWakeLockSummary=0x0
  mUserInteractionBackoffMillis=60000

19:11:17.241 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "input keyevent KEYCODE_MENU"
19:11:17.368 detox[21912] �[90mi�[39m 
19:11:17.368 detox[21912] �[90mB�[39m onBootDevice
  args: ({"deviceId":"15db14640922","type":"device","coldBoot":false})
19:11:17.369 detox[21912] �[90mE�[39m onBootDevice
19:11:17.369 detox[21912] �[90mE�[39m postAllocate
19:11:17.387 detox[21912] �[90mB�[39m installUtilBinaries
  args: ()
19:11:17.387 detox[21912] �[90mE�[39m installUtilBinaries
19:11:17.387 detox[21912] �[90mB�[39m selectApp
  args: ("default")
19:11:17.391 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\build-tools\34.0.0\aapt.EXE" dump badging "D:\Repo\TIDispense\android\app\build\outputs\apk\debug\app-debug.apk"
19:11:17.418 detox[21912] �[90mi�[39m package: name='com.tidispense' versionCode='1' versionName='1.0' platformBuildVersionName='11' platformBuildVersionCode='30' compileSdkVersion='30' compileSdkVersionCodename='11'
sdkVersion:'29'
targetSdkVersion:'31'
uses-permission: name='android.permission.SYSTEM_ALERT_WINDOW'
uses-permission: name='android.permission.INTERNET'
uses-permission: name='android.permission.ACCESS_NETWORK_STATE'
uses-permission: name='android.permission.ACCESS_WIFI_STATE'
uses-permission: name='android.permission.CHANGE_WIFI_MULTICAST_STATE'
uses-permission: name='android.permission.BLUETOOTH'
uses-permission: name='android.permission.BLUETOOTH_ADMIN'
uses-permission: name='android.permission.BLUETOOTH_ADVERTISE'
uses-permission: name='android.permission.BLUETOOTH_SCAN'
uses-permission: name='android.permission.BLUETOOTH_CONNECT'
uses-permission: name='android.permission.ACCESS_COARSE_LOCATION'
uses-permission: name='android.permission.ACCESS_FINE_LOCATION'
uses-permission: name='android.permission.WRITE_CONTACTS'
uses-permission: name='android.permission.READ_PROFILE'
uses-permission: name='android.permission.READ_CONTACTS'
uses-permission: name='android.permission.VIBRATE'
uses-permission: name='android.permission.WAKE_LOCK'
uses-permission: name='android.permission.CAMERA'
uses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE'
uses-permission: name='android.permission.CHANGE_NETWORK_STATE'
uses-permission: name='com.android.vending.CHECK_LICENSE'
uses-permission: name='com.google.android.gms.permission.AD_ID'
uses-permission: name='com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE'
uses-permission: name='com.google.android.c2dm.permission.RECEIVE'
uses-permission-sdk-23: name='android.permission.ACCESS_COARSE_LOCATION'
uses-permission-sdk-23: name='android.permission.ACCESS_FINE_LOCATION'
application-label:'TI Dispense'
application-label-af:'TI Dispense'
application-label-es-US:'TI Dispense'
application-label-et:'TI Dispense'
application-label-vi:'TI Dispense'
application-label-zh-CN:'TI Dispense'
application-label-zh-HK:'TI Dispense'
application-label-zh-TW:'TI Dispense'
application-icon-640:'res/mipmap-anydpi-v26/ic_launcher.xml'
application-icon-65534:'res/mipmap-anydpi-v26/ic_launcher.xml'
application: label='TI Dispense' icon='res/mipmap-anydpi-v26/ic_launcher.xml'
application-debuggable
launchable-activity: name='com.tidispense.MainActivity'  label='TI Dispense' icon=''
uses-permission: name='android.permission.READ_EXTERNAL_STORAGE'
uses-implied-permission: name='android.permission.READ_EXTERNAL_STORAGE' reason='requested WRITE_EXTERNAL_STORAGE'
feature-group: label=''
  uses-feature-not-required: name='android.hardware.bluetooth'
  uses-feature: name='android.hardware.bluetooth_le'
  uses-feature-not-required: name='android.hardware.camera'
  uses-feature-not-required: name='android.hardware.camera.autofocus'
  uses-feature: name='android.hardware.faketouch'
  uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
  uses-feature: name='android.hardware.location'
  uses-implied-feature: name='android.hardware.location' reason='requested android.permission.ACCESS_COARSE_LOCATION permission, and requested android.permission.ACCESS_FINE_LOCATION permission'
  uses-feature: name='android.hardware.screen.portrait'
  uses-implied-feature: name='android.hardware.screen.portrait' reason='one or more activities have specified a portrait orientation'
  uses-feature: name='android.hardware.wifi'
  uses-implied-feature: name='android.hardware.wifi' reason='requested android.permission.ACCESS_WIFI_STATE permission, and requested android.permission.CHANGE_WIFI_MULTICAST_STATE permission'
main
other-activities
other-receivers
other-services
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--' 'af' 'am' 'ar' 'as' 'az' 'be' 'bg' 'bn' 'bs' 'ca' 'cs' 'da' 'de' 'el' 'en-AU' 'en-CA' 'en-GB' 'en-IN' 'en-XC' 'es' 'es-US' 'et' 'eu' 'fa' 'fi' 'fr' 'fr-CA' 'gl' 'gu' 'he' 'hi' 'hr' 'hu' 'hy' 'in' 'is' 'it' 'iw' 'ja' 'ka' 'kk' 'km' 'kn' 'ko' 'ky' 'lo' 'lt' 'lv' 'mk' 'ml' 'mn' 'mr' 'ms' 'my' 'nb' 'ne' 'nl' 'nn' 'no' 'or' 'pa' 'pl' 'pt' 'pt-BR' 'pt-PT' 'ro' 'ru' 'si' 'sk' 'sl' 'sq' 'sr' 'sr-Latn' 'sv' 'sw' 'ta' 'te' 'th' 'tl' 'tr' 'uk' 'ur' 'uz' 'vi' 'zh-CN' 'zh-HK' 'zh-TW' 'zu'
densities: '120' '160' '240' '320' '480' '640' '65534'
native-code: 'arm64-v8a' 'armeabi-v7a' 'x86' 'x86_64'

19:11:17.419 detox[21912] �[90mE�[39m selectApp
19:11:17.419 detox[21912] �[90mB�[39m uninstallApp
  args: ()
19:11:17.419 detox[21912] �[90mB�[39m onBeforeUninstallApp
  args: ({"deviceId":"15db14640922","bundleId":"com.tidispense"})
19:11:17.419 detox[21912] �[90mE�[39m onBeforeUninstallApp
19:11:17.419 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "pm list packages com.tidispense"
19:11:17.506 detox[21912] �[90mi�[39m package:com.tidispense.test
package:com.tidispense

19:11:17.506 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 uninstall com.tidispense
19:11:18.258 detox[21912] �[90mi�[39m Success

19:11:18.258 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "pm list packages com.tidispense.test"
19:11:18.339 detox[21912] �[90mi�[39m package:com.tidispense.test

19:11:18.339 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 uninstall com.tidispense.test
19:11:19.572 detox[21912] �[90mi�[39m Success

19:11:19.572 detox[21912] �[90mE�[39m uninstallApp
19:11:19.572 detox[21912] �[90mB�[39m selectApp
  args: ("default")
19:11:19.573 detox[21912] �[90mB�[39m terminateApp
  args: ()
19:11:19.573 detox[21912] �[90mB�[39m onBeforeTerminateApp
  args: ({"deviceId":"15db14640922","bundleId":"com.tidispense"})
19:11:19.573 detox[21912] �[90mE�[39m onBeforeTerminateApp
19:11:19.574 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "am force-stop com.tidispense"
19:11:19.848 detox[21912] �[90mi�[39m 
19:11:19.848 detox[21912] �[90mB�[39m onTerminateApp
  args: ({"deviceId":"15db14640922","bundleId":"com.tidispense"})
19:11:19.848 detox[21912] �[90mE�[39m onTerminateApp
19:11:19.849 detox[21912] �[90mE�[39m terminateApp
19:11:19.849 detox[21912] �[90mE�[39m selectApp
19:11:19.849 detox[21912] �[90mB�[39m installApp
  args: ()
19:11:19.849 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\build-tools\34.0.0\aapt.EXE" dump xmlstrings "D:\Repo\TIDispense\android\app\build\outputs\apk\debug\app-debug.apk" AndroidManifest.xml
19:11:19.876 detox[21912] �[90mi�[39m String pool of 167 unique UTF-16 non-sorted strings, 167 entries and 0 styles using 12616 bytes:
String #0: theme
String #1: label
String #2: icon
String #3: name
String #4: permission
String #5: enabled
String #6: debuggable
String #7: exported
String #8: excludeFromRecents
String #9: authorities
String #10: initOrder
String #11: grantUriPermissions
String #12: launchMode
String #13: screenOrientation
String #14: configChanges
String #15: value
String #16: resource
String #17: scheme
String #18: host
String #19: path
String #20: minSdkVersion
String #21: versionCode
String #22: versionName
String #23: windowSoftInputMode
String #24: targetSdkVersion
String #25: allowBackup
String #26: required
String #27: hardwareAccelerated
String #28: largeHeap
String #29: extractNativeLibs
String #30: usesCleartextTraffic
String #31: directBootAware
String #32: networkSecurityConfig
String #33: roundIcon
String #34: visibleToInstantApps
String #35: compileSdkVersion
String #36: compileSdkVersionCodename
String #37: appComponentFactory
String #38: /Xo8WBi6jzSxKDVR4drqm84yr9iU=
String #39: 1.0
String #40: 11
String #41: action
String #42: activity
String #43: android
String #44: android.hardware.bluetooth
String #45: android.hardware.bluetooth_le
String #46: android.hardware.camera
String #47: android.hardware.camera.autofocus
String #48: android.intent.action.MAIN
String #49: android.intent.action.VIEW
String #50: android.intent.category.BROWSABLE
String #51: android.intent.category.DEFAULT
String #52: android.intent.category.LAUNCHER
String #53: android.permission.ACCESS_COARSE_LOCATION
String #54: android.permission.ACCESS_FINE_LOCATION
String #55: android.permission.ACCESS_NETWORK_STATE
String #56: android.permission.ACCESS_WIFI_STATE
String #57: android.permission.BIND_JOB_SERVICE
String #58: android.permission.BLUETOOTH
String #59: android.permission.BLUETOOTH_ADMIN
String #60: android.permission.BLUETOOTH_ADVERTISE
String #61: android.permission.BLUETOOTH_CONNECT
String #62: android.permission.BLUETOOTH_SCAN
String #63: android.permission.CAMERA
String #64: android.permission.CHANGE_NETWORK_STATE
String #65: android.permission.CHANGE_WIFI_MULTICAST_STATE
String #66: android.permission.INTERNET
String #67: android.permission.READ_CONTACTS
String #68: android.permission.READ_PROFILE
String #69: android.permission.SYSTEM_ALERT_WINDOW
String #70: android.permission.VIBRATE
String #71: android.permission.WAKE_LOCK
String #72: android.permission.WRITE_CONTACTS
String #73: android.permission.WRITE_EXTERNAL_STORAGE
String #74: android.support.FILE_PROVIDER_PATHS
String #75: android.support.customtabs.action.CustomTabsService
String #76: androidx.core.app.CoreComponentFactory
String #77: app_data_collection_default_enabled
String #78: application
String #79: backend:com.google.android.datatransport.cct.CctBackendFactory
String #80: category
String #81: cct
String #82: cl.json.RNShareFileProvider
String #83: com.RNFetchBlob.Utils.FileProvider
String #84: com.android.vending.CHECK_LICENSE
String #85: com.azure.authenticator
String #86: com.facebook.react.devsupport.DevSettingsActivity
String #87: com.google.android.c2dm.permission.RECEIVE
String #88: com.google.android.datatransport.runtime.backends.TransportBackendDiscovery
String #89: com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver
String #90: com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService
String #91: com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE
String #92: com.google.android.gms.ads.AD_MANAGER_APP
String #93: com.google.android.gms.ads.AdActivity
String #94: com.google.android.gms.ads.MobileAdsInitProvider
String #95: com.google.android.gms.auth.api.signin.RevocationBoundService
String #96: com.google.android.gms.auth.api.signin.internal.SignInHubActivity
String #97: com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION
String #98: com.google.android.gms.common.api.GoogleApiActivity
String #99: com.google.android.gms.measurement.AppMeasurementJobService
String #100: com.google.android.gms.measurement.AppMeasurementReceiver
String #101: com.google.android.gms.measurement.AppMeasurementService
String #102: com.google.android.gms.permission.AD_ID
String #103: com.google.android.gms.version
String #104: com.google.firebase.components.ComponentDiscoveryService
String #105: com.google.firebase.components.ComponentRegistrar
String #106: com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar
String #107: com.google.firebase.components:com.google.firebase.crashlytics.CrashlyticsRegistrar
String #108: com.google.firebase.components:com.google.firebase.crashlytics.ndk.CrashlyticsNdkRegistrar
String #109: com.google.firebase.components:com.google.firebase.installations.FirebaseInstallationsRegistrar
String #110: com.google.firebase.components:com.google.mlkit.common.internal.CommonComponentRegistrar
String #111: com.google.firebase.components:com.google.mlkit.vision.barcode.internal.BarcodeRegistrar
String #112: com.google.firebase.components:com.google.mlkit.vision.common.internal.VisionCommonRegistrar
String #113: com.google.firebase.components:com.google.mlkit.vision.face.internal.FaceRegistrar
String #114: com.google.firebase.components:com.google.mlkit.vision.text.internal.TextRegistrar
String #115: com.google.firebase.components:io.invertase.firebase.app.ReactNativeFirebaseAppRegistrar
String #116: com.google.firebase.provider.FirebaseInitProvider
String #117: com.google.mlkit.common.internal.MlKitComponentDiscoveryService
String #118: com.google.mlkit.common.internal.MlKitInitProvider
String #119: com.microsoft.identity.client.BrowserTabActivity
String #120: com.microsoft.identity.client.CurrentTaskBrowserTabActivity
String #121: com.microsoft.identity.client.helper.BrokerHelperActivity
String #122: com.microsoft.identity.common.internal.broker.BrokerActivity
String #123: com.microsoft.identity.common.internal.providers.oauth2.AuthorizationActivity
String #124: com.microsoft.identity.common.internal.providers.oauth2.CurrentTaskAuthorizationActivity
String #125: com.microsoft.identity.testuserapp
String #126: com.microsoft.windowsintune.companyportal
String #127: com.reactnativecommunity.webview.RNCWebViewFileProvider
String #128: com.tidispense
String #129: com.tidispense.MainActivity
String #130: com.tidispense.MainApplication
String #131: com.tidispense.fileprovider
String #132: com.tidispense.firebaseinitprovider
String #133: com.tidispense.mlkitinitprovider
String #134: com.tidispense.mobileadsinitprovider
String #135: com.tidispense.provider
String #136: com.tidispense.reactnativefirebaseappinitprovider
String #137: com.tidispense.reactnativefirebasecrashlyticsinitprovider
String #138: com.tidispense.rnshare.fileprovider
String #139: data
String #140: firebase_analytics_collection_deactivated
String #141: firebase_analytics_collection_enabled
String #142: firebase_crashlytics_collection_enabled
String #143: google_analytics_adid_collection_enabled
String #144: google_analytics_automatic_screen_reporting_enabled
String #145: google_analytics_default_allow_ad_personalization_signals
String #146: google_analytics_ssaid_collection_enabled
String #147: http://schemas.android.com/apk/res/android
String #148: https
String #149: intent
String #150: intent-filter
String #151: io.invertase.firebase.app.ReactNativeFirebaseAppInitProvider
String #152: io.invertase.firebase.crashlytics.ReactNativeFirebaseCrashlyticsInitProvider
String #153: manifest
String #154: meta-data
String #155: msauth
String #156: package
String #157: platformBuildVersionCode
String #158: platformBuildVersionName
String #159: provider
String #160: queries
String #161: receiver
String #162: service
String #163: uses-feature
String #164: uses-permission
String #165: uses-permission-sdk-23
String #166: uses-sdk

19:11:19.877 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\build-tools\34.0.0\aapt.EXE" dump xmlstrings "D:\Repo\TIDispense\android\app\build\outputs\apk\androidTest\debug\app-debug-androidTest.apk" AndroidManifest.xml
19:11:19.901 detox[21912] �[90mi�[39m String pool of 43 unique UTF-16 non-sorted strings, 43 entries and 0 styles using 2108 bytes:
String #0: theme
String #1: label
String #2: name
String #3: debuggable
String #4: exported
String #5: priority
String #6: targetPackage
String #7: handleProfiling
String #8: functionalTest
String #9: minSdkVersion
String #10: targetSdkVersion
String #11: extractNativeLibs
String #12: compileSdkVersion
String #13: compileSdkVersionCodename
String #14: 11
String #15: Tests for com.tidispense
String #16: activity
String #17: android
String #18: android.intent.category.LAUNCHER
String #19: android.permission.REORDER_TASKS
String #20: android.test.runner
String #21: androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity
String #22: androidx.test.core.app.InstrumentationActivityInvoker$EmptyActivity
String #23: androidx.test.core.app.InstrumentationActivityInvoker$EmptyFloatingActivity
String #24: androidx.test.orchestrator
String #25: androidx.test.runner.AndroidJUnitRunner
String #26: androidx.test.services
String #27: application
String #28: category
String #29: com.google.android.apps.common.testing.services
String #30: com.tidispense
String #31: com.tidispense.test
String #32: http://schemas.android.com/apk/res/android
String #33: instrumentation
String #34: intent-filter
String #35: manifest
String #36: package
String #37: platformBuildVersionCode
String #38: platformBuildVersionName
String #39: queries
String #40: uses-library
String #41: uses-permission
String #42: uses-sdk

19:11:19.906 detox[21912] �[90mi�[39m C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE -s 15db14640922 install -r -g -t D:\Repo\TIDispense\android\app\build\outputs\apk\debug\app-debug.apk
19:11:31.588 detox[21912] �[90mi�[39m Performing Streamed Install
Success

19:11:31.591 detox[21912] �[90mi�[39m C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE -s 15db14640922 install -r -g -t D:\Repo\TIDispense\android\app\build\outputs\apk\debug\app-debug.apk exited with code #0
19:11:31.595 detox[21912] �[90mi�[39m C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE -s 15db14640922 install -r -g -t D:\Repo\TIDispense\android\app\build\outputs\apk\androidTest\debug\app-debug-androidTest.apk
19:11:37.124 detox[21912] �[90mi�[39m Performing Streamed Install
Success

19:11:37.128 detox[21912] �[90mi�[39m C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE -s 15db14640922 install -r -g -t D:\Repo\TIDispense\android\app\build\outputs\apk\androidTest\debug\app-debug-androidTest.apk exited with code #0
19:11:37.129 detox[21912] �[90mB�[39m reverseTcpPort
  args: (8081)
19:11:37.129 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 reverse tcp:8081 tcp:8081
19:11:37.179 detox[21912] �[90mi�[39m 
19:11:37.179 detox[21912] �[90mE�[39m reverseTcpPort
19:11:37.179 detox[21912] �[90mE�[39m installApp
19:11:37.180 detox[21912] �[90mB�[39m selectApp
  args: ("default")
19:11:37.180 detox[21912] �[90mB�[39m terminateApp
  args: ()
19:11:37.180 detox[21912] �[90mB�[39m onBeforeTerminateApp
  args: ({"deviceId":"15db14640922","bundleId":"com.tidispense"})
19:11:37.180 detox[21912] �[90mE�[39m onBeforeTerminateApp
19:11:37.180 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "am force-stop com.tidispense"
19:11:37.520 detox[21912] �[90mi�[39m 
19:11:37.520 detox[21912] �[90mB�[39m onTerminateApp
  args: ({"deviceId":"15db14640922","bundleId":"com.tidispense"})
19:11:37.520 detox[21912] �[90mE�[39m onTerminateApp
19:11:37.520 detox[21912] �[90mE�[39m terminateApp
19:11:37.520 detox[21912] �[90mE�[39m selectApp
19:11:37.520 detox[21912] �[90mE�[39m set up environment
19:11:37.912 detox[21912] �[90mi�[39m starter.test.js is assigned to AttachedDevice:15db14640922
19:11:37.914 detox[21912] �[90mB�[39m run the tests
19:11:37.914 detox[21912] �[90mB�[39m onRunDescribeStart
  args: ({"name":"ROOT_DESCRIBE_BLOCK"})
19:11:37.915 detox[21912] �[90mE�[39m onRunDescribeStart
19:11:37.915 detox[21912] �[90mB�[39m Example
19:11:37.915 detox[21912] �[90mB�[39m onRunDescribeStart
  args: ({"name":"Example"})
19:11:37.915 detox[21912] �[90mE�[39m onRunDescribeStart
19:11:37.915 detox[21912] �[90mB�[39m beforeAll
19:11:37.917 detox[21912] �[90mB�[39m launchApp
  args: 
19:11:37.918 detox[21912] �[90mB�[39m terminateApp
  args: ("com.tidispense")
19:11:37.918 detox[21912] �[90mB�[39m onBeforeTerminateApp
  args: ({"deviceId":"15db14640922","bundleId":"com.tidispense"})
19:11:37.918 detox[21912] �[90mE�[39m onBeforeTerminateApp
19:11:37.918 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "am force-stop com.tidispense"
19:11:38.012 detox[21912] �[90mi�[39m 
19:11:38.012 detox[21912] �[90mB�[39m onTerminateApp
  args: ({"deviceId":"15db14640922","bundleId":"com.tidispense"})
19:11:38.012 detox[21912] �[90mE�[39m onTerminateApp
19:11:38.012 detox[21912] �[90mE�[39m terminateApp
19:11:38.013 detox[21912] �[90mB�[39m onBeforeLaunchApp
  args: ({"deviceId":"15db14640922","bundleId":"com.tidispense","launchArgs":{"detoxServer":"ws://localhost:51062","detoxSessionId":"241befa9-2343-b6cc-bf35-fa0f13f1d5c7","isAutomatedTest":true,"permissions":"{\"location\":\"always\"}","detoxURLBlacklistRegex":" \\(\"^http://localhost:\\d{4}?/[a-z]+/\\d{4}?$\"\\)","token":
19:11:38.014 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "date +\"%m-%d %T.000\""
19:11:38.087 detox[21912] �[90mi�[39m 07-25 19:11:40.000

19:11:38.087 detox[21912] �[90mE�[39m onBeforeLaunchApp
19:11:38.088 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 reverse tcp:51062 tcp:51062
19:11:38.131 detox[21912] �[90mi�[39m 51062

19:11:38.132 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "pm list instrumentation"
19:11:38.208 detox[21912] �[90mi�[39m instrumentation:com.tidispense.test/androidx.test.runner.AndroidJUnitRunner (target=com.tidispense)

19:11:38.213 detox[21912] �[90mi�[39m C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE -s 15db14640922 shell am instrument -w -r -e detoxServer ws://localhost:51062 -e detoxSessionId 241befa9-2343-b6cc-bf35-fa0f13f1d5c7 -e isAutomatedTest dHJ1ZQ== -e permissions eyJsb2NhdGlvbiI6ImFsd2F5cyJ9 -e detoxURLBlacklistRegex " \(\"^http://localhost:\d{4}?/[a-z]+/\d{4}?$\"\)" -e token  -e debug false com.tidispense.test/androidx.test.runner.AndroidJUnitRunner
19:11:38.723 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "ps | grep \"com\.tidispense$\""
19:11:40.316 detox[21912] �[90mi�[39m ""C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "ps | grep \"com\.tidispense$\""" failed with error = ChildProcessError: Command failed: "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "ps | grep \"com\.tidispense$\""
 `"C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "ps | grep \"com\.tidispense$\""` (exited with error code 1) (code=1), stdout and stderr:

19:11:40.317 detox[21912] �[90mi�[39m 
19:11:40.318 detox[21912] �[90mi�[39m 
19:11:40.828 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "ps | grep \"com\.tidispense$\""
19:11:42.229 detox[21912] �[90mi�[39m ""C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "ps | grep \"com\.tidispense$\""" failed with error = ChildProcessError: Command failed: "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "ps | grep \"com\.tidispense$\""
 `"C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "ps | grep \"com\.tidispense$\""` (exited with error code 1) (code=1), stdout and stderr:

19:11:42.230 detox[21912] �[90mi�[39m 
19:11:42.230 detox[21912] �[90mi�[39m 
19:11:42.736 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "ps | grep \"com\.tidispense$\""
19:11:42.868 detox[21912] �[90mi�[39m u0_a461      18584   928 6734404 133912 0                   0 R com.tidispense

19:11:42.868 detox[21912] �[90mB�[39m onLaunchApp
  args: ({"deviceId":"15db14640922","bundleId":"com.tidispense","launchArgs":{"detoxServer":"ws://localhost:51062","detoxSessionId":"241befa9-2343-b6cc-bf35-fa0f13f1d5c7","isAutomatedTest":true,"permissions":"{\"location\":\"always\"}","detoxURLBlacklistRegex":" \\(\"^http://localhost:\\d{4}?/[a-z]+/\\d{4}?$\"\\)","token":"{\"account\":{\"claims\":{\"family_name\":\"Khore\",\"extension_Application\":\"TIInsight,TIDispense,TIService,TIDataHub\",\"extension_CustomerId\":\"Idex\",\"name\":\"LovekeshKhore\",\"oid\":\"1c17267b-1b93-4e84-9269-4b28fe7c1f73\",\"aud\":[\"4a6b080b-bdaa-4670-92aa-be04418eb311\"],\"emails\":[\"[email protected]\"],\"given_name\":\"Lovekesh\",\"iss\":\"https://idextintelligence.b2clogin.com/670d0565-6ea5-4999-be18-019654ba26ad/v2.0/\",\"ver\":\"1.0\",\"sub\":\"1c17267b-1b93-4e84-9269-4b28fe7c1f73\",\"extension_Roles\":\"TIInsight-SuperAdmin,TIDispense-Basic,TIService-Basic,TIDataHub-SuperAdmin\",\"extension_IsUserActive\":true,\"tfp\":\"B2C_1_SignIn\",\"at_hash\":\"dFEpA_B_pUechlJpg59gOw\"},\"tenantId\":\"670d0565-6ea5-4999-be18-019654ba26ad\",\"username\":\"Missing from the token response\",\"identifier\":\"1c17267b-1b93-4e84-9269-4b28fe7c1f73-b2c_1_signin\"},\"tenantId\":\"670d0565-6ea5-4999-be18-019654ba26ad\",\"accessToken\":\"eyJhbGciOiJSUzI1NiIsImtpZCI6Ilg1ZVhrNHh5b2pORnVtMWtsMll0djhkbE5QNC1jNTdkTzZRR1RWQndhTmsiLCJ0eXAiOiJKV1QifQ.eyJvaWQiOiIxYzE3MjY3Yi0xYjkzLTRlODQtOTI2OS00YjI4ZmU3YzFmNzMiLCJzdWIiOiIxYzE3MjY3Yi0xYjkzLTRlODQtOTI2OS00YjI4ZmU3YzFmNzMiLCJuYW1lIjoiTG92ZWtlc2hLaG9yZSIsImdpdmVuX25hbWUiOiJMb3Zla2VzaCIsImZhbWlseV9uYW1lIjoiS2hvcmUiLCJlbWFpbHMiOlsiTEtob3JlQGlkZXhjb3JwLmNvbSJdLCJleHRlbnNpb25fUm9sZXMiOiJUSUluc2lnaHQtU3VwZXJBZG1pbixUSURpc3BlbnNlLUJhc2ljLFRJU2VydmljZS1CYXNpYyxUSURhdGFIdWItU3VwZXJBZG1pbiIsImV4dGVuc2lvbl9DdXN0b21lcklkIjoiSWRleCIsImV4dGVuc2lvbl9BcHBsaWNhdGlvbiI6IlRJSW5zaWdodCxUSURpc3BlbnNlLFRJU2VydmljZSxUSURhdGFIdWIiLCJleHRlbnNpb25fSXNVc2VyQWN0aXZlIjp0cnVlLCJ0ZnAiOiJCMkNfMV9TaWduSW4iLCJzY3AiOiJBbGxVc2VycyIsImF6cCI6IjRhNmIwODBiLWJkYWEtNDY3MC05MmFhLWJlMDQ0MThlYjMxMSIsInZlciI6IjEuMCIsImlhdCI6MTY5MDI3Njk5OCwiYXVkIjoiYjdjZmYwMjMtMzcyYy00YzljLWJkY2YtNmU1MjNhYjA3YzFiIiwiZXhwIjoxNjkwMzYzMzk4LCJpc3MiOiJodHRwczovL2lkZXh0aW50ZWxsaWdlbmNlLmIyY2xvZ2luLmNvbS82NzBkMDU2NS02ZWE1LTQ5OTktYmUxOC0wMTk2NTRiYTI2YWQvdjIuMC8iLCJuYmYiOjE2OTAyNzY5OTh9.HuFVlj_DobRZ1Js},"pid":18584})
19:11:42.869 detox[21912] �[90mi�[39m starting ADBLogcatRecording
19:11:42.876 detox[21912] �[90mi�[39m C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE -s 15db14640922 shell "logcat -T \"07-25 19:11:40.000\" --pid=18584 -f /sdcard/191116882_0.log"
19:11:42.876 detox[21912] �[90mE�[39m onLaunchApp
19:11:43.191 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell du /sdcard/191116882_0.log
19:11:43.257 detox[21912] �[90mi�[39m 0	/sdcard/191116882_0.log

19:11:48.019 detox[21912] �[90mi�[39m INSTRUMENTATION_STATUS: class=com.tidispense.DetoxTest
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
INSTRUMENTATION_STATUS: numtests=1
INSTRUMENTATION_STATUS: stream=
com.tidispense.DetoxTest:
INSTRUMENTATION_STATUS: test=runDetoxTests
INSTRUMENTATION_STATUS_CODE: 1

19:12:30.800 detox[21912] �[90mi�[39m INSTRUMENTATION_STATUS: class=com.tidispense.DetoxTest
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
INSTRUMENTATION_STATUS: numtests=1
INSTRUMENTATION_STATUS: stack=java.lang.RuntimeException: Could not launch intent Intent { act=android.intent.action.MAIN flg=0x14000000 cmp=com.tidispense/.MainActivity (has extras) } within 45000 milliseconds. Perhaps the main thread has not gone idle within a reasonable amount of time? There could be an animation or something constantly repainting the screen. Or the activity is doing network calls on creation? See the threaddump logs. For your reference the last time the event queue was idle before your activity launch request was 1690292506774 and now the last time the queue went idle was: 1690292551192. If these numbers are the same your activity might be hogging the event queue.
	at androidx.test.runner.MonitoringInstrumentation.startActivitySync(MonitoringInstrumentation.java:550)
	at androidx.test.rule.ActivityTestRule.launchActivity(ActivityTestRule.java:376)
	at com.wix.detox.Detox.runTests(Detox.java:140)
	at com.wix.detox.Detox.runTests(Detox.java:103)
	at com.tidispense.DetoxTest.runDetoxTests(DetoxTest.java:26)

INSTRUMENTATION_STATUS: stream=
Error in runDetoxTests(com.tidispense.DetoxTest):
java.lang.RuntimeException: Could not launch intent Intent { act=android.intent.action.MAIN flg=0x14000000 cmp=com.tidispense/.MainActivity (has extras) } within 45000 milliseconds. Perhaps the main thread has not gone idle within a reasonable amount of time? There could be an animation or something constantly repainting the screen. Or the activity is doing network calls on creation? See the threaddump logs. For your reference the last time the event queue was idle before your activity launch request was 1690292506774 and now the last time the queue went idle was: 1690292551192. If these numbers are the same your activity might be hogging the event queue.
	at androidx.test.runner.MonitoringInstrumentation.startActivitySync(MonitoringInstrumentation.java:550)
	at androidx.test.rule.ActivityTestRule.launchActivity(ActivityTestRule.java:376)
	at com.wix.detox.Detox.runTests(Detox.java:140)
	at com.wix.detox.Detox.runTests(Detox.java:103)
	at com.tidispense.DetoxTest.runDetoxTests(DetoxTest.java:26)

INSTRUMENTATION_STATUS: test=runDetoxTests
INSTRUMENTATION_STATUS_CODE: -2
INSTRUMENTATION_RESULT: stream=

Time: 45.089
There was 1 failure:
1) runDetoxTests(com.tidispense.DetoxTest)
java.lang.RuntimeException: Could not launch intent Intent { act=android.intent.action.MAIN flg=0x14000000 cmp=com.tidispense/.MainActivity (has extras) } within 45000 milliseconds. Perhaps the main thread has not gone idle within a reasonable amount of time? There could be an animation or something constantly repainting the screen. Or the activity is doing network calls on creation? See the threaddump logs. For your reference the last time the event queue was idle before your activity launch request was 1690292506774 and now the last time the queue went idle was: 1690292551192. If these numbers are the same your activity might be hogging the event queue.
	at androidx.test.runner.MonitoringInstrumentation.startActivitySync(MonitoringInstrumentation.java:550)
	at androidx.test.rule.ActivityTestRule.launchActivity(ActivityTestRule.java:376)
	at com.wix.detox.Detox.runTests(Detox.java:140)
	at com.wix.detox.Detox.runTests(Detox.java:103)
	at com.tidispense.DetoxTest.runDetoxTests(DetoxTest.java:26)

FAILURES!!!
Tests run: 1,  Failures: 1



19:12:30.800 detox[21912] �[90mi�[39m INSTRUMENTATION_CODE: -1

19:12:30.804 detox[21912] �[90mi�[39m C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE -s 15db14640922 shell am instrument -w -r -e detoxServer ws://localhost:51062 -e detoxSessionId 241befa9-2343-b6cc-bf35-fa0f13f1d5c7 -e isAutomatedTest dHJ1ZQ== -e permissions eyJsb2NhdGlvbiI6ImFsd2F5cyJ9 -e detoxURLBlacklistRegex " \(\"^http://localhost:\d{4}?/[a-z]+/\d{4}?$\"\)" -e token  -e debug false com.tidispense.test/androidx.test.runner.AndroidJUnitRunner exited with code #0
19:12:30.805 detox[21912] �[90mi�[39m An error occurred while waiting for the app to become ready. Waiting for disconnection...
  error: Failed to run application on the device
  
  HINT: Most likely, your tests have timed out and called detox.cleanup() while it was waiting for "ready" message (over WebSocket) from the instrumentation process.
19:12:30.807 detox[21912] �[90mi�[39m The app disconnected.
19:12:30.808 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 reverse --remove tcp:51062
19:12:30.815 detox[21912] �[90mE�[39m launchApp
  error: Failed to run application on the device
  
  HINT: Most likely, your tests have timed out and called detox.cleanup() while it was waiting for "ready" message (over WebSocket) from the instrumentation process.
19:12:30.816 detox[21912] �[90mB�[39m onHookFailure
  args: ({"error":{"name":"DetoxRuntimeError"},"hook":"beforeAll"})
19:12:30.816 detox[21912] �[90mE�[39m onHookFailure
19:12:30.816 detox[21912] �[90mE�[39m beforeAll
  error: Failed to run application on the device
  
  HINT: Most likely, your tests have timed out and called detox.cleanup() while it was waiting for "ready" message (over WebSocket) from the instrumentation process.
19:12:30.818 detox[21912] �[90mB�[39m should show hello screen after tap
19:12:30.818 detox[21912] �[90mi�[39m Example: should show hello screen after tap
19:12:30.822 detox[21912] �[90mE�[39m should show hello screen after tap
19:12:30.822 detox[21912] �[90mi�[39m Example: should show hello screen after tap [FAIL]
19:12:30.824 detox[21912] �[90mB�[39m onRunDescribeFinish
  args: ({"name":"Example"})
19:12:30.824 detox[21912] �[90mE�[39m onRunDescribeFinish
19:12:30.824 detox[21912] �[90mE�[39m Example
19:12:30.824 detox[21912] �[90mB�[39m onRunDescribeFinish
  args: ({"name":"ROOT_DESCRIBE_BLOCK"})
19:12:30.825 detox[21912] �[90mE�[39m onRunDescribeFinish
19:12:30.825 detox[21912] �[90mE�[39m run the tests
19:12:30.846 detox[21912] �[90mB�[39m tear down environment
19:12:30.847 detox[21912] �[90mB�[39m onBeforeCleanup
  args: ()
19:12:30.849 detox[21912] �[90mi�[39m saving ADBLogcatRecording to: artifacts\android.att.debug.2023-07-25 13-41-15Z\15db14640922 2023-07-25 13-42-30Z.startup.log
19:12:30.849 detox[21912] �[90mi�[39m stopping ADBLogcatRecording
19:12:30.849 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "date +\"%m-%d %T.000\""
19:12:30.855 detox[21912] �[90mi�[39m 
19:12:30.943 detox[21912] �[90mi�[39m 07-25 19:12:33.000

19:12:30.959 detox[21912] �[90mi�[39m sending SIGINT to: C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE -s 15db14640922 shell logcat -T "07-25 19:11:40.000" --pid=18584 -f /sdcard/191116882_0.log
19:12:30.962 detox[21912] �[90mi�[39m C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE -s 15db14640922 shell "logcat -T \"07-25 19:11:40.000\" --pid=18584 -f /sdcard/191116882_0.log" terminated with SIGINT
19:12:30.962 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 pull "/sdcard/191116882_0.log" "artifacts\android.att.debug.2023-07-25 13-41-15Z\15db14640922 2023-07-25 13-42-30Z.startup.log"
19:12:31.037 detox[21912] �[90mi�[39m /sdcard/191116882_0.log: 1 file pulled, 0 skipped. 14.6 MB/s (96046 bytes in 0.006s)

19:12:31.037 detox[21912] �[90mi�[39m "C:\Users\LKhore\Documents\Android\android-sdk\platform-tools\adb.EXE" -s 15db14640922 shell "rm  \"/sdcard/191116882_0.log\""
19:12:31.187 detox[21912] �[90mi�[39m 
19:12:31.189 detox[21912] �[90mi�[39m saving FileArtifact to: artifacts\android.att.debug.2023-07-25 13-41-15Z\detox_pid_21912.json.log { append: true }
19:12:31.189 detox[21912] �[90mi�[39m saving FileArtifact to: artifacts\android.att.debug.2023-07-25 13-41-15Z\detox_pid_21912.log { append: true }
19:12:31.189 detox[21912] �[90mE�[39m onBeforeCleanup
19:12:31.190 detox[21912] �[90mi�[39m Detox can't seem to connect to the test app(s)!

HINT: 

The test app might have crashed prematurely, or has had trouble setting up the connection.
Refer to our troubleshooting guide, for full details: https://wix.github.io/Detox/docs/troubleshooting/running-tests#tests-execution-hangs 



19:12:31.195 detox[21912] �[90mB�[39m free
  args: ({"adbName":"15db14640922"}, {"shutdown":false})
19:12:31.196 detox[27564] �[90mi�[39m tester exited session 241befa9-2343-b6cc-bf35-fa0f13f1d5c7
19:12:31.196 detox[27564] �[90mE�[39m connection :51062<->:51064
19:12:31.202 detox[21912] �[90mE�[39m free
19:12:31.202 detox[21912] �[90mE�[39m tear down environment
19:12:31.202 detox[21912] �[90mE�[39m e2e\starter.test.js
19:12:31.216 detox[21912] �[90mi�[39m dispatching event to  primary-27564 /tmp/detox.primary-27564  :  reportTestResults , {
  testResults: [
    {
      success: false,
      testFilePath: 'D:\\Repo\\TIDispense\\e2e\\starter.test.js',
      testExecError: undefined,
      isPermanentFailure: false
    }
  ]
}
19:12:31.218 detox[21912] �[90mi�[39m ## received events ##
19:12:31.218 detox[27564] �[90mi�[39m received event of :  reportTestResults {
  testResults: [
    {
      success: false,
      testFilePath: 'D:\\Repo\\TIDispense\\e2e\\starter.test.js',
      isPermanentFailure: false
    }
  ]
}
19:12:31.218 detox[27564] �[90mi�[39m dispatching event to socket  :  reportTestResultsDone {
  testResults: [
    {
      success: false,
      testFilePath: 'D:\\Repo\\TIDispense\\e2e\\starter.test.js',
      isPermanentFailure: false
    }
  ]
}
19:12:31.219 detox[21912] �[90mi�[39m detected event reportTestResultsDone {
  testResults: [
    {
      success: false,
      testFilePath: 'D:\\Repo\\TIDispense\\e2e\\starter.test.js',
      isPermanentFailure: false
    }
  ]
}
19:12:31.219 detox[27564] �[90mi�[39m broadcasting event to all known sockets listening to  \\.\pipe\tmp-detox.primary-27564  :   sessionStateUpdate {
  testResults: [
    {
      success: false,
      testFilePath: 'D:\\Repo\\TIDispense\\e2e\\starter.test.js',
      isPermanentFailure: false
    }
  ]
}
19:12:31.223 detox[21912] �[90mi�[39m connection closed primary-27564 /tmp/detox.primary-27564 0 tries remaining of 0
19:12:31.224 detox[21912] �[90mi�[39m secondary-21912 exceeded connection rety amount of  or stopRetrying flag set.
19:12:31.225 detox[27564] �[90mi�[39m socket disconnected secondary-21912
19:12:31.324 detox[27564] �[90mE�[39m Command failed with exit code = 1:
jest --config e2e/jest.config.js
19:12:31.326 detox[27564] �[90mi�[39m Detox server has been closed gracefully
19:12:31.328 detox[27564] �[90mE�[39m node_modules\detox\local-cli\cli.js test --configuration android.att.debug --record-logs all

More data, please!

Below is the test case

import { device, expect, element, by } from "detox"
import { contextArgs } from "react-native-detox-context"

describe("Example", () => {
beforeAll(async () => {
const args = contextArgs()
await device.launchApp({
launchArgs: args,
})
})

beforeEach(async () => {
await device.reloadReactNative()
})

it("should show hello screen after tap", async () => {
// await expect(element(by.id("menuEquipment"))).toBeVisible() // the view is visible
await waitFor(element(by.id("rowViewID"))).toBeVisible().withTimeout(50000)
await element(by.id('menuEquipment')).longPress(100);
})

})

@MayoudP
Copy link

MayoudP commented Aug 22, 2023

Any update on this one ?? I have the same issue... App is installed, build successfull, but the app is never launched...

Copy link

stale bot commented Dec 15, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back.

Thank you for your contributions!

For more information on bots in this repository, read this discussion.

@stale stale bot added the 🏚 stale label Dec 15, 2023
@murat-mehmet
Copy link

+1 same issue here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants