detox

Service path not specified, so defaulting to ipc.config.socketRoot + ipc.config.appspace + id


requested connection to  primary-31705 /tmp/detox.primary-31705


Connecting client on Unix Socket : /tmp/detox.primary-31705


dispatching event to  primary-31705 /tmp/detox.primary-31705  :  registerContext , { id: 'secondary-31706' }


detected event registerContextDone { testResults: [], testSessionIndex: 0 }


dispatching event to  primary-31705 /tmp/detox.primary-31705  :  registerWorker , { workerId: 'w1' }


detected event registerWorkerDone { workersCount: 1 }


detected event sessionStateUpdate { workersCount: 1 }


opened web socket to: ws://localhost:62876


INFO    | Duplicate loglines will be removed, if you wish to see each indiviudal line launch with the -log-nofilter flag.
Android emulator version 31.3.13.0 (build_id 9189900) (CL:N/A)
Copyright (C) 2006-2017 The Android Open Source Project and many others.
This program is a derivative of the QEMU CPU emulator (www.qemu.org).

  This software is licensed under the terms of the GNU General Public
  License version 2, as published by the Free Software Foundation, and
  may be copied, distributed, and modified under those terms.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.


Detected emulator binary version { major: 31, minor: 3, patch: 13, toString: [Function: toString] }


Trying to allocate a device based on "Pixel_3a_API_33_arm64-v8a"


List of devices attached
emulator-5554	device


Found a matching & free device emulator-5554


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "getprop dev.bootcomplete"


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "getprop ro.build.version.sdk"


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "settings put global animator_duration_scale 0"


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "settings put global window_animation_scale 0"


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "settings put global transition_animation_scale 0"


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "dumpsys power | grep \"^[ ]*m[UW].*=\""


  mWakefulness=Awake
  mWakefulnessChanging=false
  mWakeLockSummary=0x1
  mWakeUpWhenPluggedOrUnpluggedConfig=false
  mWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false
  mUserActivityTimeoutOverrideFromWindowManager=-1
  mUserInactiveOverrideFromWindowManager=false
  mUserId=0
  mWakeLockSummary=0x1
  mUserInteractionBackoffMillis=60000


package: name='com.awesomeproject' versionCode='1' versionName='1.0' platformBuildVersionName='12' platformBuildVersionCode='31' compileSdkVersion='31' compileSdkVersionCodename='12'
sdkVersion:'21'
targetSdkVersion:'31'
uses-permission: name='android.permission.SYSTEM_ALERT_WINDOW'
uses-permission: name='android.permission.INTERNET'
uses-permission: name='android.permission.REQUEST_INSTALL_PACKAGES'
uses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE'
uses-permission: name='android.permission.ACCESS_WIFI_STATE'
application-label:'AwesomeProject'
application-label-af:'AwesomeProject'
application-label-am:'AwesomeProject'
application-label-ar:'AwesomeProject'
application-label-as:'AwesomeProject'
application-label-az:'AwesomeProject'
application-label-be:'AwesomeProject'
application-label-bg:'AwesomeProject'
application-label-bn:'AwesomeProject'
application-label-bs:'AwesomeProject'
application-label-ca:'AwesomeProject'
application-label-cs:'AwesomeProject'
application-label-da:'AwesomeProject'
application-label-de:'AwesomeProject'
application-label-el:'AwesomeProject'
application-label-en-AU:'AwesomeProject'
application-label-en-CA:'AwesomeProject'
application-label-en-GB:'AwesomeProject'
application-label-en-IN:'AwesomeProject'
application-label-en-XC:'AwesomeProject'
application-label-es:'AwesomeProject'
application-label-es-US:'AwesomeProject'
application-label-et:'AwesomeProject'
application-label-eu:'AwesomeProject'
application-label-fa:'AwesomeProject'
application-label-fi:'AwesomeProject'
application-label-fr:'AwesomeProject'
application-label-fr-CA:'AwesomeProject'
application-label-gl:'AwesomeProject'
application-label-gu:'AwesomeProject'
application-label-hi:'AwesomeProject'
application-label-hr:'AwesomeProject'
application-label-hu:'AwesomeProject'
application-label-hy:'AwesomeProject'
application-label-in:'AwesomeProject'
application-label-is:'AwesomeProject'
application-label-it:'AwesomeProject'
application-label-iw:'AwesomeProject'
application-label-ja:'AwesomeProject'
application-label-ka:'AwesomeProject'
application-label-kk:'AwesomeProject'
application-label-km:'AwesomeProject'
application-label-kn:'AwesomeProject'
application-label-ko:'AwesomeProject'
application-label-ky:'AwesomeProject'
application-label-lo:'AwesomeProject'
application-label-lt:'AwesomeProject'
application-label-lv:'AwesomeProject'
application-label-mk:'AwesomeProject'
application-label-ml:'AwesomeProject'
application-label-mn:'AwesomeProject'
application-label-mr:'AwesomeProject'
application-label-ms:'AwesomeProject'
application-label-my:'AwesomeProject'
application-label-nb:'AwesomeProject'
application-label-ne:'AwesomeProject'
application-label-nl:'AwesomeProject'
application-label-or:'AwesomeProject'
application-label-pa:'AwesomeProject'
application-label-pl:'AwesomeProject'
application-label-pt:'AwesomeProject'
application-label-pt-BR:'AwesomeProject'
application-label-pt-PT:'AwesomeProject'
application-label-ro:'AwesomeProject'
application-label-ru:'AwesomeProject'
application-label-si:'AwesomeProject'
application-label-sk:'AwesomeProject'
application-label-sl:'AwesomeProject'
application-label-sq:'AwesomeProject'
application-label-sr:'AwesomeProject'
application-label-sr-Latn:'AwesomeProject'
application-label-sv:'AwesomeProject'
application-label-sw:'AwesomeProject'
application-label-ta:'AwesomeProject'
application-label-te:'AwesomeProject'
application-label-th:'AwesomeProject'
application-label-tl:'AwesomeProject'
application-label-tr:'AwesomeProject'
application-label-uk:'AwesomeProject'
application-label-ur:'AwesomeProject'
application-label-uz:'AwesomeProject'
application-label-vi:'AwesomeProject'
application-label-zh-CN:'AwesomeProject'
application-label-zh-HK:'AwesomeProject'
application-label-zh-TW:'AwesomeProject'
application-label-zu:'AwesomeProject'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='AwesomeProject' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='com.awesomeproject.MainActivity'  label='AwesomeProject' 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: name='android.hardware.faketouch'
  uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
  uses-feature: name='android.hardware.wifi'
  uses-implied-feature: name='android.hardware.wifi' reason='requested android.permission.ACCESS_WIFI_STATE permission'
main
other-activities
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' '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' '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: '160' '240' '320' '480' '640'
native-code: 'arm64-v8a' 'armeabi-v7a' 'x86' 'x86_64'


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "pm list packages com.awesomeproject"


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 uninstall com.awesomeproject


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "pm list packages com.awesomeproject.test"


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 uninstall com.awesomeproject.test


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "am force-stop com.awesomeproject"


String pool of 62 unique UTF-16 non-sorted strings, 62 entries and 0 styles using 2972 bytes:
String #0: theme
String #1: label
String #2: icon
String #3: name
String #4: debuggable
String #5: exported
String #6: authorities
String #7: grantUriPermissions
String #8: launchMode
String #9: configChanges
String #10: value
String #11: resource
String #12: minSdkVersion
String #13: versionCode
String #14: versionName
String #15: windowSoftInputMode
String #16: targetSdkVersion
String #17: allowBackup
String #18: usesCleartextTraffic
String #19: networkSecurityConfig
String #20: roundIcon
String #21: compileSdkVersion
String #22: compileSdkVersionCodename
String #23: appComponentFactory
String #24: 1.0
String #25: 12
String #26: action
String #27: activity
String #28: android
String #29: android.intent.action.MAIN
String #30: android.intent.category.LAUNCHER
String #31: android.permission.ACCESS_WIFI_STATE
String #32: android.permission.INTERNET
String #33: android.permission.REQUEST_INSTALL_PACKAGES
String #34: android.permission.SYSTEM_ALERT_WINDOW
String #35: android.permission.WRITE_EXTERNAL_STORAGE
String #36: android.support.FILE_PROVIDER_PATHS
String #37: androidx.core.app.CoreComponentFactory
String #38: androidx.emoji2.text.EmojiCompatInitializer
String #39: androidx.lifecycle.ProcessLifecycleInitializer
String #40: androidx.startup
String #41: androidx.startup.InitializationProvider
String #42: application
String #43: category
String #44: cn.reactnative.modules.update.PushyFileProvider
String #45: com.awesomeproject
String #46: com.awesomeproject.MainActivity
String #47: com.awesomeproject.MainApplication
String #48: com.awesomeproject.androidx-startup
String #49: com.awesomeproject.pushy.fileprovider
String #50: com.facebook.react.devsupport.DevSettingsActivity
String #51: http://schemas.android.com/apk/res/android
String #52: intent-filter
String #53: manifest
String #54: meta-data
String #55: package
String #56: platformBuildVersionCode
String #57: platformBuildVersionName
String #58: provider
String #59: pushy_build_time
String #60: uses-permission
String #61: uses-sdk


String pool of 41 unique UTF-16 non-sorted strings, 41 entries and 0 styles using 2052 bytes:
String #0: theme
String #1: label
String #2: name
String #3: debuggable
String #4: exported
String #5: targetPackage
String #6: handleProfiling
String #7: functionalTest
String #8: minSdkVersion
String #9: targetSdkVersion
String #10: compileSdkVersion
String #11: compileSdkVersionCodename
String #12: 12
String #13: Tests for com.awesomeproject
String #14: action
String #15: activity
String #16: android
String #17: android.intent.action.MAIN
String #18: android.permission.REORDER_TASKS
String #19: android.test.runner
String #20: androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity
String #21: androidx.test.core.app.InstrumentationActivityInvoker$EmptyActivity
String #22: androidx.test.core.app.InstrumentationActivityInvoker$EmptyFloatingActivity
String #23: androidx.test.orchestrator
String #24: androidx.test.runner.AndroidJUnitRunner
String #25: androidx.test.services
String #26: application
String #27: com.awesomeproject
String #28: com.awesomeproject.test
String #29: com.google.android.apps.common.testing.services
String #30: http://schemas.android.com/apk/res/android
String #31: instrumentation
String #32: intent-filter
String #33: manifest
String #34: package
String #35: platformBuildVersionCode
String #36: platformBuildVersionName
String #37: queries
String #38: uses-library
String #39: uses-permission
String #40: uses-sdk


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "rm -fr /data/local/tmp/detox"


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "mkdir -p /data/local/tmp/detox"


/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/debug/app-debug.apk: 1 file pushed, 0 skipped. 175.5 MB/s (57188253 bytes in 0.311s)


/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk


/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Application.apk exited with code #0


/Users/arvinh/Desktop/wooza/react-native-pushy/Example/testHotUpdate/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk: 1 file pushed, 0 skipped. 264.9 MB/s (4477389 bytes in 0.016s)


/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk


/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm install -r -g -t /data/local/tmp/detox/Test.apk exited with code #0


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 reverse tcp:8081 tcp:8081


NativeModule.test.ts is assigned to emulator-5554 (Pixel_3a_API_33_arm64-v8a)


测试Native模块的方法


() => __awaiter(void 0, void 0, void 0, function* () {
        yield detox_1.device.launchApp();
    })


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "date +\"%m-%d %T.000\""


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 reverse tcp:62876 tcp:62876


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "pm list instrumentation"


/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:62876 -e detoxSessionId e3cdc0ce-8b7a-d3e9-b295-b9429e00fb31 -e debug false com.awesomeproject.test/androidx.test.runner.AndroidJUnitRunner


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "ps | grep \"com\.awesomeproject$\""


/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "logcat -T \"12-09 10:38:51.000\" --pid=6301 -f /sdcard/14735350_0.log"


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell du /sdcard/14735350_0.log


INSTRUMENTATION_STATUS: class=com.awesomeproject.DetoxTest
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
INSTRUMENTATION_STATUS: numtests=1
INSTRUMENTATION_STATUS: stream=
com.awesomeproject.DetoxTest:
INSTRUMENTATION_STATUS: test=runDetoxTests
INSTRUMENTATION_STATUS_CODE: 1


Failed to execute the current status query.


detox

looper

"LooperIdlingResource-119-mqt_native_modules" (Native Modules Thread)


Context: test


setLocalHashInfo


sending SIGINT to: /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell logcat -T "12-09 10:38:51.000" --pid=6301 -f /sdcard/14735350_0.log


/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "logcat -T \"12-09 10:38:51.000\" --pid=6301 -f /sdcard/14735350_0.log" terminated with SIGINT


/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "logcat -T \"12-09 10:39:30.000\" --pid=6301 -f /sdcard/14735350_1.log"


() => {
    if (config.resetModules) {
      runtime.resetModules();
    }
    if (config.clearMocks) {
      runtime.clearAllMocks();
    }
    if (config.resetMocks) {
      runtime.resetAllMocks();
      if (
        config.fakeTimers.enableGlobally &&
        config.fakeTimers.legacyFakeTimers
      ) {
        // during setup, this cannot be null (and it's fine to explode if it is)
        environment.fakeTimers.useFakeTimers();
      }
    }
    if (config.restoreMocks) {
      runtime.restoreAllMocks();
    }
  }


() => __awaiter(void 0, void 0, void 0, function* () {
        yield (0, detox_1.element)(detox_1.by.id('testcase')).longPress();
        yield (0, detox_1.element)(detox_1.by.id('setLocalHashInfo')).longPress();
        yield (0, detox_1.element)(detox_1.by.id('submit')).longPress();
        yield (0, detox_1.expect)((0, detox_1.element)(detox_1.by.id('done'))).toBeVisible();
        yield (0, detox_1.element)(detox_1.by.id('done')).longPress();
        yield (0, detox_1.expect)((0, detox_1.element)(detox_1.by.id('done'))).toBeNotVisible();
    })


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell du /sdcard/14735350_1.log


/e2e/NativeModule.test.ts:9:46
Generator.next (<anonymous>)
fulfilled (/e2e/NativeModule.test.ts:5:58)
processTicksAndRejections (node:internal/process/task_queues:95:5)


/e2e/NativeModule.test.ts:10:36
Generator.next (<anonymous>)
fulfilled (/e2e/NativeModule.test.ts:5:58)
processTicksAndRejections (node:internal/process/task_queues:95:5)


/e2e/NativeModule.test.ts:11:42
Generator.next (<anonymous>)
fulfilled (/e2e/NativeModule.test.ts:5:58)
processTicksAndRejections (node:internal/process/task_queues:95:5)


/e2e/NativeModule.test.ts:12:34
Generator.next (<anonymous>)
fulfilled (/e2e/NativeModule.test.ts:5:58)
processTicksAndRejections (node:internal/process/task_queues:95:5)


/e2e/NativeModule.test.ts:13:42
Generator.next (<anonymous>)
fulfilled (/e2e/NativeModule.test.ts:5:58)
processTicksAndRejections (node:internal/process/task_queues:95:5)


sending SIGINT to: /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell logcat -T "12-09 10:39:30.000" --pid=6301 -f /sdcard/14735350_1.log


/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "logcat -T \"12-09 10:39:30.000\" --pid=6301 -f /sdcard/14735350_1.log" terminated with SIGINT


getLocalHashInfo


/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "logcat -T \"12-09 10:39:38.000\" --pid=6301 -f /sdcard/14735350_2.log"


() => __awaiter(void 0, void 0, void 0, function* () {
        yield (0, detox_1.element)(detox_1.by.id('getLocalHashInfo')).longPress();
        yield (0, detox_1.element)(detox_1.by.id('submit')).longPress();
        yield (0, detox_1.expect)((0, detox_1.element)(detox_1.by.text('done'))).toBeVisible();
        yield (0, detox_1.element)(detox_1.by.id('done')).longPress();
        yield (0, detox_1.expect)((0, detox_1.element)(detox_1.by.id('done'))).toBeNotVisible();
    })


saving ADBLogcatRecording to: artifacts/android.emu.debug.2023-04-02 06-07-34Z/✓ 测试Native模块的方法 setLocalHashInfo/device.log


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 pull "/sdcard/14735350_1.log" "artifacts/android.emu.debug.2023-04-02 06-07-34Z/✓ 测试Native模块的方法 setLocalHashInfo/device.log"


/sdcard/14735350_1.log: 1 file pulled, 0 skipped. 15.3 MB/s (24576 bytes in 0.002s)


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "rm  \"/sdcard/14735350_1.log\""


saving ADBLogcatRecording to: artifacts/android.emu.debug.2023-04-02 06-07-34Z/emulator-5554 2023-04-02 06-08-28Z.startup.log


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 pull "/sdcard/14735350_0.log" "artifacts/android.emu.debug.2023-04-02 06-07-34Z/emulator-5554 2023-04-02 06-08-28Z.startup.log"


/sdcard/14735350_0.log: 1 file pulled, 0 skipped. 36.3 MB/s (49152 bytes in 0.001s)


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "rm  \"/sdcard/14735350_0.log\""


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell du /sdcard/14735350_2.log


/e2e/NativeModule.test.ts:18:36
Generator.next (<anonymous>)
fulfilled (/e2e/NativeModule.test.ts:5:58)
processTicksAndRejections (node:internal/process/task_queues:95:5)


/e2e/NativeModule.test.ts:19:44
Generator.next (<anonymous>)
fulfilled (/e2e/NativeModule.test.ts:5:58)
processTicksAndRejections (node:internal/process/task_queues:95:5)


/e2e/NativeModule.test.ts:20:34
Generator.next (<anonymous>)
fulfilled (/e2e/NativeModule.test.ts:5:58)
processTicksAndRejections (node:internal/process/task_queues:95:5)


/e2e/NativeModule.test.ts:21:42
Generator.next (<anonymous>)
fulfilled (/e2e/NativeModule.test.ts:5:58)
processTicksAndRejections (node:internal/process/task_queues:95:5)


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "date +\"%m-%d %T.000\""


sending SIGINT to: /Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell logcat -T "12-09 10:39:38.000" --pid=6301 -f /sdcard/14735350_2.log


/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "logcat -T \"12-09 10:39:38.000\" --pid=6301 -f /sdcard/14735350_2.log" terminated with SIGINT


Context: test


setUuid


/Users/arvinh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "logcat -T \"12-09 10:39:43.000\" --pid=6301 -f /sdcard/14735350_3.log"


() => __awaiter(void 0, void 0, void 0, function* () {
        yield (0, detox_1.element)(detox_1.by.id('setUuid')).longPress();
        yield (0, detox_1.element)(detox_1.by.id('submit')).longPress();
        yield (0, detox_1.expect)((0, detox_1.element)(detox_1.by.text('done'))).toBeVisible();
        yield (0, detox_1.element)(detox_1.by.id('done')).longPress();
        yield (0, detox_1.expect)((0, detox_1.element)(detox_1.by.id('done'))).toBeNotVisible();
    })


saving ADBLogcatRecording to: artifacts/android.emu.debug.2023-04-02 06-07-34Z/✓ 测试Native模块的方法 getLocalHashInfo/device.log


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 pull "/sdcard/14735350_2.log" "artifacts/android.emu.debug.2023-04-02 06-07-34Z/✓ 测试Native模块的方法 getLocalHashInfo/device.log"


/sdcard/14735350_2.log: 1 file pulled, 0 skipped. 11.9 MB/s (16384 bytes in 0.001s)


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "rm  \"/sdcard/14735350_2.log\""


"/Users/arvinh/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell du /sdcard/14735350_3.log


/e2e/NativeModule.test.ts:26:36
Generator.next (<anonymous>)
fulfilled (/e2e/NativeModule.test.ts:5:58)
processTicksAndRejections (node:internal/process/task_queues:95:5)