Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activity is no longer active when the native share action sheet is up #4683

Open
1 of 2 tasks
omrital opened this issue Jan 9, 2025 · 0 comments
Open
1 of 2 tasks

Comments

@omrital
Copy link

omrital commented Jan 9, 2025

What happened?

Test is not finishing, it looks like it expect the Activity to stay active and once the native share action sheet is up, the app’s Activity is no longer in the “resumed” mode & the test fails.

What was the expected behaviour?

That the last check of the test (which is after the native share action sheet is up) will be called & the test will succeeded.

Was it tested on latest Detox?

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

Did your test throw out a timeout?

Help us reproduce this issue!

Just show the android native share & the test will stop.

In what environment did this happen?

Detox version: 20.31.0
React Native version: 0.71.2
Has Fabric (React Native's new rendering system) enabled: (yes/no)
Node version: 14.20.0
Device model:
Android version:
Test-runner (select one): jest / other

Detox logs

Device logs
["brandedAppOwner._INVITE_BUTTON",{"type":"boolean","value":false}]}},{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxViewActions"},"method":"click","args":[]}}]})
08:31:39.937 15767 15858 I DetoxDispatcher: Handling action 'invoke' (ID #32)...
08:31:39.938 15767 15858 D Detox   : class com.wix.detox.espresso.DetoxMatcher, matcherForTestId, [brandedAppOwner._INVITE_BUTTON, false]
08:31:39.938 15767 15858 D Detox   : class com.wix.detox.espresso.DetoxViewActions, click, []
08:31:39.938 15767 15858 D Detox   : class com.wix.detox.espresso.EspressoDetox, perform, [(view.getTag() is "brandedAppOwner._INVITE_BUTTON" and view has effective visibility <VISIBLE>), com.wix.detox.espresso.action.RNClickAction@ec2eaf6]
08:31:39.986 15767 15767 I Detox   : UIManagerModule is busy
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: Unable to update properties for view tag 6665
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: com.facebook.react.uimanager.IllegalViewOperationException: ViewManager for tag 6665 could not be found.
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.facebook.react.uimanager.NativeViewHierarchyManager.resolveViewManager(NativeViewHierarchyManager.java:111)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.facebook.react.uimanager.NativeViewHierarchyManager.updateProperties(NativeViewHierarchyManager.java:138)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.facebook.react.uimanager.UIImplementation.synchronouslyUpdateViewOnUIThread(UIImplementation.java:281)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.swmansion.reanimated.NodesManager.updateProps(NodesManager.java:370)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.swmansion.reanimated.nativeProxy.NativeProxyCommon.updateProps(NativeProxyCommon.java:100)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.swmansion.reanimated.Scheduler.triggerUI(Native Method)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.swmansion.reanimated.Scheduler$1.run(Scheduler.java:24)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.swmansion.reanimated.Scheduler$2.runGuarded(Scheduler.java:43)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.facebook.react.bridge.GuardedRunnable.run(GuardedRunnable.java:30)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at android.os.Handler.handleCallback(Handler.java:958)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at android.os.Handler.dispatchMessage(Handler.java:99)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.base.Interrogator.loopAndInterrogate(Interrogator.java:156)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.base.UiControllerImpl.loopUntil(UiControllerImpl.java:510)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.base.UiControllerImpl.loopMainThreadUntilIdle(UiControllerImpl.java:433)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.base.UiControllerImpl.injectMotionEventSequence(UiControllerImpl.java:305)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.wix.detox.espresso.action.DetoxCustomTapper.injectEvents(DetoxCustomTapper.kt:85)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.wix.detox.espresso.action.DetoxCustomTapper.sendTap(DetoxCustomTapper.kt:56)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.action.GeneralClickAction.perform(GeneralClickAction.java:134)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.wix.detox.espresso.action.RNClickAction.perform(RNClickAction.java:57)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.ViewInteraction$SingleExecutionViewAction.perform(ViewInteraction.java:429)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:297)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.ViewInteraction.access$300(ViewInteraction.java:70)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:193)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:182)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at android.os.Handler.handleCallback(Handler.java:958)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at android.os.Handler.dispatchMessage(Handler.java:99)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at android.os.Looper.loopOnce(Looper.java:205)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at android.os.Looper.loop(Looper.java:294)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at android.app.ActivityThread.main(ActivityThread.java:8177)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at java.lang.reflect.Method.invoke(Native Method)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
08:31:40.099 15767 15962 W ReactNativeJS: Missing signedInstanceType in SignedInstanceResolver.resolve, called by module core.internal
08:31:40.104 15767 15962 D Detox.RNMarker: NATIVE_MODULE_SETUP_START (CheckPackageInstallation)
08:31:40.104 15767 15962 D Detox.RNMarker: NATIVE_MODULE_SETUP_END (CheckPackageInstallation)
08:31:40.109 15767 15767 E unknown:ReactModalHost: Creating new dialog from context: com.wix.MainActivity@f1675b8@253130168
08:31:40.133 15767 15870 E OpenGLRenderer: Unable to match the desired swap behavior.
08:31:40.151 15767 15767 E unknown:ReactModalHost: Updating existing dialog with context: com.wix.MainActivity@f1675b8@253130168
08:31:40.181 15767 15962 D Detox.RNMarker: NATIVE_MODULE_SETUP_START (FBShareDialog)
08:31:40.183 15767 15962 D Detox.RNMarker: NATIVE_MODULE_SETUP_END (FBShareDialog)
08:31:40.306 15767 15767 I Detox   : Network is busy, with 2 in-flight calls
08:31:40.309 15767 15767 I Detox   : Network is busy, with 2 in-flight calls
08:31:40.327 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.351 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.367 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.415 15767 15767 I Detox   : Network is busy, with 3 in-flight calls
08:31:40.428 15767 15767 I Detox   : Network is busy, with 3 in-flight calls
08:31:40.471 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.485 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.521 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.602 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.620 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.639 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.658 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:41.192 15767 15858 I DetoxWSClient: Sending out action 'invokeResult' (ID #32)
08:31:41.192 15767 15858 I DetoxDispatcher: Done with action 'invoke'
08:31:41.221 15767 15862 D DetoxWSClient: Received action 'invoke' (ID #33, params={"target":{"type":"Class","value":"com.wix.detox.espresso.EspressoDetox"},"method":"perform","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForTestId","args":["invites.inviteMembersNewFlowActionSheetNativeShare",{"type":"boolean","value":false}]}},{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxViewActions"},"method":"click","args":[]}}]})
08:31:41.222 15767 15858 I DetoxDispatcher: Handling action 'invoke' (ID #33)...
08:31:41.223 15767 15858 D Detox   : class com.wix.detox.espresso.DetoxMatcher, matcherForTestId, [invites.inviteMembersNewFlowActionSheetNativeShare, false]
08:31:41.224 15767 15858 D Detox   : class com.wix.detox.espresso.DetoxViewActions, click, []
08:31:41.225 15767 15858 D Detox   : class com.wix.detox.espresso.EspressoDetox, perform, [(view.getTag() is "invites.inviteMembersNewFlowActionSheetNativeShare" and view has effective visibility <VISIBLE>), com.wix.detox.espresso.action.RNClickAction@1bafb38]
08:31:41.382 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.394 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.409 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.446 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.458 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.491 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.504 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.538 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.555 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.590 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.604 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.618 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.846 15767 15962 I ReactNativeJS: 'gilka', { noSites: false, onboarded: false, tabs: 1 }
08:31:41.850 15767 15962 W ReactNativeJS: Could not find any module defining the following tabs with ids: [platforms, analytics, empty-state, MemberViewTab_0, MemberViewTab_1, MemberViewTab_2, MemberViewTab_3, MemberViewTab_4, BrandedAppsTab] that supports 'admin' (tab.apps contains 'admin'). Please verify the ids are defined correctly within engine definitions under: oneAppEngine.admin.tabs in package.json. Please verify a module declaring each tab exists and defines current app under apps (defined in module.js -> getTabs())
08:31:41.887 15767 15962 I ReactNativeJS: 'gilka', { noSites: false, onboarded: false, tabs: 1 }
08:31:41.889 15767 15962 W ReactNativeJS: Could not find any module defining the following tabs with ids: [platforms, analytics, empty-state, MemberViewTab_0, MemberViewTab_1, MemberViewTab_2, MemberViewTab_3, MemberViewTab_4, BrandedAppsTab] that supports 'admin' (tab.apps contains 'admin'). Please verify the ids are defined correctly within engine definitions under: oneAppEngine.admin.tabs in package.json. Please verify a module declaring each tab exists and defines current app under apps (defined in module.js -> getTabs())
08:31:42.039 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:42.041 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:42.430 15767 15858 I DetoxWSClient: Sending out action 'invokeResult' (ID #33)
08:31:42.430 15767 15858 I DetoxDispatcher: Done with action 'invoke'
08:31:42.454 15767 15862 D DetoxWSClient: Received action 'invoke' (ID #34, params={"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxAssertion"},"method":"waitForAssertMatcher","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":["invites.inviteMembersNewFlowActionSheet",{"type":"boolean","value":false}]}}]}},{"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}]}}]}},{"type":"Double","value":1}]})
08:31:42.455 15767 15858 I DetoxDispatcher: Handling action 'invoke' (ID #34)...
08:31:42.455 15767 15858 D Detox   : class com.wix.detox.espresso.DetoxMatcher, matcherForTestId, [invites.inviteMembersNewFlowActionSheet, false]
08:31:42.455 15767 15858 D Detox   : class androidx.test.espresso.Espresso, onView, [(view.getTag() is "invites.inviteMembersNewFlowActionSheet" and view has effective visibility <VISIBLE>)]
08:31:42.455 15767 15858 D Detox   : class com.wix.detox.espresso.DetoxMatcher, matcherForSufficientlyVisible, [75]
08:31:42.455 15767 15858 D Detox   : class com.wix.detox.espresso.DetoxMatcher, matcherForNot, [(view has effective visibility <VISIBLE> and view.getGlobalVisibleRect() covers at least <75> percent of the view's area)]
08:31:42.456 15767 15858 D Detox   : class com.wix.detox.espresso.DetoxAssertion, waitForAssertMatcher, [androidx.test.espresso.ViewInteraction@c440681, not (view has effective visibility <VISIBLE> and view.getGlobalVisibleRect() covers at least <75> percent of the view's area), 1.0]
08:31:57.459 15767 15862 D DetoxWSClient: Received action 'currentStatus' (ID #35, params={})
08:31:57.460 15767 15859 I DetoxDispatcher: Handling action 'currentStatus' (ID #35)...
08:31:57.464 15767 15859 I DetoxWSClient: Sending out action 'currentStatusResult' (ID #35)
08:31:57.464 15767 15859 I DetoxDispatcher: Done with action 'currentStatus'
08:32:12.494 15767 15862 D DetoxWSClient: Received action 'currentStatus' (ID #36, params={})
08:32:12.495 15767 15859 I DetoxDispatcher: Handling action 'currentStatus' (ID #36)...
08:32:12.501 15767 15859 I DetoxWSClient: Sending out action 'currentStatusResult' (ID #36)
08:32:12.501 15767 15859 I DetoxDispatcher: Done with action 'currentStatus'
08:32:15.431 15767 15858 I DetoxActionHandlers: Test exception
08:32:15.431 15767 15858 I DetoxActionHandlers: java.lang.reflect.InvocationTargetException
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at java.lang.reflect.Method.invoke(Native Method)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at org.apache.commons.lang3.reflect.MethodUtils.invokeStaticMethod(MethodUtils.java:443)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at org.apache.commons.lang3.reflect.MethodUtils.invokeStaticMethod(MethodUtils.java:405)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.invoke.types.ClassTarget.execute(ClassTarget.java:23)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.invoke.types.Target.invoke(Target.java:59)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.invoke.MethodInvocation.invoke(MethodInvocation.java:35)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.invoke.MethodInvocation.invoke(MethodInvocation.java:26)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.invoke.MethodInvocation.invoke(MethodInvocation.java:20)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.detox.adapters.server.InvokeActionHandler.handle(DetoxActionHandlers.kt:54)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.detox.adapters.server.ActionsExecutor.executeAction$lambda$2$lambda$1(DetoxActionsDispatcher.kt:76)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.detox.adapters.server.ActionsExecutor.$r8$lambda$LZ3KRuVesIYkeXHJoNMi_yqw1HU(Unknown Source:0)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.detox.adapters.server.ActionsExecutor$$ExternalSyntheticLambda0.run(Unknown Source:8)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at android.os.Handler.handleCallback(Handler.java:958)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at android.os.Handler.dispatchMessage(Handler.java:99)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at android.os.Looper.loopOnce(Looper.java:205)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at android.os.Looper.loop(Looper.java:294)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.detox.adapters.server.ActionsExecutor._init_$lambda$0(DetoxActionsDispatcher.kt:62)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.detox.adapters.server.ActionsExecutor.$r8$lambda$4eWOlZMqOQq2jbqiFbTCEP-pHOY(Unknown Source:0)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.detox.adapters.server.ActionsExecutor$$ExternalSyntheticLambda1.run(Unknown Source:4)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at java.lang.Thread.run(Thread.java:1012)
08:32:15.431 15767 15858 I DetoxActionHandlers: Caused by: androidx.test.espresso.NoActivityResumedException: No activities in stage RESUMED. Did you forget to launch the activity. (test.getActivity() or similar)?
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at dalvik.system.VMStack.getThreadStackTrace(Native Method)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at java.lang.Thread.getStackTrace(Thread.java:1841)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at androidx.test.espresso.base.EspressoExceptionHandler.handleSafely(EspressoExceptionHandler.java:34)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at androidx.test.espresso.base.EspressoExceptionHandler.handleSafely(EspressoExceptionHandler.java:26)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at androidx.test.espresso.base.DefaultFailureHandler$TypedFailureHandler.handle(DefaultFailureHandler.java:158)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:120)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:385)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at androidx.test.espresso.ViewInteraction.check(ViewInteraction.java:366)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.detox.espresso.DetoxAssertion.waitForAssertMatcher(DetoxAssertion.java:77)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	... 20 more

Device logs

Device logs
["brandedAppOwner._INVITE_BUTTON",{"type":"boolean","value":false}]}},{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxViewActions"},"method":"click","args":[]}}]})
08:31:39.937 15767 15858 I DetoxDispatcher: Handling action 'invoke' (ID #32)...
08:31:39.938 15767 15858 D Detox   : class com.wix.detox.espresso.DetoxMatcher, matcherForTestId, [brandedAppOwner._INVITE_BUTTON, false]
08:31:39.938 15767 15858 D Detox   : class com.wix.detox.espresso.DetoxViewActions, click, []
08:31:39.938 15767 15858 D Detox   : class com.wix.detox.espresso.EspressoDetox, perform, [(view.getTag() is "brandedAppOwner._INVITE_BUTTON" and view has effective visibility <VISIBLE>), com.wix.detox.espresso.action.RNClickAction@ec2eaf6]
08:31:39.986 15767 15767 I Detox   : UIManagerModule is busy
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: Unable to update properties for view tag 6665
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: com.facebook.react.uimanager.IllegalViewOperationException: ViewManager for tag 6665 could not be found.
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.facebook.react.uimanager.NativeViewHierarchyManager.resolveViewManager(NativeViewHierarchyManager.java:111)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.facebook.react.uimanager.NativeViewHierarchyManager.updateProperties(NativeViewHierarchyManager.java:138)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.facebook.react.uimanager.UIImplementation.synchronouslyUpdateViewOnUIThread(UIImplementation.java:281)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.swmansion.reanimated.NodesManager.updateProps(NodesManager.java:370)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.swmansion.reanimated.nativeProxy.NativeProxyCommon.updateProps(NativeProxyCommon.java:100)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.swmansion.reanimated.Scheduler.triggerUI(Native Method)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.swmansion.reanimated.Scheduler$1.run(Scheduler.java:24)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.swmansion.reanimated.Scheduler$2.runGuarded(Scheduler.java:43)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.facebook.react.bridge.GuardedRunnable.run(GuardedRunnable.java:30)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at android.os.Handler.handleCallback(Handler.java:958)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at android.os.Handler.dispatchMessage(Handler.java:99)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.base.Interrogator.loopAndInterrogate(Interrogator.java:156)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.base.UiControllerImpl.loopUntil(UiControllerImpl.java:510)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.base.UiControllerImpl.loopMainThreadUntilIdle(UiControllerImpl.java:433)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.base.UiControllerImpl.injectMotionEventSequence(UiControllerImpl.java:305)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.wix.detox.espresso.action.DetoxCustomTapper.injectEvents(DetoxCustomTapper.kt:85)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.wix.detox.espresso.action.DetoxCustomTapper.sendTap(DetoxCustomTapper.kt:56)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.action.GeneralClickAction.perform(GeneralClickAction.java:134)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.wix.detox.espresso.action.RNClickAction.perform(RNClickAction.java:57)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.ViewInteraction$SingleExecutionViewAction.perform(ViewInteraction.java:429)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:297)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.ViewInteraction.access$300(ViewInteraction.java:70)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:193)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:182)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at android.os.Handler.handleCallback(Handler.java:958)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at android.os.Handler.dispatchMessage(Handler.java:99)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at android.os.Looper.loopOnce(Looper.java:205)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at android.os.Looper.loop(Looper.java:294)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at android.app.ActivityThread.main(ActivityThread.java:8177)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at java.lang.reflect.Method.invoke(Native Method)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
08:31:40.089 15767 15767 E unknown:NativeViewHierarchyManager: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
08:31:40.099 15767 15962 W ReactNativeJS: Missing signedInstanceType in SignedInstanceResolver.resolve, called by module core.internal
08:31:40.104 15767 15962 D Detox.RNMarker: NATIVE_MODULE_SETUP_START (CheckPackageInstallation)
08:31:40.104 15767 15962 D Detox.RNMarker: NATIVE_MODULE_SETUP_END (CheckPackageInstallation)
08:31:40.109 15767 15767 E unknown:ReactModalHost: Creating new dialog from context: com.wix.MainActivity@f1675b8@253130168
08:31:40.133 15767 15870 E OpenGLRenderer: Unable to match the desired swap behavior.
08:31:40.151 15767 15767 E unknown:ReactModalHost: Updating existing dialog with context: com.wix.MainActivity@f1675b8@253130168
08:31:40.181 15767 15962 D Detox.RNMarker: NATIVE_MODULE_SETUP_START (FBShareDialog)
08:31:40.183 15767 15962 D Detox.RNMarker: NATIVE_MODULE_SETUP_END (FBShareDialog)
08:31:40.306 15767 15767 I Detox   : Network is busy, with 2 in-flight calls
08:31:40.309 15767 15767 I Detox   : Network is busy, with 2 in-flight calls
08:31:40.327 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.351 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.367 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.415 15767 15767 I Detox   : Network is busy, with 3 in-flight calls
08:31:40.428 15767 15767 I Detox   : Network is busy, with 3 in-flight calls
08:31:40.471 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.485 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.521 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.602 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.620 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.639 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:40.658 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:41.192 15767 15858 I DetoxWSClient: Sending out action 'invokeResult' (ID #32)
08:31:41.192 15767 15858 I DetoxDispatcher: Done with action 'invoke'
08:31:41.221 15767 15862 D DetoxWSClient: Received action 'invoke' (ID #33, params={"target":{"type":"Class","value":"com.wix.detox.espresso.EspressoDetox"},"method":"perform","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxMatcher"},"method":"matcherForTestId","args":["invites.inviteMembersNewFlowActionSheetNativeShare",{"type":"boolean","value":false}]}},{"type":"Invocation","value":{"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxViewActions"},"method":"click","args":[]}}]})
08:31:41.222 15767 15858 I DetoxDispatcher: Handling action 'invoke' (ID #33)...
08:31:41.223 15767 15858 D Detox   : class com.wix.detox.espresso.DetoxMatcher, matcherForTestId, [invites.inviteMembersNewFlowActionSheetNativeShare, false]
08:31:41.224 15767 15858 D Detox   : class com.wix.detox.espresso.DetoxViewActions, click, []
08:31:41.225 15767 15858 D Detox   : class com.wix.detox.espresso.EspressoDetox, perform, [(view.getTag() is "invites.inviteMembersNewFlowActionSheetNativeShare" and view has effective visibility <VISIBLE>), com.wix.detox.espresso.action.RNClickAction@1bafb38]
08:31:41.382 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.394 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.409 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.446 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.458 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.491 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.504 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.538 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.555 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.590 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.604 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.618 15767 15767 I Detox   : AnimatedModule is busy.
08:31:41.846 15767 15962 I ReactNativeJS: 'gilka', { noSites: false, onboarded: false, tabs: 1 }
08:31:41.850 15767 15962 W ReactNativeJS: Could not find any module defining the following tabs with ids: [platforms, analytics, empty-state, MemberViewTab_0, MemberViewTab_1, MemberViewTab_2, MemberViewTab_3, MemberViewTab_4, BrandedAppsTab] that supports 'admin' (tab.apps contains 'admin'). Please verify the ids are defined correctly within engine definitions under: oneAppEngine.admin.tabs in package.json. Please verify a module declaring each tab exists and defines current app under apps (defined in module.js -> getTabs())
08:31:41.887 15767 15962 I ReactNativeJS: 'gilka', { noSites: false, onboarded: false, tabs: 1 }
08:31:41.889 15767 15962 W ReactNativeJS: Could not find any module defining the following tabs with ids: [platforms, analytics, empty-state, MemberViewTab_0, MemberViewTab_1, MemberViewTab_2, MemberViewTab_3, MemberViewTab_4, BrandedAppsTab] that supports 'admin' (tab.apps contains 'admin'). Please verify the ids are defined correctly within engine definitions under: oneAppEngine.admin.tabs in package.json. Please verify a module declaring each tab exists and defines current app under apps (defined in module.js -> getTabs())
08:31:42.039 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:42.041 15767 15767 I Detox   : Network is busy, with 1 in-flight calls
08:31:42.430 15767 15858 I DetoxWSClient: Sending out action 'invokeResult' (ID #33)
08:31:42.430 15767 15858 I DetoxDispatcher: Done with action 'invoke'
08:31:42.454 15767 15862 D DetoxWSClient: Received action 'invoke' (ID #34, params={"target":{"type":"Class","value":"com.wix.detox.espresso.DetoxAssertion"},"method":"waitForAssertMatcher","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":["invites.inviteMembersNewFlowActionSheet",{"type":"boolean","value":false}]}}]}},{"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}]}}]}},{"type":"Double","value":1}]})
08:31:42.455 15767 15858 I DetoxDispatcher: Handling action 'invoke' (ID #34)...
08:31:42.455 15767 15858 D Detox   : class com.wix.detox.espresso.DetoxMatcher, matcherForTestId, [invites.inviteMembersNewFlowActionSheet, false]
08:31:42.455 15767 15858 D Detox   : class androidx.test.espresso.Espresso, onView, [(view.getTag() is "invites.inviteMembersNewFlowActionSheet" and view has effective visibility <VISIBLE>)]
08:31:42.455 15767 15858 D Detox   : class com.wix.detox.espresso.DetoxMatcher, matcherForSufficientlyVisible, [75]
08:31:42.455 15767 15858 D Detox   : class com.wix.detox.espresso.DetoxMatcher, matcherForNot, [(view has effective visibility <VISIBLE> and view.getGlobalVisibleRect() covers at least <75> percent of the view's area)]
08:31:42.456 15767 15858 D Detox   : class com.wix.detox.espresso.DetoxAssertion, waitForAssertMatcher, [androidx.test.espresso.ViewInteraction@c440681, not (view has effective visibility <VISIBLE> and view.getGlobalVisibleRect() covers at least <75> percent of the view's area), 1.0]
08:31:57.459 15767 15862 D DetoxWSClient: Received action 'currentStatus' (ID #35, params={})
08:31:57.460 15767 15859 I DetoxDispatcher: Handling action 'currentStatus' (ID #35)...
08:31:57.464 15767 15859 I DetoxWSClient: Sending out action 'currentStatusResult' (ID #35)
08:31:57.464 15767 15859 I DetoxDispatcher: Done with action 'currentStatus'
08:32:12.494 15767 15862 D DetoxWSClient: Received action 'currentStatus' (ID #36, params={})
08:32:12.495 15767 15859 I DetoxDispatcher: Handling action 'currentStatus' (ID #36)...
08:32:12.501 15767 15859 I DetoxWSClient: Sending out action 'currentStatusResult' (ID #36)
08:32:12.501 15767 15859 I DetoxDispatcher: Done with action 'currentStatus'
08:32:15.431 15767 15858 I DetoxActionHandlers: Test exception
08:32:15.431 15767 15858 I DetoxActionHandlers: java.lang.reflect.InvocationTargetException
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at java.lang.reflect.Method.invoke(Native Method)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at org.apache.commons.lang3.reflect.MethodUtils.invokeStaticMethod(MethodUtils.java:443)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at org.apache.commons.lang3.reflect.MethodUtils.invokeStaticMethod(MethodUtils.java:405)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.invoke.types.ClassTarget.execute(ClassTarget.java:23)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.invoke.types.Target.invoke(Target.java:59)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.invoke.MethodInvocation.invoke(MethodInvocation.java:35)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.invoke.MethodInvocation.invoke(MethodInvocation.java:26)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.invoke.MethodInvocation.invoke(MethodInvocation.java:20)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.detox.adapters.server.InvokeActionHandler.handle(DetoxActionHandlers.kt:54)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.detox.adapters.server.ActionsExecutor.executeAction$lambda$2$lambda$1(DetoxActionsDispatcher.kt:76)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.detox.adapters.server.ActionsExecutor.$r8$lambda$LZ3KRuVesIYkeXHJoNMi_yqw1HU(Unknown Source:0)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.detox.adapters.server.ActionsExecutor$$ExternalSyntheticLambda0.run(Unknown Source:8)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at android.os.Handler.handleCallback(Handler.java:958)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at android.os.Handler.dispatchMessage(Handler.java:99)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at android.os.Looper.loopOnce(Looper.java:205)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at android.os.Looper.loop(Looper.java:294)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.detox.adapters.server.ActionsExecutor._init_$lambda$0(DetoxActionsDispatcher.kt:62)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.detox.adapters.server.ActionsExecutor.$r8$lambda$4eWOlZMqOQq2jbqiFbTCEP-pHOY(Unknown Source:0)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.detox.adapters.server.ActionsExecutor$$ExternalSyntheticLambda1.run(Unknown Source:4)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at java.lang.Thread.run(Thread.java:1012)
08:32:15.431 15767 15858 I DetoxActionHandlers: Caused by: androidx.test.espresso.NoActivityResumedException: No activities in stage RESUMED. Did you forget to launch the activity. (test.getActivity() or similar)?
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at dalvik.system.VMStack.getThreadStackTrace(Native Method)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at java.lang.Thread.getStackTrace(Thread.java:1841)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at androidx.test.espresso.base.EspressoExceptionHandler.handleSafely(EspressoExceptionHandler.java:34)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at androidx.test.espresso.base.EspressoExceptionHandler.handleSafely(EspressoExceptionHandler.java:26)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at androidx.test.espresso.base.DefaultFailureHandler$TypedFailureHandler.handle(DefaultFailureHandler.java:158)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:120)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:385)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at androidx.test.espresso.ViewInteraction.check(ViewInteraction.java:366)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	at com.wix.detox.espresso.DetoxAssertion.waitForAssertMatcher(DetoxAssertion.java:77)
08:32:15.431 15767 15858 I DetoxActionHandlers: 	... 20 more

More data, please!

Allure report

android-fail-image
android-fail-video.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant