-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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.toBeVisible failing on Android for a hidden element inside a fixed size ScrollView #3105
Comments
@malvarado-mc Our apologies, but it looks like you've hit the visibility edge case we've long had with React Native: React native in fact renders the "blue" view outside the bound of the height-constraint scroll view and Android considers it as visible. Is there anything else you can depend on in your assertions, instead? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! For more information on bots in this reporsitory, read this discussion. |
The issue has been closed for inactivity. |
@Stale still alive 🥇 |
Seeing this on Android too with RN 0.70.6.
test.mp4 |
Describe the bug
I have a ScrollView with multiple elements on it. The last one is not visible because the ScrollView has a fixed size height and it is out of the visible area. However when I try to assert that the element is not visible, the test fails. This prevents me from scrolling down until visible.
Steps To Reproduce
Expected behavior
Assert that the element is visible only when the element is visible, just like it is on iOS
Detox Trace-Logs
Detox logs
detox[64037] INFO: [test.js] DETOX_CONFIGURATION="android" DETOX_LOGLEVEL="trace" DETOX_REPORT_SPECS=true DETOX_START_TIMESTAMP=1637724512859 DETOX_USE_CUSTOM_LOGGER=true jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' --maxWorkers 1 ./e2e/features/bug.e2e.js detox[64038] TRACE: [DETOX_CREATE] created a Detox instance with config: { appsConfig: { default: { type: 'android.apk', binaryPath: 'android/app/build/outputs/apk/debug/app-debug.apk', build: 'cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ..' } }, artifactsConfig: { rootDir: 'artifacts/android.2021-11-24 03-28-32Z', plugins: { log: { enabled: false, keepOnlyFailedTestsArtifacts: false }, screenshot: { enabled: true, shouldTakeAutomaticSnapshots: false, keepOnlyFailedTestsArtifacts: false }, video: { enabled: false, keepOnlyFailedTestsArtifacts: false }, instruments: { enabled: false, keepOnlyFailedTestsArtifacts: false }, timeline: { enabled: false }, uiHierarchy: { enabled: false, keepOnlyFailedTestsArtifacts: false } }, pathBuilder: ArtifactPathBuilder { _rootDir: 'artifacts/android.2021-11-24 03-28-32Z' } }, behaviorConfig: { init: { reinstallApp: true, exposeGlobals: true }, cleanup: { shutdownDevice: false }, launchApp: 'auto' }, cliConfig: { configuration: 'android', loglevel: 'trace', useCustomLogger: true }, configurationName: 'android', deviceConfig: { type: 'android.emulator', device: { avdName: 'Pixel_4_XL_API_30' } }, runnerConfig: { testRunner: 'jest', runnerConfig: 'e2e/config.json', specs: 'e2e', skipLegacyWorkersInjection: false }, sessionConfig: { autoStart: true, server: 'ws://localhost:52242', sessionId: 'b66c22a8-fa97-4477-1fb5-5497085fee2e', debugSynchronization: 10000 } } detox[64038] DEBUG: [WSS_CREATE] Detox server listening on localhost:52242... detox[64038] DEBUG: [WSS_CONNECTION, #52243] registered a new connection. detox[64038] TRACE: [WS_OPEN] opened web socket to: ws://localhost:52242 detox[64038] TRACE: [WS_SEND] {"type":"login","params":{"sessionId":"b66c22a8-fa97-4477-1fb5-5497085fee2e","role":"tester"},"messageId":0} detox[64038] TRACE: [WSS_GET_FROM, #52243] {"type":"login","params":{"sessionId":"b66c22a8-fa97-4477-1fb5-5497085fee2e","role":"tester"},"messageId":0} detox[64038] TRACE: [SESSION_CREATED] created session b66c22a8-fa97-4477-1fb5-5497085fee2e detox[64038] TRACE: [WSS_SEND_TO, #tester] {"type":"loginSuccess","params":{"testerConnected":true,"appConnected":false},"messageId":0} detox[64038] TRACE: [SESSION_JOINED] tester joined session b66c22a8-fa97-4477-1fb5-5497085fee2e detox[64038] TRACE: [WS_MESSAGE] {"type":"loginSuccess","params":{"testerConnected":true,"appConnected":false},"messageId":0}
detox[64038] DEBUG: [EXEC_CMD, #0] "/Users/mnax/Library/Android/sdk/emulator/emulator" -list-avds --verbose
detox[64038] TRACE: [EXEC_SUCCESS, #0] Nexus_4_API_22
Pixel_4_XL_API_30
detox[64038] DEBUG: [EXEC_CMD, #1] "/Users/mnax/Library/Android/sdk/emulator/emulator" -version
detox[64038] TRACE: [EXEC_SUCCESS, #1] Android emulator version 30.8.4.0 (build_id 7600983) (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.
detox[64038] TRACE: [EXEC_SUCCESS, #1] 2021-11-23 21:28:34.378 bluetooth - /Volumes/Android/buildbot/src/android/emu-master-dev/system/bt/vendor_libs/test_vendor_lib/model/setup/device_boutique.cc:33 - Register: Registering beacon
2021-11-23 21:28:34.378 bluetooth - /Volumes/Android/buildbot/src/android/emu-master-dev/system/bt/vendor_libs/test_vendor_lib/model/setup/device_boutique.cc:33 - Register: Registering beacon_swarm
2021-11-23 21:28:34.378 bluetooth - /Volumes/Android/buildbot/src/android/emu-master-dev/system/bt/vendor_libs/test_vendor_lib/model/setup/device_boutique.cc:33 - Register: Registering car_kit
2021-11-23 21:28:34.378 bluetooth - /Volumes/Android/buildbot/src/android/emu-master-dev/system/bt/vendor_libs/test_vendor_lib/model/setup/device_boutique.cc:33 - Register: Registering classic
2021-11-23 21:28:34.378 bluetooth - /Volumes/Android/buildbot/src/android/emu-master-dev/system/bt/vendor_libs/test_vendor_lib/model/setup/device_boutique.cc:33 - Register: Registering keyboard
2021-11-23 21:28:34.378 bluetooth - /Volumes/Android/buildbot/src/android/emu-master-dev/system/bt/vendor_libs/test_vendor_lib/model/setup/device_boutique.cc:33 - Register: Registering remote_loopback
2021-11-23 21:28:34.378 bluetooth - /Volumes/Android/buildbot/src/android/emu-master-dev/system/bt/vendor_libs/test_vendor_lib/model/setup/device_boutique.cc:33 - Register: Registering scripted_beacon
2021-11-23 21:28:34.379 bluetooth - /Volumes/Android/buildbot/src/android/emu-master-dev/system/bt/vendor_libs/test_vendor_lib/model/setup/device_boutique.cc:33 - Register: Registering sniffer
detox[64038] DEBUG: [EMU_BIN_VERSION_DETECT] Detected emulator binary version { major: 30, minor: 8, patch: 4, toString: [Function: toString] }
detox[64038] DEBUG: [ALLOCATE_DEVICE] Trying to allocate a device based on "Pixel_4_XL_API_30"
detox[64038] DEBUG: [EXEC_CMD, #2] "/Users/mnax/Library/Android/sdk/platform-tools/adb" devices
detox[64038] DEBUG: [EXEC_SUCCESS, #2] List of devices attached
emulator-5554 device
detox[64038] TRACE: [TELNET_CONNECTING] port: 5554, host: localhost
detox[64038] DEBUG: [DEVICE_LOOKUP] Found a matching & free device emulator-5554
detox[64038] DEBUG: [ALLOCATE_DEVICE] Settled on emulator-5554
detox[64038] DEBUG: [EXEC_CMD, #3] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "getprop dev.bootcomplete"
detox[64038] TRACE: [EXEC_SUCCESS, #3] 1
detox[64038] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBootDevice({
deviceId: 'emulator-5554',
type: 'Pixel_4_XL_API_30',
coldBoot: false
})
detox[64038] DEBUG: [EXEC_CMD, #4] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "getprop ro.build.version.sdk"
detox[64038] TRACE: [EXEC_SUCCESS, #4] 30
detox[64038] DEBUG: [EXEC_CMD, #5] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "settings put global animator_duration_scale 0"
detox[64038] TRACE: [EXEC_SUCCESS, #5]
detox[64038] DEBUG: [EXEC_CMD, #6] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "settings put global window_animation_scale 0"
detox[64038] TRACE: [EXEC_SUCCESS, #6]
detox[64038] DEBUG: [EXEC_CMD, #7] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "settings put global transition_animation_scale 0"
detox[64038] TRACE: [EXEC_SUCCESS, #7]
detox[64038] DEBUG: [EXEC_CMD, #8] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "dumpsys power | grep "^[ ]m[UW].=""
detox[64038] TRACE: [EXEC_SUCCESS, #8] mWakefulness=Awake
mWakefulnessChanging=false
mWakeLockSummary=0x1
mUserActivitySummary=0x1
mWakeUpWhenPluggedOrUnpluggedConfig=false
mWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false
mUserActivityTimeoutOverrideFromWindowManager=-1
mUserInactiveOverrideFromWindowManager=false
mUserId=0
detox[64038] DEBUG: [EXEC_CMD, #9] "/Users/mnax/Library/Android/sdk/build-tools/31.0.0/aapt" dump badging "/Users/mnax/mobile-app/android/app/build/outputs/apk/debug/app-debug.apk" | grep -e "package: name="
detox[64038] TRACE: [EXEC_SUCCESS, #9] package: name='com.myapp' versionCode='1' versionName='1.0' compileSdkVersion='29' compileSdkVersionCodename='10'
detox[64038] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBeforeTerminateApp({ deviceId: 'emulator-5554', bundleId: 'com.myapp' })
detox[64038] DEBUG: [EXEC_CMD, #10] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "am force-stop com.myapp"
detox[64038] TRACE: [EXEC_SUCCESS, #10]
detox[64038] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onTerminateApp({ deviceId: 'emulator-5554', bundleId: 'com.myapp' })
detox[64038] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBeforeUninstallApp({ deviceId: 'emulator-5554', bundleId: 'com.myapp' })
detox[64038] DEBUG: [EXEC_CMD, #11] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "pm list packages com.myapp"
detox[64038] TRACE: [EXEC_SUCCESS, #11] package:com.myapp
package:com.myapp.test
detox[64038] DEBUG: [EXEC_CMD, #12] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 uninstall com.myapp
detox[64038] TRACE: [EXEC_SUCCESS, #12] Success
detox[64038] DEBUG: [EXEC_CMD, #13] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "pm list packages com.myapp.test"
detox[64038] TRACE: [EXEC_SUCCESS, #13] package:com.myapp.test
detox[64038] DEBUG: [EXEC_CMD, #14] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 uninstall com.myapp.test
detox[64038] TRACE: [EXEC_SUCCESS, #14] Success
detox[64038] DEBUG: [EXEC_CMD, #15] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "rm -fr /data/local/tmp/detox"
detox[64038] TRACE: [EXEC_SUCCESS, #15]
detox[64038] DEBUG: [EXEC_CMD, #16] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "mkdir -p /data/local/tmp/detox"
detox[64038] TRACE: [EXEC_SUCCESS, #16]
detox[64038] DEBUG: [EXEC_CMD, #17] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 push "/Users/mnax/mobile-app/android/app/build/outputs/apk/debug/app-debug.apk" "/data/local/tmp/detox/Application.apk"
detox[64038] TRACE: [EXEC_SUCCESS, #17] /Users/mnax/mobile-app/android/app/build/outputs/apk/debug/app-debug.apk: 1 file pushed, 0 skipped. 94.2 MB/s (51785436 bytes in 0.524s)
detox[64038] DEBUG: [EXEC_CMD, #18] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "pm install -r -g -t /data/local/tmp/detox/Application.apk"
detox[64038] TRACE: [EXEC_SUCCESS, #18] Success
detox[64038] DEBUG: [EXEC_CMD, #19] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 push "/Users/mnax/mobile-app/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk" "/data/local/tmp/detox/Test.apk"
detox[64038] TRACE: [EXEC_SUCCESS, #19] /Users/mnax/mobile-app/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk: 1 file pushed, 0 skipped. 75.3 MB/s (2818099 bytes in 0.036s)
detox[64038] DEBUG: [EXEC_CMD, #20] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "pm install -r -g -t /data/local/tmp/detox/Test.apk"
detox[64038] TRACE: [EXEC_SUCCESS, #20] Success
ROOT_DESCRIBE_BLOCK[64038] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onRunDescribeStart({ name: 'ROOT_DESCRIBE_BLOCK' })
detox[64038] INFO: should scroll to blue view
detox[64038] TRACE: [DETOX_BEFORE_EACH] running test: "should scroll to blue view"
detox[64038] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onTestStart({
title: 'should scroll to blue view',
fullName: 'should scroll to blue view',
status: 'running',
invocations: 1
})
detox[64038] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBeforeTerminateApp({ deviceId: 'emulator-5554', bundleId: 'com.myapp' })
detox[64038] DEBUG: [EXEC_CMD, #21] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "am force-stop com.myapp"
detox[64038] TRACE: [EXEC_SUCCESS, #21]
detox[64038] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onTerminateApp({ deviceId: 'emulator-5554', bundleId: 'com.myapp' })
detox[64038] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBeforeLaunchApp({
deviceId: 'emulator-5554',
bundleId: 'com.myapp',
launchArgs: {
detoxServer: 'ws://localhost:52242',
detoxSessionId: 'b66c22a8-fa97-4477-1fb5-5497085fee2e'
}
})
detox[64038] DEBUG: [EXEC_CMD, #22] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "date +"%m-%d %T.000""
detox[64038] TRACE: [EXEC_SUCCESS, #22] 11-23 21:28:35.000
detox[64038] DEBUG: [EXEC_CMD, #23] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 reverse tcp:52242 tcp:52242
detox[64038] TRACE: [EXEC_SUCCESS, #23] 52242
detox[64038] DEBUG: [EXEC_CMD, #24] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "pm list instrumentation"
detox[64038] TRACE: [EXEC_SUCCESS, #24] instrumentation:com.myapp.test/androidx.test.runner.AndroidJUnitRunner (target=com.myapp)
detox[64038] DEBUG: [SPAWN_CMD, #64088] /Users/mnax/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:52242 -e detoxSessionId b66c22a8-fa97-4477-1fb5-5497085fee2e -e debug false com.myapp.test/androidx.test.runner.AndroidJUnitRunner
detox[64038] DEBUG: [EXEC_CMD, #25] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "ps | grep "com.myapp$""
detox[64038] TRACE: [EXEC_SUCCESS, #25] u0_a312 31283 290 2077820 127536 0 0 R com.myapp
detox[31283] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onLaunchApp({
deviceId: 'emulator-5554',
bundleId: 'com.myapp',
launchArgs: {
detoxServer: 'ws://localhost:52242',
detoxSessionId: 'b66c22a8-fa97-4477-1fb5-5497085fee2e'
},
pid: 31283
})
detox[64038] TRACE: [SPAWN_STDOUT, #64088] INSTRUMENTATION_STATUS: class=com.myapp.DetoxTest
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
INSTRUMENTATION_STATUS: numtests=1
INSTRUMENTATION_STATUS: stream=
com.myapp.DetoxTest:
INSTRUMENTATION_STATUS: test=runDetoxTests
INSTRUMENTATION_STATUS_CODE: 1
detox[64038] DEBUG: [WSS_CONNECTION, #52336] registered a new connection.
detox[64038] TRACE: [WSS_GET_FROM, #52336] {"messageId":0,"type":"login","params":{"role":"app","sessionId":"b66c22a8-fa97-4477-1fb5-5497085fee2e"}}
detox[64038] TRACE: [WSS_SEND_TO, #app] {"messageId":0,"type":"loginSuccess","params":{"testerConnected":true,"appConnected":true}}
detox[64038] TRACE: [SESSION_JOINED] app joined session b66c22a8-fa97-4477-1fb5-5497085fee2e
detox[64038] TRACE: [WSS_SEND_TO, #tester] {"type":"appConnected"}
detox[64038] TRACE: [WS_MESSAGE] {"type":"appConnected"}
detox[64038] TRACE: [WS_SEND] {"type":"isReady","params":{},"messageId":-1000}
detox[64038] TRACE: [WSS_GET_FROM, #tester] {"type":"isReady","params":{},"messageId":-1000}
detox[64038] TRACE: [WSS_SEND_TO, #app] {"type":"isReady","params":{},"messageId":-1000}
detox[64038] TRACE: [WSS_GET_FROM, #app] {"messageId":-1000,"type":"ready","params":{}}
detox[64038] TRACE: [WSS_SEND_TO, #tester] {"messageId":-1000,"type":"ready","params":{}}
detox[64038] TRACE: [WS_MESSAGE] {"messageId":-1000,"type":"ready","params":{}}
detox[31283] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onAppReady({
deviceId: 'emulator-5554',
bundleId: 'com.myapp',
pid: 31283
})
detox[64038] TRACE: [WS_SEND] {"type":"invoke","params":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxAssertion"},"method":"assertMatcher","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"androidx.test.espresso.Espresso"},"method":"onView","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForTestId","args":["blue-view"]}}]}},{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForNot","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForSufficientlyVisible","args":[{"type":"Integer","value":75}]}}]}}]},"messageId":1}
detox[64038] TRACE: [WSS_GET_FROM, #tester] {"type":"invoke","params":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxAssertion"},"method":"assertMatcher","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"androidx.test.espresso.Espresso"},"method":"onView","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForTestId","args":["blue-view"]}}]}},{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForNot","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForSufficientlyVisible","args":[{"type":"Integer","value":75}]}}]}}]},"messageId":1}
detox[64038] TRACE: [WSS_SEND_TO, #app] {"type":"invoke","params":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxAssertion"},"method":"assertMatcher","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"androidx.test.espresso.Espresso"},"method":"onView","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForTestId","args":["blue-view"]}}]}},{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForNot","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForSufficientlyVisible","args":[{"type":"Integer","value":75}]}}]}}]},"messageId":1}
detox[64038] TRACE: [WSS_GET_FROM, #app] {"messageId":-1000,"type":"ready","params":{}}
detox[64038] TRACE: [WSS_SEND_TO, #tester] {"messageId":-1000,"type":"ready","params":{}}
detox[64038] TRACE: [WS_MESSAGE] {"messageId":-1000,"type":"ready","params":{}}
detox[64038] TRACE: [WSS_GET_FROM, #app] {"messageId":1,"type":"testFailed","params":{"details":"'not at least 75 percent of the view's area is displayed to the user.' doesn't match the selected view.\nExpected: not at least 75 percent of the view's area is displayed to the user.\n Got: "ReactViewGroup{id=7, visibility=VISIBLE, width=1440, height=700, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params=android.view.ViewGroup$LayoutParams@e6f3481, tag=blue-view, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=1400.0, child-count=0}"\n"}}
detox[64038] TRACE: [WSS_SEND_TO, #tester] {"messageId":1,"type":"testFailed","params":{"details":"'not at least 75 percent of the view's area is displayed to the user.' doesn't match the selected view.\nExpected: not at least 75 percent of the view's area is displayed to the user.\n Got: "ReactViewGroup{id=7, visibility=VISIBLE, width=1440, height=700, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params=android.view.ViewGroup$LayoutParams@e6f3481, tag=blue-view, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=1400.0, child-count=0}"\n"}}
detox[64038] TRACE: [WS_MESSAGE] {"messageId":1,"type":"testFailed","params":{"details":"'not at least 75 percent of the view's area is displayed to the user.' doesn't match the selected view.\nExpected: not at least 75 percent of the view's area is displayed to the user.\n Got: "ReactViewGroup{id=7, visibility=VISIBLE, width=1440, height=700, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params=android.view.ViewGroup$LayoutParams@e6f3481, tag=blue-view, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=1400.0, child-count=0}"\n"}}
detox[64038] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onTestFnFailure({
error: Error: Test Failed: 'not at least 75 percent of the view's area is displayed to the user.' doesn't match the selected view.
Expected: not at least 75 percent of the view's area is displayed to the user.
Got: "ReactViewGroup{id=7, visibility=VISIBLE, width=1440, height=700, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params=android.view.ViewGroup$LayoutParams@e6f3481, tag=blue-view, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=1400.0, child-count=0}"
at _callee$ (/Users/mnax/mobile-app/e2e/features/bug.e2e.js:5:49)
at tryCatch (/Users/mnax/mobile-app/node_modules/regenerator-runtime/runtime.js:63:40)
at Generator.invoke [as _invoke] (/Users/mnax/mobile-app/node_modules/regenerator-runtime/runtime.js:293:22)
at Generator.next (/Users/mnax/mobile-app/node_modules/regenerator-runtime/runtime.js:118:21)
at tryCatch (/Users/mnax/mobile-app/node_modules/regenerator-runtime/runtime.js:63:40)
at invoke (/Users/mnax/mobile-app/node_modules/regenerator-runtime/runtime.js:154:20)
at /Users/mnax/mobile-app/node_modules/regenerator-runtime/runtime.js:164:13
at processTicksAndRejections (internal/process/task_queues.js:93:5)
})
detox[64038] TRACE: [DETOX_AFTER_EACH] failed test: "should scroll to blue view"
detox[64038] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onTestDone({
title: 'should scroll to blue view',
fullName: 'should scroll to blue view',
status: 'failed',
invocations: 1,
timedOut: false
})
detox[64038] INFO: should scroll to blue view [FAIL]
ROOT_DESCRIBE_BLOCK[64038] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onRunDescribeFinish({ name: 'ROOT_DESCRIBE_BLOCK' })
detox[64038] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBeforeCleanup()
detox[64038] TRACE: [WS_SEND] {"type":"cleanup","params":{"stopRunner":false},"messageId":-49642}
detox[64038] TRACE: [WSS_GET_FROM, #tester] {"type":"cleanup","params":{"stopRunner":false},"messageId":-49642}
detox[64038] TRACE: [WSS_SEND_TO, #app] {"type":"cleanup","params":{"stopRunner":false},"messageId":-49642}
detox[64038] TRACE: [WSS_GET_FROM, #app] {"messageId":-49642,"type":"cleanupDone","params":{}}
detox[64038] TRACE: [WSS_SEND_TO, #tester] {"messageId":-49642,"type":"cleanupDone","params":{}}
detox[64038] TRACE: [WS_MESSAGE] {"messageId":-49642,"type":"cleanupDone","params":{}}
detox[64038] TRACE: [SESSION_TORN] tester exited session b66c22a8-fa97-4477-1fb5-5497085fee2e
detox[64038] TRACE: [WSS_SEND_TO, #app] {"type":"testerDisconnected","messageId":-1}
detox[64038] TRACE: [SPAWN_KILL, #64088] sending SIGINT to: /Users/mnax/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:52242 -e detoxSessionId b66c22a8-fa97-4477-1fb5-5497085fee2e -e debug false com.myapp.test/androidx.test.runner.AndroidJUnitRunner
detox[64038] DEBUG: [SPAWN_END, #64088] /Users/mnax/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:52242 -e detoxSessionId b66c22a8-fa97-4477-1fb5-5497085fee2e -e debug false com.myapp.test/androidx.test.runner.AndroidJUnitRunner terminated with SIGINT
detox[64038] DEBUG: [EXEC_CMD, #26] "/Users/mnax/Library/Android/sdk/platform-tools/adb" -s emulator-5554 reverse --remove tcp:52242
detox[64038] DEBUG: [WSS_CLOSE] Detox server has been closed gracefully
FAIL e2e/features/bug.e2e.js (10.31 s)
✕ should scroll to blue view (5647 ms)
● should scroll to blue view
detox[64038] TRACE: [SESSION_TORN] app exited session b66c22a8-fa97-4477-1fb5-5497085fee2e
detox[64038] TRACE: [EXEC_SUCCESS, #26]
detox[64037] ERROR: [cli.js] Command failed: jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' --maxWorkers 1 ./e2e/features/bug.e2e.js
Device logs (adb logcat)
Device logs
{"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"Detox.js","level":10,"event":"DETOX_CREATE","config":{"appsConfig":{"default":{"type":"android.apk","binaryPath":"android/app/build/outputs/apk/debug/app-debug.apk","build":"cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd .."}},"artifactsConfig":{"rootDir":"artifacts/android.2021-11-24 03-53-55Z","plugins":{"log":{"enabled":true,"keepOnlyFailedTestsArtifacts":false},"screenshot":{"enabled":true,"shouldTakeAutomaticSnapshots":false,"keepOnlyFailedTestsArtifacts":false},"video":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"instruments":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"timeline":{"enabled":false},"uiHierarchy":{"enabled":false,"keepOnlyFailedTestsArtifacts":false}},"pathBuilder":{"_rootDir":"artifacts/android.2021-11-24 03-53-55Z"}},"behaviorConfig":{"init":{"reinstallApp":true,"exposeGlobals":true},"cleanup":{"shutdownDevice":false},"launchApp":"auto"},"cliConfig":{"recordLogs":"all","configuration":"android","loglevel":"trace","useCustomLogger":true},"configurationName":"android","deviceConfig":{"type":"android.emulator","device":{"avdName":"Pixel_4_XL_API_30"}},"errorComposer":{"configurationName":"android","filepath":"/Users/mnax/mobile-app/.detoxrc.json","contents":{"testRunner":"jest","runnerConfig":"e2e/config.json","apps":{"ios":{"type":"ios.app","binaryPath":"ios/build/Build/Products/Debug-iphonesimulator/myapp.app","build":"xcodebuild -workspace ios/myapp.xcworkspace -configuration Debug -scheme myapp -destination 'generic/platform=iOS Simulator' -derivedDataPath ios/build"},"android":{"type":"android.apk","binaryPath":"android/app/build/outputs/apk/debug/app-debug.apk","build":"cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd .."}},"devices":{"simulator":{"type":"ios.simulator","device":{"type":"iPhone SE (2nd generation)"}},"emulator":{"type":"android.emulator","device":{"avdName":"Pixel_4_XL_API_30"}}},"configurations":{"ios":{"device":"simulator","app":"ios"},"android":{"device":"emulator","app":"android"}}},"_extends":false},"runnerConfig":{"testRunner":"jest","runnerConfig":"e2e/config.json","specs":"e2e","skipLegacyWorkersInjection":false},"sessionConfig":{"autoStart":true,"server":"ws://localhost:56447","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","debugSynchronization":10000}},"msg":"created a Detox instance with config:\n{\n appsConfig: {\n default: {\n type: 'android.apk',\n binaryPath: 'android/app/build/outputs/apk/debug/app-debug.apk',\n build: 'cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ..'\n }\n },\n artifactsConfig: {\n rootDir: 'artifacts/android.2021-11-24 03-53-55Z',\n plugins: {\n log: {\n enabled: true,\n keepOnlyFailedTestsArtifacts: false\n },\n screenshot: {\n enabled: true,\n shouldTakeAutomaticSnapshots: false,\n keepOnlyFailedTestsArtifacts: false\n },\n video: {\n enabled: false,\n keepOnlyFailedTestsArtifacts: false\n },\n instruments: {\n enabled: false,\n keepOnlyFailedTestsArtifacts: false\n },\n timeline: {\n enabled: false\n },\n uiHierarchy: {\n enabled: false,\n keepOnlyFailedTestsArtifacts: false\n }\n },\n pathBuilder: ArtifactPathBuilder {\n _rootDir: 'artifacts/android.2021-11-24 03-53-55Z'\n }\n },\n behaviorConfig: {\n init: {\n reinstallApp: true,\n exposeGlobals: true\n },\n cleanup: {\n shutdownDevice: false\n },\n launchApp: 'auto'\n },\n cliConfig: {\n recordLogs: 'all',\n configuration: 'android',\n loglevel: 'trace',\n useCustomLogger: true\n },\n configurationName: 'android',\n deviceConfig: {\n type: 'android.emulator',\n device: {\n avdName: 'Pixel_4_XL_API_30'\n }\n },\n runnerConfig: {\n testRunner: 'jest',\n runnerConfig: 'e2e/config.json',\n specs: 'e2e',\n skipLegacyWorkersInjection: false\n },\n sessionConfig: {\n autoStart: true,\n server: 'ws://localhost:56447',\n sessionId: 'b82c0aee-c6c9-cafb-e669-a09f544aca5b',\n debugSynchronization: 10000\n }\n}","time":"2021-11-24T03:53:56.554Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxServer.js","level":20,"event":"WSS_CREATE","msg":"Detox server listening on localhost:56447...","time":"2021-11-24T03:53:56.557Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":56448,"level":20,"event":"WSS_CONNECTION","msg":"registered a new connection.","time":"2021-11-24T03:53:56.567Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"AsyncWebSocket.js","url":"ws://localhost:56447","level":10,"event":"WS_OPEN","msg":"opened web socket to: ws://localhost:56447","time":"2021-11-24T03:53:56.568Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"AsyncWebSocket.js","url":"ws://localhost:56447","level":10,"event":"WS_SEND","msg":"{\"type\":\"login\",\"params\":{\"sessionId\":\"b82c0aee-c6c9-cafb-e669-a09f544aca5b\",\"role\":\"tester\"},\"messageId\":0}","time":"2021-11-24T03:53:56.571Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":56448,"level":10,"event":"WSS_GET_FROM","msg":"{\"type\":\"login\",\"params\":{\"sessionId\":\"b82c0aee-c6c9-cafb-e669-a09f544aca5b\",\"role\":\"tester\"},\"messageId\":0}","time":"2021-11-24T03:53:56.573Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxSession.js","level":10,"event":"SESSION_CREATED","msg":"created session b82c0aee-c6c9-cafb-e669-a09f544aca5b","time":"2021-11-24T03:53:56.574Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"tester","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"tester","level":10,"event":"WSS_SEND_TO","msg":"{\"type\":\"loginSuccess\",\"params\":{\"testerConnected\":true,\"appConnected\":false},\"messageId\":0}","time":"2021-11-24T03:53:56.574Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxSession.js","level":10,"event":"SESSION_JOINED","msg":"tester joined session b82c0aee-c6c9-cafb-e669-a09f544aca5b","time":"2021-11-24T03:53:56.574Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"AsyncWebSocket.js","url":"ws://localhost:56447","level":10,"event":"WS_MESSAGE","msg":"{\"type\":\"loginSuccess\",\"params\":{\"testerConnected\":true,\"appConnected\":false},\"messageId\":0}\n ","time":"2021-11-24T03:53:56.575Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/emulator/emulator\" -list-avds --verbose","trackingId":0,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/emulator/emulator\" -list-avds --verbose","time":"2021-11-24T03:53:56.645Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/emulator/emulator\" -list-avds --verbose","trackingId":0,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"Nexus_4_API_22\nPixel_4_XL_API_30\n","time":"2021-11-24T03:53:56.701Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/emulator/emulator\" -version ","trackingId":1,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/emulator/emulator\" -version ","time":"2021-11-24T03:53:56.702Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/emulator/emulator\" -version ","trackingId":1,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"Android emulator version 30.8.4.0 (build_id 7600983) (CL:N/A)\nCopyright (C) 2006-2017 The Android Open Source Project and many others.\nThis program is a derivative of the QEMU CPU emulator (www.qemu.org).\n\n This software is licensed under the terms of the GNU General Public\n License version 2, as published by the Free Software Foundation, and\n may be copied, distributed, and modified under those terms.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n","time":"2021-11-24T03:53:56.985Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/emulator/emulator\" -version ","trackingId":1,"level":10,"event":"EXEC_SUCCESS","stderr":true,"msg":"2021-11-23 21:53:56.878 bluetooth - /Volumes/Android/buildbot/src/android/emu-master-dev/system/bt/vendor_libs/test_vendor_lib/model/setup/device_boutique.cc:33 - Register: Registering beacon\n2021-11-23 21:53:56.878 bluetooth - /Volumes/Android/buildbot/src/android/emu-master-dev/system/bt/vendor_libs/test_vendor_lib/model/setup/device_boutique.cc:33 - Register: Registering beacon_swarm\n2021-11-23 21:53:56.878 bluetooth - /Volumes/Android/buildbot/src/android/emu-master-dev/system/bt/vendor_libs/test_vendor_lib/model/setup/device_boutique.cc:33 - Register: Registering car_kit\n2021-11-23 21:53:56.878 bluetooth - /Volumes/Android/buildbot/src/android/emu-master-dev/system/bt/vendor_libs/test_vendor_lib/model/setup/device_boutique.cc:33 - Register: Registering classic\n2021-11-23 21:53:56.878 bluetooth - /Volumes/Android/buildbot/src/android/emu-master-dev/system/bt/vendor_libs/test_vendor_lib/model/setup/device_boutique.cc:33 - Register: Registering keyboard\n2021-11-23 21:53:56.878 bluetooth - /Volumes/Android/buildbot/src/android/emu-master-dev/system/bt/vendor_libs/test_vendor_lib/model/setup/device_boutique.cc:33 - Register: Registering remote_loopback\n2021-11-23 21:53:56.878 bluetooth - /Volumes/Android/buildbot/src/android/emu-master-dev/system/bt/vendor_libs/test_vendor_lib/model/setup/device_boutique.cc:33 - Register: Registering scripted_beacon\n2021-11-23 21:53:56.878 bluetooth - /Volumes/Android/buildbot/src/android/emu-master-dev/system/bt/vendor_libs/test_vendor_lib/model/setup/device_boutique.cc:33 - Register: Registering sniffer\n","time":"2021-11-24T03:53:56.985Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"EmulatorVersionResolver.js","level":20,"event":"EMU_BIN_VERSION_DETECT","success":true,"msg":"Detected emulator binary version { major: 30, minor: 8, patch: 4, toString: [Function: toString] }","time":"2021-11-24T03:53:56.986Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"EmulatorAllocationHelper.js","level":20,"event":"ALLOCATE_DEVICE","msg":"Trying to allocate a device based on \"Pixel_4_XL_API_30\"","time":"2021-11-24T03:53:56.986Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" devices","trackingId":2,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" devices","time":"2021-11-24T03:53:56.989Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" devices","trackingId":2,"level":20,"event":"EXEC_SUCCESS","stdout":true,"msg":"List of devices attached\nemulator-5554\tdevice\n\n","time":"2021-11-24T03:53:57.004Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"EmulatorTelnet.js","level":10,"event":"TELNET_CONNECTING","msg":"port: 5554, host: localhost","time":"2021-11-24T03:53:57.007Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"FreeDeviceFinder.js","level":20,"event":"DEVICE_LOOKUP","msg":"Found a matching & free device emulator-5554","time":"2021-11-24T03:53:57.013Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"EmulatorAllocationHelper.js","level":20,"event":"ALLOCATE_DEVICE","msg":"Settled on emulator-5554","time":"2021-11-24T03:53:57.015Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop dev.bootcomplete\"","trackingId":3,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop dev.bootcomplete\"","time":"2021-11-24T03:53:57.016Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop dev.bootcomplete\"","trackingId":3,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"1\n","time":"2021-11-24T03:53:57.049Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"ArtifactsManager.js","level":10,"event":"ARTIFACTS_LIFECYCLE","fn":"onBootDevice","deviceId":"emulator-5554","type":"Pixel_4_XL_API_30","coldBoot":false,"msg":"artifactsManager.onBootDevice({\n deviceId: 'emulator-5554',\n type: 'Pixel_4_XL_API_30',\n coldBoot: false\n})","time":"2021-11-24T03:53:57.051Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop ro.build.version.sdk\"","trackingId":4,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop ro.build.version.sdk\"","time":"2021-11-24T03:53:57.051Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"getprop ro.build.version.sdk\"","trackingId":4,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"30\n","time":"2021-11-24T03:53:57.080Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global animator_duration_scale 0\"","trackingId":5,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global animator_duration_scale 0\"","time":"2021-11-24T03:53:57.081Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global animator_duration_scale 0\"","trackingId":5,"level":10,"event":"EXEC_SUCCESS","msg":"","time":"2021-11-24T03:53:57.124Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global window_animation_scale 0\"","trackingId":6,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global window_animation_scale 0\"","time":"2021-11-24T03:53:57.125Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global window_animation_scale 0\"","trackingId":6,"level":10,"event":"EXEC_SUCCESS","msg":"","time":"2021-11-24T03:53:57.169Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global transition_animation_scale 0\"","trackingId":7,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global transition_animation_scale 0\"","time":"2021-11-24T03:53:57.169Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"settings put global transition_animation_scale 0\"","trackingId":7,"level":10,"event":"EXEC_SUCCESS","msg":"","time":"2021-11-24T03:53:57.207Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"dumpsys power | grep \\\"^[ ]*m[UW].*=\\\"\"","trackingId":8,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"dumpsys power | grep \\\"^[ ]*m[UW].*=\\\"\"","time":"2021-11-24T03:53:57.207Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"dumpsys power | grep \\\"^[ ]*m[UW].*=\\\"\"","trackingId":8,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":" mWakefulness=Awake\n mWakefulnessChanging=false\n mWakeLockSummary=0x1\n mUserActivitySummary=0x1\n mWakeUpWhenPluggedOrUnpluggedConfig=false\n mWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false\n mUserActivityTimeoutOverrideFromWindowManager=-1\n mUserInactiveOverrideFromWindowManager=false\n mUserId=0\n","time":"2021-11-24T03:53:57.353Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/build-tools/31.0.0/aapt\" dump badging \"/Users/mnax/mobile-app/android/app/build/outputs/apk/debug/app-debug.apk\" | grep -e \"package: name=\"","trackingId":9,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/build-tools/31.0.0/aapt\" dump badging \"/Users/mnax/mobile-app/android/app/build/outputs/apk/debug/app-debug.apk\" | grep -e \"package: name=\"","time":"2021-11-24T03:53:57.376Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/build-tools/31.0.0/aapt\" dump badging \"/Users/mnax/mobile-app/android/app/build/outputs/apk/debug/app-debug.apk\" | grep -e \"package: name=\"","trackingId":9,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"package: name='com.myapp' versionCode='1' versionName='1.0' compileSdkVersion='29' compileSdkVersionCodename='10'\n","time":"2021-11-24T03:53:57.416Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"ArtifactsManager.js","level":10,"event":"ARTIFACTS_LIFECYCLE","fn":"onBeforeTerminateApp","deviceId":"emulator-5554","bundleId":"com.myapp","msg":"artifactsManager.onBeforeTerminateApp({ deviceId: 'emulator-5554', bundleId: 'com.myapp' })","time":"2021-11-24T03:53:57.433Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.myapp\"","trackingId":10,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.myapp\"","time":"2021-11-24T03:53:57.433Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.myapp\"","trackingId":10,"level":10,"event":"EXEC_SUCCESS","msg":"","time":"2021-11-24T03:53:57.500Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"ArtifactsManager.js","level":10,"event":"ARTIFACTS_LIFECYCLE","fn":"onTerminateApp","deviceId":"emulator-5554","bundleId":"com.myapp","msg":"artifactsManager.onTerminateApp({ deviceId: 'emulator-5554', bundleId: 'com.myapp' })","time":"2021-11-24T03:53:57.500Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"ArtifactsManager.js","level":10,"event":"ARTIFACTS_LIFECYCLE","fn":"onBeforeUninstallApp","deviceId":"emulator-5554","bundleId":"com.myapp","msg":"artifactsManager.onBeforeUninstallApp({ deviceId: 'emulator-5554', bundleId: 'com.myapp' })","time":"2021-11-24T03:53:57.501Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.myapp\"","trackingId":11,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.myapp\"","time":"2021-11-24T03:53:57.501Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.myapp\"","trackingId":11,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"package:com.myapp\npackage:com.myapp.test\n","time":"2021-11-24T03:53:57.566Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.myapp","trackingId":12,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.myapp","time":"2021-11-24T03:53:57.567Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.myapp","trackingId":12,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"Success\n","time":"2021-11-24T03:53:57.768Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.myapp.test\"","trackingId":13,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.myapp.test\"","time":"2021-11-24T03:53:57.769Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list packages com.myapp.test\"","trackingId":13,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"package:com.myapp.test\n","time":"2021-11-24T03:53:57.807Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.myapp.test","trackingId":14,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.myapp.test","time":"2021-11-24T03:53:57.808Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 uninstall com.myapp.test","trackingId":14,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"Success\n","time":"2021-11-24T03:53:58.084Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm -fr /data/local/tmp/detox\"","trackingId":15,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm -fr /data/local/tmp/detox\"","time":"2021-11-24T03:53:58.085Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm -fr /data/local/tmp/detox\"","trackingId":15,"level":10,"event":"EXEC_SUCCESS","msg":"","time":"2021-11-24T03:53:58.159Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"mkdir -p /data/local/tmp/detox\"","trackingId":16,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"mkdir -p /data/local/tmp/detox\"","time":"2021-11-24T03:53:58.159Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"mkdir -p /data/local/tmp/detox\"","trackingId":16,"level":10,"event":"EXEC_SUCCESS","msg":"","time":"2021-11-24T03:53:58.196Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/mnax/mobile-app/android/app/build/outputs/apk/debug/app-debug.apk\" \"/data/local/tmp/detox/Application.apk\"","trackingId":17,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/mnax/mobile-app/android/app/build/outputs/apk/debug/app-debug.apk\" \"/data/local/tmp/detox/Application.apk\"","time":"2021-11-24T03:53:58.197Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/mnax/mobile-app/android/app/build/outputs/apk/debug/app-debug.apk\" \"/data/local/tmp/detox/Application.apk\"","trackingId":17,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"/Users/mnax/mobile-app/android/app/build/outputs/apk/debug/app-debug.apk: 1 file pushed, 0 skipped. 151.3 MB/s (51785436 bytes in 0.326s)\n","time":"2021-11-24T03:53:58.562Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm install -r -g -t /data/local/tmp/detox/Application.apk\"","trackingId":18,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm install -r -g -t /data/local/tmp/detox/Application.apk\"","time":"2021-11-24T03:53:58.563Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm install -r -g -t /data/local/tmp/detox/Application.apk\"","trackingId":18,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"Success\n","time":"2021-11-24T03:53:59.255Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/mnax/mobile-app/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" \"/data/local/tmp/detox/Test.apk\"","trackingId":19,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/mnax/mobile-app/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" \"/data/local/tmp/detox/Test.apk\"","time":"2021-11-24T03:53:59.256Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 push \"/Users/mnax/mobile-app/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk\" \"/data/local/tmp/detox/Test.apk\"","trackingId":19,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"/Users/mnax/mobile-app/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk: 1 file pushed, 0 skipped. 179.2 MB/s (2818099 bytes in 0.015s)\n","time":"2021-11-24T03:53:59.326Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm install -r -g -t /data/local/tmp/detox/Test.apk\"","trackingId":20,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm install -r -g -t /data/local/tmp/detox/Test.apk\"","time":"2021-11-24T03:53:59.327Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm install -r -g -t /data/local/tmp/detox/Test.apk\"","trackingId":20,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"Success\n","time":"2021-11-24T03:53:59.646Z","v":0} {"name":"ROOT_DESCRIBE_BLOCK","hostname":"Apples-MBP","pid":64548,"__filename":"ArtifactsManager.js","level":10,"event":"ARTIFACTS_LIFECYCLE","fn":"onRunDescribeStart","msg":"artifactsManager.onRunDescribeStart({ name: 'ROOT_DESCRIBE_BLOCK' })","time":"2021-11-24T03:54:00.080Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"level":30,"event":"SPEC_STATE_CHANGE","msg":"\u001b[90mshould scroll to blue view\u001b[39m","time":"2021-11-24T03:54:00.082Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"Detox.js","level":10,"event":"DETOX_BEFORE_EACH","status":"running","msg":"running test: \"should scroll to blue view\"","time":"2021-11-24T03:54:00.083Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"ArtifactsManager.js","level":10,"event":"ARTIFACTS_LIFECYCLE","fn":"onTestStart","title":"should scroll to blue view","fullName":"should scroll to blue view","status":"running","invocations":1,"msg":"artifactsManager.onTestStart({\n title: 'should scroll to blue view',\n fullName: 'should scroll to blue view',\n status: 'running',\n invocations: 1\n})","time":"2021-11-24T03:54:00.083Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"Artifact.js","class":"ADBLogcatRecording","level":10,"event":"ARTIFACT_START","msg":"starting ADBLogcatRecording","time":"2021-11-24T03:54:00.084Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"ADBLogcatRecording.js","level":20,"msg":"Ignoring a command to start recording, because PID of the app is missing","time":"2021-11-24T03:54:00.084Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"ArtifactsManager.js","level":10,"event":"ARTIFACTS_LIFECYCLE","fn":"onBeforeTerminateApp","deviceId":"emulator-5554","bundleId":"com.myapp","msg":"artifactsManager.onBeforeTerminateApp({ deviceId: 'emulator-5554', bundleId: 'com.myapp' })","time":"2021-11-24T03:54:00.089Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.myapp\"","trackingId":21,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.myapp\"","time":"2021-11-24T03:54:00.090Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"am force-stop com.myapp\"","trackingId":21,"level":10,"event":"EXEC_SUCCESS","msg":"","time":"2021-11-24T03:54:00.133Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"ArtifactsManager.js","level":10,"event":"ARTIFACTS_LIFECYCLE","fn":"onTerminateApp","deviceId":"emulator-5554","bundleId":"com.myapp","msg":"artifactsManager.onTerminateApp({ deviceId: 'emulator-5554', bundleId: 'com.myapp' })","time":"2021-11-24T03:54:00.133Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"ArtifactsManager.js","level":10,"event":"ARTIFACTS_LIFECYCLE","fn":"onBeforeLaunchApp","deviceId":"emulator-5554","bundleId":"com.myapp","launchArgs":{"detoxServer":"ws://localhost:56447","detoxSessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b"},"msg":"artifactsManager.onBeforeLaunchApp({\n deviceId: 'emulator-5554',\n bundleId: 'com.myapp',\n launchArgs: {\n detoxServer: 'ws://localhost:56447',\n detoxSessionId: 'b82c0aee-c6c9-cafb-e669-a09f544aca5b'\n }\n})","time":"2021-11-24T03:54:00.134Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":22,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","time":"2021-11-24T03:54:00.135Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":22,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"11-23 21:53:57.000\n","time":"2021-11-24T03:54:00.165Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:56447 tcp:56447","trackingId":23,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:56447 tcp:56447","time":"2021-11-24T03:54:00.166Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse tcp:56447 tcp:56447","trackingId":23,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"56447\n","time":"2021-11-24T03:54:00.180Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list instrumentation\"","trackingId":24,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list instrumentation\"","time":"2021-11-24T03:54:00.181Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"pm list instrumentation\"","trackingId":24,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"instrumentation:com.myapp.test/androidx.test.runner.AndroidJUnitRunner (target=com.myapp)\n","time":"2021-11-24T03:54:00.216Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","cmd":"/Users/mnax/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56447 -e detoxSessionId b82c0aee-c6c9-cafb-e669-a09f544aca5b -e debug false com.myapp.test/androidx.test.runner.AndroidJUnitRunner","trackingId":64596,"level":20,"event":"SPAWN_CMD","msg":"/Users/mnax/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56447 -e detoxSessionId b82c0aee-c6c9-cafb-e669-a09f544aca5b -e debug false com.myapp.test/androidx.test.runner.AndroidJUnitRunner","time":"2021-11-24T03:54:00.223Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"ps | grep \\\"com\\.myapp$\\\"\"","trackingId":25,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"ps | grep \\\"com\\.myapp$\\\"\"","time":"2021-11-24T03:54:00.724Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"ps | grep \\\"com\\.myapp$\\\"\"","trackingId":25,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"u0_a316 1674 290 2078376 127756 0 0 R com.myapp\n","time":"2021-11-24T03:54:00.792Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":1674,"__filename":"ArtifactsManager.js","level":10,"event":"ARTIFACTS_LIFECYCLE","fn":"onLaunchApp","deviceId":"emulator-5554","bundleId":"com.myapp","launchArgs":{"detoxServer":"ws://localhost:56447","detoxSessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b"},"msg":"artifactsManager.onLaunchApp({\n deviceId: 'emulator-5554',\n bundleId: 'com.myapp',\n launchArgs: {\n detoxServer: 'ws://localhost:56447',\n detoxSessionId: 'b82c0aee-c6c9-cafb-e669-a09f544aca5b'\n },\n pid: 1674\n})","time":"2021-11-24T03:54:00.793Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"Artifact.js","class":"ADBLogcatRecording","level":10,"event":"ARTIFACT_START","msg":"starting ADBLogcatRecording","time":"2021-11-24T03:54:00.793Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"Artifact.js","class":"ADBLogcatRecording","level":10,"event":"ARTIFACT_STOP","msg":"stopping ADBLogcatRecording","time":"2021-11-24T03:54:00.793Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":26,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","time":"2021-11-24T03:54:00.793Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":26,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"11-23 21:53:58.000\n","time":"2021-11-24T03:54:00.820Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","cmd":"/Users/mnax/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell \"logcat -T \\\"11-23 21:53:58.000\\\" --pid=1674 -f /sdcard/215356624_0.log\"","trackingId":64599,"level":20,"event":"SPAWN_CMD","msg":"/Users/mnax/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell \"logcat -T \\\"11-23 21:53:58.000\\\" --pid=1674 -f /sdcard/215356624_0.log\"","time":"2021-11-24T03:54:00.825Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell du /sdcard/215356624_0.log","trackingId":27,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell du /sdcard/215356624_0.log","time":"2021-11-24T03:54:01.130Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell du /sdcard/215356624_0.log","trackingId":27,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"4\t/sdcard/215356624_0.log\n","time":"2021-11-24T03:54:01.154Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","cmd":"/Users/mnax/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56447 -e detoxSessionId b82c0aee-c6c9-cafb-e669-a09f544aca5b -e debug false com.myapp.test/androidx.test.runner.AndroidJUnitRunner","trackingId":64596,"level":10,"stdout":true,"event":"SPAWN_STDOUT","msg":"INSTRUMENTATION_STATUS: class=com.myapp.DetoxTest\nINSTRUMENTATION_STATUS: current=1\nINSTRUMENTATION_STATUS: id=AndroidJUnitRunner\nINSTRUMENTATION_STATUS: numtests=1\nINSTRUMENTATION_STATUS: stream=\ncom.myapp.DetoxTest:\nINSTRUMENTATION_STATUS: test=runDetoxTests\nINSTRUMENTATION_STATUS_CODE: 1\n","time":"2021-11-24T03:54:01.491Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":56548,"level":20,"event":"WSS_CONNECTION","msg":"registered a new connection.","time":"2021-11-24T03:54:02.129Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":56548,"level":10,"event":"WSS_GET_FROM","msg":"{\"messageId\":0,\"type\":\"login\",\"params\":{\"role\":\"app\",\"sessionId\":\"b82c0aee-c6c9-cafb-e669-a09f544aca5b\"}}","time":"2021-11-24T03:54:02.138Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"app","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"app","level":10,"event":"WSS_SEND_TO","msg":"{\"messageId\":0,\"type\":\"loginSuccess\",\"params\":{\"testerConnected\":true,\"appConnected\":true}}","time":"2021-11-24T03:54:02.138Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxSession.js","level":10,"event":"SESSION_JOINED","msg":"app joined session b82c0aee-c6c9-cafb-e669-a09f544aca5b","time":"2021-11-24T03:54:02.138Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"tester","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"tester","level":10,"event":"WSS_SEND_TO","msg":"{\"type\":\"appConnected\"}","time":"2021-11-24T03:54:02.138Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"AsyncWebSocket.js","url":"ws://localhost:56447","level":10,"event":"WS_MESSAGE","msg":"{\"type\":\"appConnected\"}\n ","time":"2021-11-24T03:54:02.139Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"AsyncWebSocket.js","url":"ws://localhost:56447","level":10,"event":"WS_SEND","msg":"{\"type\":\"isReady\",\"params\":{},\"messageId\":-1000}","time":"2021-11-24T03:54:02.140Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"tester","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"tester","level":10,"event":"WSS_GET_FROM","msg":"{\"type\":\"isReady\",\"params\":{},\"messageId\":-1000}","time":"2021-11-24T03:54:02.141Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"app","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"app","level":10,"event":"WSS_SEND_TO","msg":"{\"type\":\"isReady\",\"params\":{},\"messageId\":-1000}","time":"2021-11-24T03:54:02.141Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"app","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"app","level":10,"event":"WSS_GET_FROM","msg":"{\"messageId\":-1000,\"type\":\"ready\",\"params\":{}}","time":"2021-11-24T03:54:06.339Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"tester","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"tester","level":10,"event":"WSS_SEND_TO","msg":"{\"messageId\":-1000,\"type\":\"ready\",\"params\":{}}","time":"2021-11-24T03:54:06.340Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"AsyncWebSocket.js","url":"ws://localhost:56447","level":10,"event":"WS_MESSAGE","msg":"{\"messageId\":-1000,\"type\":\"ready\",\"params\":{}}\n ","time":"2021-11-24T03:54:06.340Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":1674,"__filename":"ArtifactsManager.js","level":10,"event":"ARTIFACTS_LIFECYCLE","fn":"onAppReady","deviceId":"emulator-5554","bundleId":"com.myapp","msg":"artifactsManager.onAppReady({\n deviceId: 'emulator-5554',\n bundleId: 'com.myapp',\n pid: 1674\n})","time":"2021-11-24T03:54:06.341Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"AsyncWebSocket.js","url":"ws://localhost:56447","level":10,"event":"WS_SEND","msg":"{\"type\":\"invoke\",\"params\":{\"target\":{\"type\":\"Class\",\"value\":\"com.wix.detox.espresso.DetoxAssertion\"},\"method\":\"assertMatcher\",\"args\":[{\"type\":\"Invocation\",\"value\":{\"target\":{\"type\":\"Class\",\"value\":\"androidx.test.espresso.Espresso\"},\"method\":\"onView\",\"args\":[{\"type\":\"Invocation\",\"value\":{\"target\":{\"type\":\"Class\",\"value\":\"com.wix.detox.espresso.DetoxMatcher\"},\"method\":\"matcherForTestId\",\"args\":[\"blue-view\"]}}]}},{\"type\":\"Invocation\",\"value\":{\"target\":{\"type\":\"Class\",\"value\":\"com.wix.detox.espresso.DetoxMatcher\"},\"method\":\"matcherForNot\",\"args\":[{\"type\":\"Invocation\",\"value\":{\"target\":{\"type\":\"Class\",\"value\":\"com.wix.detox.espresso.DetoxMatcher\"},\"method\":\"matcherForSufficientlyVisible\",\"args\":[{\"type\":\"Integer\",\"value\":75}]}}]}}]},\"messageId\":1}","time":"2021-11-24T03:54:06.343Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"tester","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"tester","level":10,"event":"WSS_GET_FROM","msg":"{\"type\":\"invoke\",\"params\":{\"target\":{\"type\":\"Class\",\"value\":\"com.wix.detox.espresso.DetoxAssertion\"},\"method\":\"assertMatcher\",\"args\":[{\"type\":\"Invocation\",\"value\":{\"target\":{\"type\":\"Class\",\"value\":\"androidx.test.espresso.Espresso\"},\"method\":\"onView\",\"args\":[{\"type\":\"Invocation\",\"value\":{\"target\":{\"type\":\"Class\",\"value\":\"com.wix.detox.espresso.DetoxMatcher\"},\"method\":\"matcherForTestId\",\"args\":[\"blue-view\"]}}]}},{\"type\":\"Invocation\",\"value\":{\"target\":{\"type\":\"Class\",\"value\":\"com.wix.detox.espresso.DetoxMatcher\"},\"method\":\"matcherForNot\",\"args\":[{\"type\":\"Invocation\",\"value\":{\"target\":{\"type\":\"Class\",\"value\":\"com.wix.detox.espresso.DetoxMatcher\"},\"method\":\"matcherForSufficientlyVisible\",\"args\":[{\"type\":\"Integer\",\"value\":75}]}}]}}]},\"messageId\":1}","time":"2021-11-24T03:54:06.344Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"app","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"app","level":10,"event":"WSS_SEND_TO","msg":"{\"type\":\"invoke\",\"params\":{\"target\":{\"type\":\"Class\",\"value\":\"com.wix.detox.espresso.DetoxAssertion\"},\"method\":\"assertMatcher\",\"args\":[{\"type\":\"Invocation\",\"value\":{\"target\":{\"type\":\"Class\",\"value\":\"androidx.test.espresso.Espresso\"},\"method\":\"onView\",\"args\":[{\"type\":\"Invocation\",\"value\":{\"target\":{\"type\":\"Class\",\"value\":\"com.wix.detox.espresso.DetoxMatcher\"},\"method\":\"matcherForTestId\",\"args\":[\"blue-view\"]}}]}},{\"type\":\"Invocation\",\"value\":{\"target\":{\"type\":\"Class\",\"value\":\"com.wix.detox.espresso.DetoxMatcher\"},\"method\":\"matcherForNot\",\"args\":[{\"type\":\"Invocation\",\"value\":{\"target\":{\"type\":\"Class\",\"value\":\"com.wix.detox.espresso.DetoxMatcher\"},\"method\":\"matcherForSufficientlyVisible\",\"args\":[{\"type\":\"Integer\",\"value\":75}]}}]}}]},\"messageId\":1}","time":"2021-11-24T03:54:06.344Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"app","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"app","level":10,"event":"WSS_GET_FROM","msg":"{\"messageId\":-1000,\"type\":\"ready\",\"params\":{}}","time":"2021-11-24T03:54:06.356Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"tester","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"tester","level":10,"event":"WSS_SEND_TO","msg":"{\"messageId\":-1000,\"type\":\"ready\",\"params\":{}}","time":"2021-11-24T03:54:06.356Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"AsyncWebSocket.js","url":"ws://localhost:56447","level":10,"event":"WS_MESSAGE","msg":"{\"messageId\":-1000,\"type\":\"ready\",\"params\":{}}\n ","time":"2021-11-24T03:54:06.357Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"app","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"app","level":10,"event":"WSS_GET_FROM","msg":"{\"messageId\":1,\"type\":\"testFailed\",\"params\":{\"details\":\"'not at least 75 percent of the view's area is displayed to the user.' doesn't match the selected view.\\nExpected: not at least 75 percent of the view's area is displayed to the user.\\n Got: \\\"ReactViewGroup{id=7, visibility=VISIBLE, width=1440, height=700, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params=android.view.ViewGroup$LayoutParams@e6f3481, tag=blue-view, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=1400.0, child-count=0}\\\"\\n\"}}","time":"2021-11-24T03:54:06.481Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"tester","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"tester","level":10,"event":"WSS_SEND_TO","msg":"{\"messageId\":1,\"type\":\"testFailed\",\"params\":{\"details\":\"'not at least 75 percent of the view's area is displayed to the user.' doesn't match the selected view.\\nExpected: not at least 75 percent of the view's area is displayed to the user.\\n Got: \\\"ReactViewGroup{id=7, visibility=VISIBLE, width=1440, height=700, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params=android.view.ViewGroup$LayoutParams@e6f3481, tag=blue-view, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=1400.0, child-count=0}\\\"\\n\"}}","time":"2021-11-24T03:54:06.481Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"AsyncWebSocket.js","url":"ws://localhost:56447","level":10,"event":"WS_MESSAGE","msg":"{\"messageId\":1,\"type\":\"testFailed\",\"params\":{\"details\":\"'not at least 75 percent of the view's area is displayed to the user.' doesn't match the selected view.\\nExpected: not at least 75 percent of the view's area is displayed to the user.\\n Got: \\\"ReactViewGroup{id=7, visibility=VISIBLE, width=1440, height=700, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params=android.view.ViewGroup$LayoutParams@e6f3481, tag=blue-view, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=1400.0, child-count=0}\\\"\\n\"}}\n ","time":"2021-11-24T03:54:06.482Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"ArtifactsManager.js","level":10,"event":"ARTIFACTS_LIFECYCLE","fn":"onTestFnFailure","error":{},"msg":"artifactsManager.onTestFnFailure({\n error: Error: Test Failed: 'not at least 75 percent of the view's area is displayed to the user.' doesn't match the selected view.\n Expected: not at least 75 percent of the view's area is displayed to the user.\n Got: \"ReactViewGroup{id=7, visibility=VISIBLE, width=1440, height=700, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params=android.view.ViewGroup$LayoutParams@e6f3481, tag=blue-view, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=1400.0, child-count=0}\"\n at _callee$ (/Users/mnax/mobile-app/e2e/features/bug.e2e.js:5:49)\n at tryCatch (/Users/mnax/mobile-app/node_modules/regenerator-runtime/runtime.js:63:40)\n at Generator.invoke [as _invoke] (/Users/mnax/mobile-app/node_modules/regenerator-runtime/runtime.js:293:22)\n at Generator.next (/Users/mnax/mobile-app/node_modules/regenerator-runtime/runtime.js:118:21)\n at tryCatch (/Users/mnax/mobile-app/node_modules/regenerator-runtime/runtime.js:63:40)\n at invoke (/Users/mnax/mobile-app/node_modules/regenerator-runtime/runtime.js:154:20)\n at /Users/mnax/mobile-app/node_modules/regenerator-runtime/runtime.js:164:13\n at processTicksAndRejections (internal/process/task_queues.js:93:5)\n})","time":"2021-11-24T03:54:06.485Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"Detox.js","level":10,"event":"DETOX_AFTER_EACH","status":"failed","msg":"failed test: \"should scroll to blue view\"","time":"2021-11-24T03:54:06.487Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"ArtifactsManager.js","level":10,"event":"ARTIFACTS_LIFECYCLE","fn":"onTestDone","title":"should scroll to blue view","fullName":"should scroll to blue view","status":"failed","invocations":1,"timedOut":false,"msg":"artifactsManager.onTestDone({\n title: 'should scroll to blue view',\n fullName: 'should scroll to blue view',\n status: 'failed',\n invocations: 1,\n timedOut: false\n})","time":"2021-11-24T03:54:06.487Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"Artifact.js","class":"ADBLogcatRecording","level":10,"event":"ARTIFACT_STOP","msg":"stopping ADBLogcatRecording","time":"2021-11-24T03:54:06.487Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":28,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","time":"2021-11-24T03:54:06.488Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"date +\\\"%m-%d %T.000\\\"\"","trackingId":28,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"11-23 21:54:04.000\n","time":"2021-11-24T03:54:06.544Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","event":"SPAWN_KILL","trackingId":64599,"level":10,"signal":"SIGINT","msg":"sending SIGINT to: /Users/mnax/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell logcat -T \"11-23 21:53:58.000\" --pid=1674 -f /sdcard/215356624_0.log","time":"2021-11-24T03:54:06.545Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","cmd":"/Users/mnax/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell \"logcat -T \\\"11-23 21:53:58.000\\\" --pid=1674 -f /sdcard/215356624_0.log\"","trackingId":64599,"level":20,"event":"SPAWN_END","msg":"/Users/mnax/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell \"logcat -T \\\"11-23 21:53:58.000\\\" --pid=1674 -f /sdcard/215356624_0.log\" terminated with SIGINT","time":"2021-11-24T03:54:06.546Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"level":30,"event":"SPEC_STATE_CHANGE","msg":"\u001b[90mshould scroll to blue view\u001b[39m\u001b[90m [\u001b[31mFAIL\u001b[90m]\u001b[39m","time":"2021-11-24T03:54:06.548Z","v":0} {"name":"ROOT_DESCRIBE_BLOCK","hostname":"Apples-MBP","pid":64548,"__filename":"ArtifactsManager.js","level":10,"event":"ARTIFACTS_LIFECYCLE","fn":"onRunDescribeFinish","msg":"artifactsManager.onRunDescribeFinish({ name: 'ROOT_DESCRIBE_BLOCK' })","time":"2021-11-24T03:54:06.550Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"ArtifactsManager.js","level":10,"event":"ARTIFACTS_LIFECYCLE","fn":"onBeforeCleanup","msg":"artifactsManager.onBeforeCleanup()","time":"2021-11-24T03:54:06.566Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"Artifact.js","class":"ADBLogcatRecording","level":10,"event":"ARTIFACT_SAVE","msg":"saving ADBLogcatRecording to: artifacts/android.2021-11-24 03-53-55Z/✗ should scroll to blue view/device.log","time":"2021-11-24T03:54:06.567Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 pull \"/sdcard/215356624_0.log\" \"artifacts/android.2021-11-24 03-53-55Z/✗ should scroll to blue view/device.log\"","trackingId":29,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 pull \"/sdcard/215356624_0.log\" \"artifacts/android.2021-11-24 03-53-55Z/✗ should scroll to blue view/device.log\"","time":"2021-11-24T03:54:06.568Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 pull \"/sdcard/215356624_0.log\" \"artifacts/android.2021-11-24 03-53-55Z/✗ should scroll to blue view/device.log\"","trackingId":29,"level":10,"event":"EXEC_SUCCESS","stdout":true,"msg":"/sdcard/215356624_0.log: 1 file pulled, 0 skipped. 8.4 MB/s (44777 bytes in 0.005s)\n","time":"2021-11-24T03:54:06.593Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm \\\"/sdcard/215356624_0.log\\\"\"","trackingId":30,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm \\\"/sdcard/215356624_0.log\\\"\"","time":"2021-11-24T03:54:06.594Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 shell \"rm \\\"/sdcard/215356624_0.log\\\"\"","trackingId":30,"level":10,"event":"EXEC_SUCCESS","msg":"","time":"2021-11-24T03:54:06.658Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"Artifact.js","class":"FileArtifact","level":10,"event":"ARTIFACT_START","msg":"starting FileArtifact","time":"2021-11-24T03:54:06.659Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"Artifact.js","class":"FileArtifact","level":10,"event":"ARTIFACT_STOP","msg":"stopping FileArtifact","time":"2021-11-24T03:54:06.660Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"Artifact.js","class":"FileArtifact","level":10,"event":"ARTIFACT_SAVE","msg":"saving FileArtifact to: artifacts/android.2021-11-24 03-53-55Z/detox_pid_64548.json.log { append: true }","time":"2021-11-24T03:54:06.660Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"Artifact.js","class":"FileArtifact","level":10,"event":"ARTIFACT_START","msg":"starting FileArtifact","time":"2021-11-24T03:54:06.660Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"Artifact.js","class":"FileArtifact","level":10,"event":"ARTIFACT_STOP","msg":"stopping FileArtifact","time":"2021-11-24T03:54:06.660Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"Artifact.js","class":"FileArtifact","level":10,"event":"ARTIFACT_SAVE","msg":"saving FileArtifact to: artifacts/android.2021-11-24 03-53-55Z/detox_pid_64548.log { append: true }","time":"2021-11-24T03:54:06.661Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"Artifact.js","class":"FileArtifact","level":20,"event":"MOVE_FILE","msg":"moving \"/private/var/folders/zz/zbfm01610xs0_sfsm97s3b9m0000gp/T/52fcba9e-1ee8-48df-82fc-8f569dcd87f8.detox.log\" to artifacts/android.2021-11-24 03-53-55Z/detox_pid_64548.log","time":"2021-11-24T03:54:06.661Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"Artifact.js","class":"FileArtifact","level":20,"event":"MOVE_FILE","msg":"moving \"/private/var/folders/zz/zbfm01610xs0_sfsm97s3b9m0000gp/T/e1694000-bde9-4436-ba0b-e0432aad6c1a.detox.log\" to artifacts/android.2021-11-24 03-53-55Z/detox_pid_64548.json.log","time":"2021-11-24T03:54:06.662Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"AsyncWebSocket.js","url":"ws://localhost:56447","level":10,"event":"WS_SEND","msg":"{\"type\":\"cleanup\",\"params\":{\"stopRunner\":false},\"messageId\":-49642}","time":"2021-11-24T03:54:06.667Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"tester","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"tester","level":10,"event":"WSS_GET_FROM","msg":"{\"type\":\"cleanup\",\"params\":{\"stopRunner\":false},\"messageId\":-49642}","time":"2021-11-24T03:54:06.667Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"app","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"app","level":10,"event":"WSS_SEND_TO","msg":"{\"type\":\"cleanup\",\"params\":{\"stopRunner\":false},\"messageId\":-49642}","time":"2021-11-24T03:54:06.668Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"app","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"app","level":10,"event":"WSS_GET_FROM","msg":"{\"messageId\":-49642,\"type\":\"cleanupDone\",\"params\":{}}","time":"2021-11-24T03:54:06.673Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"tester","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"tester","level":10,"event":"WSS_SEND_TO","msg":"{\"messageId\":-49642,\"type\":\"cleanupDone\",\"params\":{}}","time":"2021-11-24T03:54:06.673Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"AsyncWebSocket.js","url":"ws://localhost:56447","level":10,"event":"WS_MESSAGE","msg":"{\"messageId\":-49642,\"type\":\"cleanupDone\",\"params\":{}}\n ","time":"2021-11-24T03:54:06.673Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxSession.js","level":10,"event":"SESSION_TORN","msg":"tester exited session b82c0aee-c6c9-cafb-e669-a09f544aca5b","time":"2021-11-24T03:54:06.679Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxConnection.js","trackingId":"app","sessionId":"b82c0aee-c6c9-cafb-e669-a09f544aca5b","role":"app","level":10,"event":"WSS_SEND_TO","msg":"{\"type\":\"testerDisconnected\",\"messageId\":-1}","time":"2021-11-24T03:54:06.679Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","event":"SPAWN_KILL","trackingId":64596,"level":10,"signal":"SIGINT","msg":"sending SIGINT to: /Users/mnax/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56447 -e detoxSessionId b82c0aee-c6c9-cafb-e669-a09f544aca5b -e debug false com.myapp.test/androidx.test.runner.AndroidJUnitRunner","time":"2021-11-24T03:54:06.680Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","cmd":"/Users/mnax/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56447 -e detoxSessionId b82c0aee-c6c9-cafb-e669-a09f544aca5b -e debug false com.myapp.test/androidx.test.runner.AndroidJUnitRunner","trackingId":64596,"level":20,"event":"SPAWN_END","msg":"/Users/mnax/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56447 -e detoxSessionId b82c0aee-c6c9-cafb-e669-a09f544aca5b -e debug false com.myapp.test/androidx.test.runner.AndroidJUnitRunner terminated with SIGINT","time":"2021-11-24T03:54:06.681Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse --remove tcp:56447","trackingId":31,"level":20,"event":"EXEC_CMD","msg":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse --remove tcp:56447","time":"2021-11-24T03:54:06.681Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxServer.js","level":20,"event":"WSS_CLOSE","msg":"Detox server has been closed gracefully","time":"2021-11-24T03:54:06.691Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"DetoxSession.js","level":10,"event":"SESSION_TORN","msg":"app exited session b82c0aee-c6c9-cafb-e669-a09f544aca5b","time":"2021-11-24T03:54:06.706Z","v":0} {"name":"detox","hostname":"Apples-MBP","pid":64548,"__filename":"exec.js","fn":"execWithRetriesAndLogs","cmd":"\"/Users/mnax/Library/Android/sdk/platform-tools/adb\" -s emulator-5554 reverse --remove tcp:56447","trackingId":31,"level":10,"event":"EXEC_SUCCESS","msg":"","time":"2021-11-24T03:54:06.707Z","v":0}
Screenshots / Video
Environment
jest-circus
The text was updated successfully, but these errors were encountered: