wix / Detox

Gray box end-to-end testing and automation framework for mobile apps
https://wix.github.io/Detox/
MIT License
11.23k stars 1.92k forks source link

Test not working on android but works perfectly on ios #3374

Closed mmeksasi closed 2 years ago

mmeksasi commented 2 years ago

What happened?

On IOS Everything is working fine.

On debug android the test is passing but when the test finish the app get closed

on release android the test is not passing and I'm getting this error:

DetoxRuntimeError: Test Failed: '(view has effective visibility and view.getGlobalVisibleRect() covers at least <75> percent of the view's area)' doesn't match the selected view. Expected: (view has effective visibility and view.getGlobalVisibleRect() covers at least <75> percent of the view's area) Got: was null

What was the expected behaviour?

No response

Was it tested on latest Detox?

Did your test throw out a timeout?

Help us reproduce this issue!

No response

In what environment did this happen?

Detox version: 19.6.7 React Native version: 0.67.4 Node version: 17.8.0 Device model: Pixel_2_API_30 and Pixel_2_API_29 tried on both Android version: 31 Test-runner (select one): jest-circus

Detox logs

Detox logs ``` 16:19:24.047 detox[6882] INFO: [test.js] DETOX_CONFIGURATION="android.emu.release" DETOX_LOGLEVEL="trace" DETOX_REPORT_SPECS=true DETOX_START_TIMESTAMP=1651583964039 DETOX_USE_CUSTOM_LOGGER=true jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' e2e 16:19:24.835 detox[6883] TRACE: [DETOX_CREATE] created a Detox instance with config: { appsConfig: { default: { type: 'android.apk', binaryPath: 'android/app/build/outputs/apk/release/app-release.apk', build: 'cd android && ./gradlew assembleAndroidTest -DtestBuildType=release && cd ..' } }, artifactsConfig: { rootDir: 'artifacts/android.emu.release.2022-05-03 13-19-24Z', 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.emu.release.2022-05-03 13-19-24Z' } }, behaviorConfig: { init: { reinstallApp: true, exposeGlobals: true }, cleanup: { shutdownDevice: false }, launchApp: 'auto' }, cliConfig: { configuration: 'android.emu.release', loglevel: 'trace', useCustomLogger: true }, configurationName: 'android.emu.release', deviceConfig: { type: 'android.emulator', device: { avdName: 'Pixel_2_API_30' } }, runnerConfig: { testRunner: 'jest', runnerConfig: 'e2e/config.json', specs: 'e2e', skipLegacyWorkersInjection: true }, sessionConfig: { autoStart: true, sessionId: '4d806b62-44de-c09a-9c3b-6e1f9c75c458', debugSynchronization: 10000 } } 16:19:24.837 detox[6883] DEBUG: [WSS_CREATE] Detox server listening on localhost:54067... 16:19:24.844 detox[6883] DEBUG: [WSS_CONNECTION, #54068] registered a new connection. 16:19:24.845 detox[6883] TRACE: [WS_OPEN] opened web socket to: ws://localhost:54067 16:19:24.848 detox[6883] TRACE: [WS_SEND] {"type":"login","params":{"sessionId":"4d806b62-44de-c09a-9c3b-6e1f9c75c458","role":"tester"},"messageId":0} 16:19:24.849 detox[6883] TRACE: [WSS_GET_FROM, #54068] {"type":"login","params":{"sessionId":"4d806b62-44de-c09a-9c3b-6e1f9c75c458","role":"tester"},"messageId":0} 16:19:24.849 detox[6883] TRACE: [SESSION_CREATED] created session 4d806b62-44de-c09a-9c3b-6e1f9c75c458 16:19:24.849 detox[6883] TRACE: [WSS_SEND_TO, #tester] {"type":"loginSuccess","params":{"testerConnected":true,"appConnected":false},"messageId":0} 16:19:24.850 detox[6883] TRACE: [SESSION_JOINED] tester joined session 4d806b62-44de-c09a-9c3b-6e1f9c75c458 16:19:24.850 detox[6883] TRACE: [WS_MESSAGE] {"type":"loginSuccess","params":{"testerConnected":true,"appConnected":false},"messageId":0} 16:19:24.882 detox[6883] DEBUG: [EXEC_CMD, #0] "/Users/mohamadmeksasi/Library/Android/sdk/emulator/emulator" -list-avds --verbose 16:19:24.908 detox[6883] TRACE: [EXEC_SUCCESS, #0] Pixel_2_API_28 Pixel_2_API_29 Pixel_2_API_30 Pixel_4_API_31 16:19:24.908 detox[6883] DEBUG: [EXEC_CMD, #1] "/Users/mohamadmeksasi/Library/Android/sdk/emulator/emulator" -version 16:19:24.968 detox[6883] TRACE: [EXEC_SUCCESS, #1] Android emulator version 31.2.9.0 (build_id 8316981) (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. 16:19:24.969 detox[6883] DEBUG: [EMU_BIN_VERSION_DETECT] Detected emulator binary version { major: 31, minor: 2, patch: 9, toString: [Function: toString] } 16:19:24.969 detox[6883] DEBUG: [ALLOCATE_DEVICE] Trying to allocate a device based on "Pixel_2_API_30" 16:19:24.970 detox[6883] DEBUG: [EXEC_CMD, #2] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" devices 16:19:24.979 detox[6883] DEBUG: [EXEC_SUCCESS, #2] List of devices attached emulator-18620 device 16:19:24.981 detox[6883] TRACE: [TELNET_CONNECTING] port: 18620, host: localhost 16:19:24.985 detox[6883] DEBUG: [DEVICE_LOOKUP] Found a matching & free device emulator-18620 16:19:24.985 detox[6883] DEBUG: [ALLOCATE_DEVICE] Settled on emulator-18620 16:19:24.986 detox[6883] DEBUG: [EXEC_CMD, #3] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 shell "getprop dev.bootcomplete" 16:19:25.005 detox[6883] TRACE: [EXEC_SUCCESS, #3] 1 16:19:25.005 detox[6883] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBootDevice({ deviceId: 'emulator-18620', type: 'Pixel_2_API_30', coldBoot: false }) 16:19:25.005 detox[6883] DEBUG: [EXEC_CMD, #4] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 shell "getprop ro.build.version.sdk" 16:19:25.023 detox[6883] TRACE: [EXEC_SUCCESS, #4] 30 16:19:25.023 detox[6883] DEBUG: [EXEC_CMD, #5] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 shell "settings put global animator_duration_scale 0" 16:19:25.053 detox[6883] TRACE: [EXEC_SUCCESS, #5] 16:19:25.054 detox[6883] DEBUG: [EXEC_CMD, #6] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 shell "settings put global window_animation_scale 0" 16:19:25.086 detox[6883] TRACE: [EXEC_SUCCESS, #6] 16:19:25.086 detox[6883] DEBUG: [EXEC_CMD, #7] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 shell "settings put global transition_animation_scale 0" 16:19:25.117 detox[6883] TRACE: [EXEC_SUCCESS, #7] 16:19:25.118 detox[6883] DEBUG: [EXEC_CMD, #8] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 shell "dumpsys power | grep \"^[ ]*m[UW].*=\"" 16:19:25.219 detox[6883] TRACE: [EXEC_SUCCESS, #8] mWakefulness=Awake mWakefulnessChanging=false mWakeLockSummary=0x1 mUserActivitySummary=0x1 mWakeUpWhenPluggedOrUnpluggedConfig=false mWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false mUserActivityTimeoutOverrideFromWindowManager=-1 mUserInactiveOverrideFromWindowManager=false mUserId=0 16:19:25.233 detox[6883] DEBUG: [EXEC_CMD, #9] "/Users/mohamadmeksasi/Library/Android/sdk/build-tools/32.0.0/aapt" dump badging "/Users/mohamadmeksasi/Documents/participant-mobile/android/app/build/outputs/apk/release/app-release.apk" 16:19:25.286 detox[6883] TRACE: [EXEC_SUCCESS, #9] package: name='com.mdgroup.primariusparticipant' versionCode='115' versionName='0.2.48' compileSdkVersion='31' compileSdkVersionCodename='12' sdkVersion:'21' targetSdkVersion:'31' uses-permission: name='android.permission.INTERNET' uses-permission: name='android.permission.CAMERA' uses-permission: name='android.permission.ACCESS_NETWORK_STATE' uses-permission: name='android.permission.WAKE_LOCK' uses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE' uses-permission: name='android.permission.USE_BIOMETRIC' uses-permission: name='android.permission.USE_FINGERPRINT' uses-permission: name='android.permission.ACCESS_COARSE_LOCATION' uses-permission: name='com.google.android.c2dm.permission.RECEIVE' uses-permission: name='com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE' uses-permission: name='android.permission.RECEIVE_BOOT_COMPLETED' uses-permission: name='android.permission.FOREGROUND_SERVICE' application-label:'Primarius Participant' application-label-af:'Primarius Participant' application-label-am:'Primarius Participant' application-label-ar:'Primarius Participant' application-label-as:'Primarius Participant' application-label-az:'Primarius Participant' application-label-be:'Primarius Participant' application-label-bg:'Primarius Participant' application-label-bn:'Primarius Participant' application-label-bs:'Primarius Participant' application-label-ca:'Primarius Participant' application-label-cs:'Primarius Participant' application-label-da:'Primarius Participant' application-label-de:'Primarius Participant' application-label-el:'Primarius Participant' application-label-en-AU:'Primarius Participant' application-label-en-CA:'Primarius Participant' application-label-en-GB:'Primarius Participant' application-label-en-IN:'Primarius Participant' application-label-en-XC:'Primarius Participant' application-label-es:'Primarius Participant' application-label-es-US:'Primarius Participant' application-label-et:'Primarius Participant' application-label-eu:'Primarius Participant' application-label-fa:'Primarius Participant' application-label-fi:'Primarius Participant' application-label-fr:'Primarius Participant' application-label-fr-CA:'Primarius Participant' application-label-gl:'Primarius Participant' application-label-gu:'Primarius Participant' application-label-hi:'Primarius Participant' application-label-hr:'Primarius Participant' application-label-hu:'Primarius Participant' application-label-hy:'Primarius Participant' application-label-in:'Primarius Participant' application-label-is:'Primarius Participant' application-label-it:'Primarius Participant' application-label-iw:'Primarius Participant' application-label-ja:'Primarius Participant' application-label-ka:'Primarius Participant' application-label-kk:'Primarius Participant' application-label-km:'Primarius Participant' application-label-kn:'Primarius Participant' application-label-ko:'Primarius Participant' application-label-ky:'Primarius Participant' application-label-lo:'Primarius Participant' application-label-lt:'Primarius Participant' application-label-lv:'Primarius Participant' application-label-mk:'Primarius Participant' application-label-ml:'Primarius Participant' application-label-mn:'Primarius Participant' application-label-mr:'Primarius Participant' application-label-ms:'Primarius Participant' application-label-my:'Primarius Participant' application-label-nb:'Primarius Participant' application-label-ne:'Primarius Participant' application-label-nl:'Primarius Participant' application-label-or:'Primarius Participant' application-label-pa:'Primarius Participant' application-label-pl:'Primarius Participant' application-label-pt:'Primarius Participant' application-label-pt-BR:'Primarius Participant' application-label-pt-PT:'Primarius Participant' application-label-ro:'Primarius Participant' application-label-ru:'Primarius Participant' application-label-si:'Primarius Participant' application-label-sk:'Primarius Participant' application-label-sl:'Primarius Participant' application-label-sq:'Primarius Participant' application-label-sr:'Primarius Participant' application-label-sr-Latn:'Primarius Participant' application-label-sv:'Primarius Participant' application-label-sw:'Primarius Participant' application-label-ta:'Primarius Participant' application-label-te:'Primarius Participant' application-label-th:'Primarius Participant' application-label-tl:'Primarius Participant' application-label-tr:'Primarius Participant' application-label-uk:'Primarius Participant' application-label-ur:'Primarius Participant' application-label-uz:'Primarius Participant' application-label-vi:'Primarius Participant' application-label-zh:'Primarius Participant' application-label-zh-CN:'Primarius Participant' application-label-zh-HK:'Primarius Participant' application-label-zh-TW:'Primarius Participant' application-label-zu:'Primarius Participant' application-icon-120:'res/u3.png' application-icon-160:'res/u3.png' application-icon-240:'res/SD.png' application-icon-320:'res/jy.png' application-icon-480:'res/D2.png' application-icon-640:'res/CG.png' application-icon-65534:'res/u3.png' application: label='Primarius Participant' icon='res/u3.png' launchable-activity: name='com.mdgroup.primariusparticipant.MainActivity' label='Primarius Participant' icon='' uses-library-not-required:'org.apache.http.legacy' 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-gl-es: '0x20000' uses-feature: name='android.hardware.camera' uses-implied-feature: name='android.hardware.camera' reason='requested android.permission.CAMERA permission' uses-feature: name='android.hardware.faketouch' uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps' uses-feature: name='android.hardware.location' uses-implied-feature: name='android.hardware.location' reason='requested android.permission.ACCESS_COARSE_LOCATION permission' main other-activities other-receivers other-services supports-screens: 'small' 'normal' 'large' 'xlarge' supports-any-density: 'true' locales: '--_--' 'af' 'am' 'ar' 'as' 'az' 'be' 'bg' 'bn' 'bs' 'ca' 'cs' 'da' 'de' 'el' 'en-AU' 'en-CA' 'en-GB' 'en-IN' 'en-XC' 'es' 'es-US' 'et' 'eu' 'fa' 'fi' 'fr' 'fr-CA' 'gl' 'gu' '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' 'zh-CN' 'zh-HK' 'zh-TW' 'zu' densities: '120' '160' '240' '320' '480' '640' '65534' native-code: 'arm64-v8a' 'armeabi' 'armeabi-v7a' 'x86' 'x86_64' 16:19:25.295 detox[6883] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBeforeTerminateApp({ deviceId: 'emulator-18620', bundleId: 'com.mdgroup.primariusparticipant' }) 16:19:25.296 detox[6883] DEBUG: [EXEC_CMD, #10] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 shell "am force-stop com.mdgroup.primariusparticipant" 16:19:25.378 detox[6883] TRACE: [EXEC_SUCCESS, #10] 16:19:25.379 detox[6883] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onTerminateApp({ deviceId: 'emulator-18620', bundleId: 'com.mdgroup.primariusparticipant' }) 16:19:25.379 detox[6883] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBeforeUninstallApp({ deviceId: 'emulator-18620', bundleId: 'com.mdgroup.primariusparticipant' }) 16:19:25.379 detox[6883] DEBUG: [EXEC_CMD, #11] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 shell "pm list packages com.mdgroup.primariusparticipant" 16:19:25.453 detox[6883] TRACE: [EXEC_SUCCESS, #11] package:com.mdgroup.primariusparticipant.test package:com.mdgroup.primariusparticipant 16:19:25.453 detox[6883] DEBUG: [EXEC_CMD, #12] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 uninstall com.mdgroup.primariusparticipant 16:19:25.887 detox[6883] TRACE: [EXEC_SUCCESS, #12] Success 16:19:25.888 detox[6883] DEBUG: [EXEC_CMD, #13] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 shell "pm list packages com.mdgroup.primariusparticipant.test" 16:19:26.088 detox[6883] TRACE: [EXEC_SUCCESS, #13] package:com.mdgroup.primariusparticipant.test 16:19:26.089 detox[6883] DEBUG: [EXEC_CMD, #14] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 uninstall com.mdgroup.primariusparticipant.test 16:19:26.592 detox[6883] TRACE: [EXEC_SUCCESS, #14] Success 16:19:26.594 detox[6883] DEBUG: [EXEC_CMD, #15] "/Users/mohamadmeksasi/Library/Android/sdk/build-tools/32.0.0/aapt" dump xmlstrings "/Users/mohamadmeksasi/Documents/participant-mobile/android/app/build/outputs/apk/release/app-release.apk" AndroidManifest.xml 16:19:26.614 detox[6883] TRACE: [EXEC_SUCCESS, #15] String pool of 141 unique UTF-16 non-sorted strings, 141 entries and 0 styles using 11068 bytes: String #0: theme String #1: label String #2: icon String #3: name String #4: permission String #5: enabled String #6: exported String #7: multiprocess String #8: excludeFromRecents String #9: authorities String #10: initOrder String #11: grantUriPermissions String #12: launchMode String #13: configChanges String #14: value String #15: resource String #16: minSdkVersion String #17: versionCode String #18: versionName String #19: windowSoftInputMode String #20: targetSdkVersion String #21: allowBackup String #22: glEsVersion String #23: required String #24: directBootAware String #25: networkSecurityConfig String #26: roundIcon String #27: visibleToInstantApps String #28: compileSdkVersion String #29: compileSdkVersionCodename String #30: appComponentFactory String #31: 0.2.48 String #32: 12 String #33: AIzaSyDd28J2fhnPNzOC46leRAEQX_qORCZ5Dus String #34: GlideModule String #35: action String #36: activity String #37: android String #38: android.intent.action.ACTION_POWER_CONNECTED String #39: android.intent.action.ACTION_POWER_DISCONNECTED String #40: android.intent.action.BATTERY_LOW String #41: android.intent.action.BATTERY_OKAY String #42: android.intent.action.BOOT_COMPLETED String #43: android.intent.action.DEVICE_STORAGE_LOW String #44: android.intent.action.DEVICE_STORAGE_OK String #45: android.intent.action.MAIN String #46: android.intent.action.TIMEZONE_CHANGED String #47: android.intent.action.TIME_SET String #48: android.intent.category.LAUNCHER String #49: android.media.action.IMAGE_CAPTURE String #50: android.net.conn.CONNECTIVITY_CHANGE String #51: android.permission.ACCESS_COARSE_LOCATION String #52: android.permission.ACCESS_NETWORK_STATE String #53: android.permission.BIND_JOB_SERVICE String #54: android.permission.CAMERA String #55: android.permission.DUMP String #56: android.permission.FOREGROUND_SERVICE String #57: android.permission.INTERNET String #58: android.permission.RECEIVE_BOOT_COMPLETED String #59: android.permission.USE_BIOMETRIC String #60: android.permission.USE_FINGERPRINT String #61: android.permission.WAKE_LOCK String #62: android.permission.WRITE_EXTERNAL_STORAGE String #63: android.support.FILE_PROVIDER_PATHS String #64: androidx.biometric.DeviceCredentialHandlerActivity String #65: androidx.core.app.CoreComponentFactory String #66: androidx.core.content.FileProvider String #67: androidx.room.MultiInstanceInvalidationService String #68: androidx.work.diagnostics.REQUEST_DIAGNOSTICS String #69: androidx.work.impl.WorkManagerInitializer String #70: androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryChargingProxy String #71: androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryNotLowProxy String #72: androidx.work.impl.background.systemalarm.ConstraintProxy$NetworkStateProxy String #73: androidx.work.impl.background.systemalarm.ConstraintProxy$StorageNotLowProxy String #74: androidx.work.impl.background.systemalarm.ConstraintProxyUpdateReceiver String #75: androidx.work.impl.background.systemalarm.RescheduleReceiver String #76: androidx.work.impl.background.systemalarm.SystemAlarmService String #77: androidx.work.impl.background.systemalarm.UpdateProxies String #78: androidx.work.impl.background.systemjob.SystemJobService String #79: androidx.work.impl.diagnostics.DiagnosticsReceiver String #80: androidx.work.impl.foreground.SystemForegroundService String #81: androidx.work.impl.utils.ForceStopRunnable$BroadcastReceiver String #82: application String #83: backend:com.google.android.datatransport.cct.CctBackendFactory String #84: category String #85: cct String #86: com.bumptech.glide.integration.okhttp3.OkHttpGlideModule String #87: com.google.android.c2dm.permission.RECEIVE String #88: com.google.android.datatransport.runtime.backends.TransportBackendDiscovery String #89: com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver String #90: com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService String #91: com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE String #92: com.google.android.geo.API_KEY String #93: com.google.android.gms.auth.api.signin.RevocationBoundService String #94: com.google.android.gms.auth.api.signin.internal.SignInHubActivity String #95: com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION String #96: com.google.android.gms.common.api.GoogleApiActivity String #97: com.google.android.gms.measurement.AppMeasurementJobService String #98: com.google.android.gms.measurement.AppMeasurementReceiver String #99: com.google.android.gms.measurement.AppMeasurementService String #100: com.google.android.gms.version String #101: com.google.firebase.components.ComponentDiscoveryService String #102: com.google.firebase.components.ComponentRegistrar String #103: com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar String #104: com.google.firebase.components:com.google.firebase.crashlytics.CrashlyticsRegistrar String #105: com.google.firebase.components:com.google.firebase.crashlytics.ndk.CrashlyticsNdkRegistrar String #106: com.google.firebase.components:com.google.firebase.dynamicloading.DynamicLoadingRegistrar String #107: com.google.firebase.components:com.google.firebase.installations.FirebaseInstallationsRegistrar String #108: com.google.firebase.provider.FirebaseInitProvider String #109: com.launchdarkly.sdk.android.ConnectivityReceiver String #110: com.launchdarkly.sdk.android.PollingUpdater String #111: com.mdgroup.primariusparticipant String #112: com.mdgroup.primariusparticipant.MainActivity String #113: com.mdgroup.primariusparticipant.MainApplication String #114: com.mdgroup.primariusparticipant.fileprovider String #115: com.mdgroup.primariusparticipant.firebaseinitprovider String #116: com.mdgroup.primariusparticipant.provider String #117: com.mdgroup.primariusparticipant.reactnativefirebasecrashlyticsinitprovider String #118: com.mdgroup.primariusparticipant.workmanager-init String #119: com.reactnativecommunity.webview.RNCWebViewFileProvider String #120: com.yalantis.ucrop.UCropActivity String #121: firebase_analytics_collection_enabled String #122: firebase_crashlytics_collection_enabled String #123: http://schemas.android.com/apk/res/android String #124: intent String #125: intent-filter String #126: io.invertase.firebase.crashlytics.ReactNativeFirebaseCrashlyticsInitProvider String #127: manifest String #128: meta-data String #129: org.apache.http.legacy String #130: package String #131: platformBuildVersionCode String #132: platformBuildVersionName String #133: provider String #134: queries String #135: receiver String #136: service String #137: uses-feature String #138: uses-library String #139: uses-permission String #140: uses-sdk 16:19:26.615 detox[6883] DEBUG: [EXEC_CMD, #16] "/Users/mohamadmeksasi/Library/Android/sdk/build-tools/32.0.0/aapt" dump xmlstrings "/Users/mohamadmeksasi/Documents/participant-mobile/android/app/build/outputs/apk/androidTest/release/app-release-androidTest.apk" AndroidManifest.xml 16:19:26.632 detox[6883] TRACE: [EXEC_SUCCESS, #16] String pool of 41 unique UTF-16 non-sorted strings, 41 entries and 0 styles using 2136 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.mdgroup.primariusparticipant 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.google.android.apps.common.testing.services String #28: com.mdgroup.primariusparticipant String #29: com.mdgroup.primariusparticipant.test 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 16:19:26.633 detox[6883] DEBUG: [EXEC_CMD, #17] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 shell "rm -fr /data/local/tmp/detox" 16:19:26.669 detox[6883] TRACE: [EXEC_SUCCESS, #17] 16:19:26.670 detox[6883] DEBUG: [EXEC_CMD, #18] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 shell "mkdir -p /data/local/tmp/detox" 16:19:26.709 detox[6883] TRACE: [EXEC_SUCCESS, #18] 16:19:26.710 detox[6883] DEBUG: [EXEC_CMD, #19] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 push "/Users/mohamadmeksasi/Documents/participant-mobile/android/app/build/outputs/apk/release/app-release.apk" "/data/local/tmp/detox/Application.apk" 16:19:27.153 detox[6883] TRACE: [EXEC_SUCCESS, #19] /Users/mohamadmeksasi/Documents/participant-mobile/android/app/build/outputs/apk/release/app-release.apk: 1 file pushed, 0 skipped. 106.7 MB/s (44777494 bytes in 0.400s) 16:19:27.157 detox[6883] DEBUG: [SPAWN_CMD, #20, cpid=6917] /Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb -s emulator-18620 shell pm install -r -g -t /data/local/tmp/detox/Application.apk 16:19:28.033 detox[6883] TRACE: [SPAWN_STDOUT, #20, cpid=6917] Success 16:19:28.043 detox[6883] DEBUG: [SPAWN_END, #20, cpid=6917] /Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb -s emulator-18620 shell pm install -r -g -t /data/local/tmp/detox/Application.apk exited with code #0 16:19:28.043 detox[6883] DEBUG: [EXEC_CMD, #21] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 push "/Users/mohamadmeksasi/Documents/participant-mobile/android/app/build/outputs/apk/androidTest/release/app-release-androidTest.apk" "/data/local/tmp/detox/Test.apk" 16:19:28.147 detox[6883] TRACE: [EXEC_SUCCESS, #21] /Users/mohamadmeksasi/Documents/participant-mobile/android/app/build/outputs/apk/androidTest/release/app-release-androidTest.apk: 1 file pushed, 0 skipped. 66.9 MB/s (1905770 bytes in 0.027s) 16:19:28.150 detox[6883] DEBUG: [SPAWN_CMD, #22, cpid=6920] /Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb -s emulator-18620 shell pm install -r -g -t /data/local/tmp/detox/Test.apk 16:19:28.486 detox[6883] TRACE: [SPAWN_STDOUT, #22, cpid=6920] Success 16:19:28.493 detox[6883] DEBUG: [SPAWN_END, #22, cpid=6920] /Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb -s emulator-18620 shell pm install -r -g -t /data/local/tmp/detox/Test.apk exited with code #0 16:19:28.513 ROOT_DESCRIBE_BLOCK[6883] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onRunDescribeStart({ name: 'ROOT_DESCRIBE_BLOCK' }) 16:19:28.514 Example[6883] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onRunDescribeStart({ name: 'Example' }) 16:19:28.515 detox[6883] INFO: Example is assigned to emulator-18620 (Pixel_2_API_30) 16:19:28.522 detox[6883] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBeforeTerminateApp({ deviceId: 'emulator-18620', bundleId: 'com.mdgroup.primariusparticipant' }) 16:19:28.522 detox[6883] DEBUG: [EXEC_CMD, #23] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 shell "am force-stop com.mdgroup.primariusparticipant" 16:19:28.693 detox[6883] TRACE: [EXEC_SUCCESS, #23] 16:19:28.693 detox[6883] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onTerminateApp({ deviceId: 'emulator-18620', bundleId: 'com.mdgroup.primariusparticipant' }) 16:19:28.695 detox[6883] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBeforeLaunchApp({ deviceId: 'emulator-18620', bundleId: 'com.mdgroup.primariusparticipant', launchArgs: { detoxServer: 'ws://localhost:54067', detoxSessionId: '4d806b62-44de-c09a-9c3b-6e1f9c75c458', DTXEnableVerboseSyncSystem: 'YES', DTXEnableVerboseSyncResources: 'YES' } }) 16:19:28.695 detox[6883] DEBUG: [EXEC_CMD, #24] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 shell "date +\"%m-%d %T.000\"" 16:19:28.744 detox[6883] TRACE: [EXEC_SUCCESS, #24] 05-03 16:19:29.000 16:19:28.746 detox[6883] DEBUG: [EXEC_CMD, #25] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 reverse tcp:54067 tcp:54067 16:19:28.765 detox[6883] TRACE: [EXEC_SUCCESS, #25] 54067 16:19:28.766 detox[6883] DEBUG: [EXEC_CMD, #26] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 shell "pm list instrumentation" 16:19:28.809 detox[6883] TRACE: [EXEC_SUCCESS, #26] instrumentation:com.mdgroup.primariusparticipant.test/androidx.test.runner.AndroidJUnitRunner (target=com.mdgroup.primariusparticipant) 16:19:28.810 detox[6883] DEBUG: [SPAWN_CMD, #27, cpid=6925] /Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb -s emulator-18620 shell am instrument -w -r -e detoxServer ws://localhost:54067 -e detoxSessionId 4d806b62-44de-c09a-9c3b-6e1f9c75c458 -e DTXEnableVerboseSyncSystem WUVT -e DTXEnableVerboseSyncResources WUVT -e debug false com.mdgroup.primariusparticipant.test/androidx.test.runner.AndroidJUnitRunner 16:19:29.311 detox[6883] DEBUG: [EXEC_CMD, #28] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 shell "ps | grep \"com\.mdgroup\.primariusparticipant$\"" 16:19:29.401 detox[6883] TRACE: [EXEC_SUCCESS, #28] u0_a265 13497 291 14311976 89288 0 0 R com.mdgroup.primariusparticipant 16:19:29.402 detox[13497] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onLaunchApp({ deviceId: 'emulator-18620', bundleId: 'com.mdgroup.primariusparticipant', launchArgs: { detoxServer: 'ws://localhost:54067', detoxSessionId: '4d806b62-44de-c09a-9c3b-6e1f9c75c458', DTXEnableVerboseSyncSystem: 'YES', DTXEnableVerboseSyncResources: 'YES' }, pid: 13497 }) 16:19:30.937 detox[6883] TRACE: [SPAWN_STDOUT, #27, cpid=6925] INSTRUMENTATION_STATUS: class=com.mdgroup.primariusparticipant.DetoxTest INSTRUMENTATION_STATUS: current=1 INSTRUMENTATION_STATUS: id=AndroidJUnitRunner INSTRUMENTATION_STATUS: numtests=1 16:19:30.940 detox[6883] TRACE: [SPAWN_STDOUT, #27, cpid=6925] INSTRUMENTATION_STATUS: stream= com.mdgroup.primariusparticipant.DetoxTest: INSTRUMENTATION_STATUS: test=runDetoxTests INSTRUMENTATION_STATUS_CODE: 1 16:19:32.254 detox[6883] DEBUG: [WSS_CONNECTION, #54149] registered a new connection. 16:19:32.293 detox[6883] TRACE: [WSS_GET_FROM, #54149] {"messageId":0,"type":"login","params":{"role":"app","sessionId":"4d806b62-44de-c09a-9c3b-6e1f9c75c458"}} 16:19:32.293 detox[6883] TRACE: [WSS_SEND_TO, #app] {"messageId":0,"type":"loginSuccess","params":{"testerConnected":true,"appConnected":true}} 16:19:32.293 detox[6883] TRACE: [SESSION_JOINED] app joined session 4d806b62-44de-c09a-9c3b-6e1f9c75c458 16:19:32.294 detox[6883] TRACE: [WSS_SEND_TO, #tester] {"type":"appConnected"} 16:19:32.294 detox[6883] TRACE: [WS_MESSAGE] {"type":"appConnected"} 16:19:32.296 detox[6883] TRACE: [WS_SEND] {"type":"isReady","params":{},"messageId":-1000} 16:19:32.296 detox[6883] TRACE: [WSS_GET_FROM, #tester] {"type":"isReady","params":{},"messageId":-1000} 16:19:32.297 detox[6883] TRACE: [WSS_SEND_TO, #app] {"type":"isReady","params":{},"messageId":-1000} 16:19:36.751 detox[6883] TRACE: [WSS_GET_FROM, #app] {"messageId":-1000,"type":"ready","params":{}} 16:19:36.752 detox[6883] TRACE: [WSS_SEND_TO, #tester] {"messageId":-1000,"type":"ready","params":{}} 16:19:36.753 detox[6883] TRACE: [WS_MESSAGE] {"messageId":-1000,"type":"ready","params":{}} 16:19:36.754 detox[13497] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onAppReady({ deviceId: 'emulator-18620', bundleId: 'com.mdgroup.primariusparticipant', pid: 13497 }) 16:19:36.756 detox[6883] INFO: Example: should have login screen 16:19:36.757 detox[6883] TRACE: [DETOX_BEFORE_EACH] running test: "Example should have login screen" 16:19:36.758 detox[6883] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onTestStart({ title: 'should have login screen', fullName: 'Example should have login screen', status: 'running', invocations: 1 }) 16:19:36.763 detox[6883] 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":["loginButton"]}}]}},{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForSufficientlyVisible","args":[{"type":"Integer","value":75}]}}]},"messageId":1} 16:19:36.763 detox[6883] TRACE: [WSS_GET_FROM, #app] {"messageId":-1000,"type":"ready","params":{}} 16:19:36.764 detox[6883] TRACE: [WSS_SEND_TO, #tester] {"messageId":-1000,"type":"ready","params":{}} 16:19:36.764 detox[6883] 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":["loginButton"]}}]}},{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForSufficientlyVisible","args":[{"type":"Integer","value":75}]}}]},"messageId":1} 16:19:36.764 detox[6883] 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":["loginButton"]}}]}},{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForSufficientlyVisible","args":[{"type":"Integer","value":75}]}}]},"messageId":1} 16:19:36.765 detox[6883] TRACE: [WS_MESSAGE] {"messageId":-1000,"type":"ready","params":{}} 16:19:36.804 detox[6883] TRACE: [WSS_GET_FROM, #app] {"messageId":1,"type":"testFailed","params":{"details":"'(view has effective visibility and view.getGlobalVisibleRect() covers at least <75> percent of the view's area)' doesn't match the selected view.\nExpected: (view has effective visibility and view.getGlobalVisibleRect() covers at least <75> percent of the view's area)\n Got: was null\n"}} 16:19:36.805 detox[6883] TRACE: [WSS_SEND_TO, #tester] {"messageId":1,"type":"testFailed","params":{"details":"'(view has effective visibility and view.getGlobalVisibleRect() covers at least <75> percent of the view's area)' doesn't match the selected view.\nExpected: (view has effective visibility and view.getGlobalVisibleRect() covers at least <75> percent of the view's area)\n Got: was null\n"}} 16:19:36.805 detox[6883] TRACE: [WS_MESSAGE] {"messageId":1,"type":"testFailed","params":{"details":"'(view has effective visibility and view.getGlobalVisibleRect() covers at least <75> percent of the view's area)' doesn't match the selected view.\nExpected: (view has effective visibility and view.getGlobalVisibleRect() covers at least <75> percent of the view's area)\n Got: was null\n"}} 16:19:36.808 detox[6883] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onTestFnFailure({ error: DetoxRuntimeError: Test Failed: '(view has effective visibility and view.getGlobalVisibleRect() covers at least <75> percent of the view's area)' doesn't match the selected view. Expected: (view has effective visibility and view.getGlobalVisibleRect() covers at least <75> percent of the view's area) Got: was null at _callee3$ (/Users/mohamadmeksasi/Documents/participant-mobile/e2e/firstTest.e2e.js:21:49) at tryCatch (/Users/mohamadmeksasi/Documents/participant-mobile/node_modules/regenerator-runtime/runtime.js:63:40) at Generator.invoke [as _invoke] (/Users/mohamadmeksasi/Documents/participant-mobile/node_modules/regenerator-runtime/runtime.js:294:22) at Generator.next (/Users/mohamadmeksasi/Documents/participant-mobile/node_modules/regenerator-runtime/runtime.js:119:21) at tryCatch (/Users/mohamadmeksasi/Documents/participant-mobile/node_modules/regenerator-runtime/runtime.js:63:40) at invoke (/Users/mohamadmeksasi/Documents/participant-mobile/node_modules/regenerator-runtime/runtime.js:155:20) at /Users/mohamadmeksasi/Documents/participant-mobile/node_modules/regenerator-runtime/runtime.js:190:11 at new Promise () }) 16:19:36.810 detox[6883] TRACE: [DETOX_AFTER_EACH] failed test: "Example should have login screen" 16:19:36.810 detox[6883] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onTestDone({ title: 'should have login screen', fullName: 'Example should have login screen', status: 'failed', invocations: 1, timedOut: false }) 16:19:36.810 detox[6883] INFO: Example: should have login screen [FAIL] 16:19:36.812 Example[6883] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onRunDescribeFinish({ name: 'Example' }) 16:19:36.812 ROOT_DESCRIBE_BLOCK[6883] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onRunDescribeFinish({ name: 'ROOT_DESCRIBE_BLOCK' }) 16:19:36.833 detox[6883] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBeforeCleanup() 16:19:36.835 detox[6883] TRACE: [WS_SEND] {"type":"cleanup","params":{"stopRunner":false},"messageId":-49642} 16:19:36.836 detox[6883] TRACE: [WSS_GET_FROM, #tester] {"type":"cleanup","params":{"stopRunner":false},"messageId":-49642} 16:19:36.836 detox[6883] TRACE: [WSS_SEND_TO, #app] {"type":"cleanup","params":{"stopRunner":false},"messageId":-49642} 16:19:36.869 detox[6883] TRACE: [WSS_GET_FROM, #app] {"messageId":-49642,"type":"cleanupDone","params":{}} 16:19:36.869 detox[6883] TRACE: [WSS_SEND_TO, #tester] {"messageId":-49642,"type":"cleanupDone","params":{}} 16:19:36.869 detox[6883] TRACE: [WS_MESSAGE] {"messageId":-49642,"type":"cleanupDone","params":{}} 16:19:36.871 detox[6883] TRACE: [SESSION_TORN] tester exited session 4d806b62-44de-c09a-9c3b-6e1f9c75c458 16:19:36.871 detox[6883] TRACE: [WSS_SEND_TO, #app] {"type":"testerDisconnected","messageId":-1} 16:19:36.872 detox[6925] TRACE: [SPAWN_KILL] sending SIGINT to: /Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb -s emulator-18620 shell am instrument -w -r -e detoxServer ws://localhost:54067 -e detoxSessionId 4d806b62-44de-c09a-9c3b-6e1f9c75c458 -e DTXEnableVerboseSyncSystem WUVT -e DTXEnableVerboseSyncResources WUVT -e debug false com.mdgroup.primariusparticipant.test/androidx.test.runner.AndroidJUnitRunner 16:19:36.873 detox[6883] DEBUG: [SPAWN_END, #27, cpid=6925] /Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb -s emulator-18620 shell am instrument -w -r -e detoxServer ws://localhost:54067 -e detoxSessionId 4d806b62-44de-c09a-9c3b-6e1f9c75c458 -e DTXEnableVerboseSyncSystem WUVT -e DTXEnableVerboseSyncResources WUVT -e debug false com.mdgroup.primariusparticipant.test/androidx.test.runner.AndroidJUnitRunner terminated with SIGINT 16:19:36.875 detox[6883] DEBUG: [EXEC_CMD, #29] "/Users/mohamadmeksasi/Library/Android/sdk/platform-tools/adb" -s emulator-18620 reverse --remove tcp:54067 16:19:36.881 detox[6883] DEBUG: [WSS_CLOSE] Detox server has been closed gracefully FAIL e2e/firstTest.e2e.js (12.241 s) Example ✕ should have login screen (54 ms) ● Example › should have login screen DetoxRuntimeError: Test Failed: '(view has effective visibility and view.getGlobalVisibleRect() covers at least <75> percent of the view's area)' doesn't match the selected view. Expected: (view has effective visibility and view.getGlobalVisibleRect() covers at least <75> percent of the view's area) Got: was null 19 | 20 | it('should have login screen', async () => { > 21 | await expect(element(by.id('loginButton'))).toBeVisible() | ^ 22 | // await element(by.id('username')).typeText('dev') 23 | // await expect(element(by.id('detoxFirstTestID'))).toBeVisible() 24 | // await element(by.id('detoxFirstTestID')).tap() at _callee3$ (firstTest.e2e.js:21:49) at tryCatch (../node_modules/regenerator-runtime/runtime.js:63:40) at Generator.invoke [as _invoke] (../node_modules/regenerator-runtime/runtime.js:294:22) at Generator.next (../node_modules/regenerator-runtime/runtime.js:119:21) at tryCatch (../node_modules/regenerator-runtime/runtime.js:63:40) at invoke (../node_modules/regenerator-runtime/runtime.js:155:20) at ../node_modules/regenerator-runtime/runtime.js:190:11 16:19:36.885 detox[6883] TRACE: [SESSION_TORN] app exited session 4d806b62-44de-c09a-9c3b-6e1f9c75c458 16:19:36.890 detox[6883] TRACE: [EXEC_SUCCESS, #29] 16:19:36.992 detox[6882] ERROR: [cli.js] Command failed: jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' e2e ```

Device logs

Device logs ``` device.log: --------- beginning of main 05-03 16:23:25.107 14592 14700 I ReactNativeJS: DYNATRACE: Configuration set: {"lifecycleUpdate":false,"logLevel":0} 05-03 16:23:25.107 14592 14700 I ReactNativeJS: DYNATRACE: Dynatrace React Native Plugin started! 05-03 16:23:25.107 14592 14700 I ReactNativeJS: Running "PrimariusParticipant" with {"rootTag":1} 05-03 16:23:25.201 14592 14728 D SoLoader: libimagepipeline.so not found on /data/data/com.mdgroup.primariusparticipant/lib-main 05-03 16:23:25.201 14592 14728 D SoLoader: libimagepipeline.so found on /data/app/~~3btXSCXI6WTCxAApgbYfdQ==/com.mdgroup.primariusparticipant-Qibb0PU9EfASWd0FSOy1zA==/lib/arm64 05-03 16:23:25.201 14592 14728 D SoLoader: Not resolving dependencies for libimagepipeline.so 05-03 16:23:25.546 14592 14702 E LDClient: LDClient.get() was called before init()! 05-03 16:23:25.551 14592 14592 I Detox : UIManagerModule is busy 05-03 16:23:25.551 14592 14731 I LDClient: Did not find existing instance id. Saving a new one 05-03 16:23:25.551 14592 14731 I LDClient: Using instance id: fac0fb0d-f60f-4941-a586-c03968977de8 05-03 16:23:25.552 14592 14731 D Migration: Migrating to v2.7.0 shared preferences store 05-03 16:23:25.554 14592 14731 D Migration: Migration to v2.7.0 shared preferences store successful 05-03 16:23:25.556 14592 14731 I LDClient: User was created with null/empty key. Using device-unique anonymous user key: fac0fb0d-f60f-4941-a586-c03968977de8 05-03 16:23:25.556 14592 14731 I LDClient: Creating LaunchDarkly client. Version: 3.1.4 05-03 16:23:25.556 14592 14731 D HttpFeatureFlagFetcher: Using cache at: /data/user/0/com.mdgroup.primariusparticipant/cache/com.launchdarkly.http-cache 05-03 16:23:25.560 14592 14592 I Detox : Wait is over: app is now idle! 05-03 16:23:25.560 14592 14689 I DetoxWSClient: Sending out action 'ready' (ID #-1000) 05-03 16:23:25.561 14592 14689 I DetoxDispatcher: Done with action 'isReady' 05-03 16:23:25.561 14592 14689 I DetoxDispatcher: Handling action 'loginSuccess' (ID #0)... 05-03 16:23:25.561 14592 14689 I DetoxDispatcher: Done with action 'loginSuccess' 05-03 16:23:25.561 14592 14689 I DetoxDispatcher: Handling action 'isReady' (ID #-1000)... 05-03 16:23:25.562 14592 14741 D DiagnosticEventProcessor: Posting diagnostic event to https://mobile.launchdarkly.com/mobile/events/diagnostic with body {"configuration":{"allAttributesPrivate":false,"autoAliasingOptOut":false,"backgroundPollingDisabled":false,"backgroundPollingIntervalMillis":3600000,"connectTimeoutMillis":10000,"customBaseURI":true,"customEventsURI":false,"customStreamURI":false,"diagnosticRecordingIntervalMillis":900000,"evaluationReasonsRequested":false,"eventsCapacity":100,"eventsFlushIntervalMillis":30000,"inlineUsersInEvents":false,"maxCachedUsers":5,"mobileKeyCount":1,"pollingIntervalMillis":300000,"streamingDisabled":false,"useReport":false},"platform":{"androidSDKVersion":30,"name":"Android"},"sdk":{"name":"android-client-sdk","version":"3.1.4","wrapperName":"react-native-client-sdk","wrapperVersion":"6.1.3"},"creationDate":1651584205558,"id":{"diagnosticId":"adafd249-c407-497e-8dc1-170669516821","sdkKeySuffix":"93e61b"},"kind":"diagnostic-init"} 05-03 16:23:25.564 14592 14731 D DefaultUserManager: Setting current user to: [eyJhbm9ueW1vdXMiOnRydWUsImtleSI6ImZhYzBmYjBkLWY2MGYtNDk0MS1hNTg2LWMwMzk2ODk3N2RlOCIsImN1c3RvbSI6eyJNT0JQRi1hcHAtdmVyc2lvbiI6IjAuMi40OCIsIm9zIjozMCwiZGV2aWNlIjoic2RrX2dwaG9uZV9hcm02NCBzZGtfZ3Bob25lX2FybTY0IiwiTU9CUEYtcGxhdGZvcm0tb3MiOiJhbmRyb2lkIn19] [{"anonymous":true,"key":"fac0fb0d-f60f-4941-a586-c03968977de8","custom":{"MOBPF-app-version":"0.2.48","os":30,"device":"sdk_gphone_arm64 sdk_gphone_arm64","MOBPF-platform-os":"android"}}] 05-03 16:23:25.564 14592 14592 I Detox : Wait is over: app is now idle! 05-03 16:23:25.565 14592 14689 I DetoxWSClient: Sending out action 'ready' (ID #-1000) 05-03 16:23:25.565 14592 14689 I DetoxDispatcher: Done with action 'isReady' 05-03 16:23:25.598 14592 14691 D DetoxWSClient: Received action 'invoke' (ID #1, 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":["loginButton"]}}]}},{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForSufficientlyVisible","args":[{"type":"Integer","value":75}]}}]}) 05-03 16:23:25.599 14592 14689 I DetoxDispatcher: Handling action 'invoke' (ID #1)... 05-03 16:23:25.600 14592 14689 D Detox : class com.wix.detox.espresso.DetoxMatcher, matcherForTestId, [loginButton] 05-03 16:23:25.602 14592 14689 D Detox : class androidx.test.espresso.Espresso, onView, [(view.getTag() is "loginButton" and view has effective visibility )] 05-03 16:23:25.602 14592 14689 D Detox : class com.wix.detox.espresso.DetoxMatcher, matcherForSufficientlyVisible, [75] 05-03 16:23:25.602 14592 14689 D Detox : class com.wix.detox.espresso.DetoxAssertion, assertMatcher, [androidx.test.espresso.ViewInteraction@42bd75f, (view has effective visibility and view.getGlobalVisibleRect() covers at least <75> percent of the view's area)] 05-03 16:23:25.651 14592 14702 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.swmansion.rnscreens.ScreensShadowNode 05-03 16:23:25.666 14592 14592 W riusparticipan: Accessing hidden field Landroid/widget/ScrollView;->mScroller:Landroid/widget/OverScroller; (greylist, reflection, allowed) 05-03 16:23:25.684 14592 14592 I ReactNative: [GESTURE HANDLER] Initialize gesture handler for root view com.facebook.react.ReactRootView{4bee020 V.E...... ......ID 0,0-1080,1731 #1} 05-03 16:23:26.099 14592 14592 I Detox : UIManagerModule is busy 05-03 16:23:26.115 14592 14592 W riusparticipan: Accessing hidden method Landroid/view/WindowManagerGlobal;->getInstance()Landroid/view/WindowManagerGlobal; (greylist, reflection, allowed) 05-03 16:23:26.115 14592 14592 W riusparticipan: Accessing hidden field Landroid/view/WindowManagerGlobal;->mViews:Ljava/util/ArrayList; (greylist, reflection, allowed) 05-03 16:23:26.115 14592 14592 W riusparticipan: Accessing hidden field Landroid/view/WindowManagerGlobal;->mParams:Ljava/util/ArrayList; (greylist, reflection, allowed) 05-03 16:23:26.116 14592 14592 I ViewInteraction: Checking 'MatchesViewAssertion(Detox){viewMatcher=(view has effective visibility and view.getGlobalVisibleRect() covers at least <75> percent of the view's area)}' assertion on view (view.getTag() is "loginButton" and view has effective visibility ) 05-03 16:23:26.117 14592 14689 I DetoxWSClient: Sending out action 'invokeResult' (ID #1) 05-03 16:23:26.117 14592 14689 I DetoxDispatcher: Done with action 'invoke' ```

More data, please!

No response

github-actions[bot] commented 2 years ago

We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the detox tag.

Feel free to post your Stack Overflow question here for more visibility! We'll take a look at it.

Refer to this discussion for more information about our policy on issues.