Class com.nextcloud.client.FileDisplayActivityScreenshotIT
Failed tests
showMediaThenAllFiles
androidx.test.espresso.PerformException: Error performing 'click on menu item with id' on view 'view.getId() is <2131362726/com.nextcloud.client:id/nav_view>'.
at androidx.test.espresso.PerformException$Builder.build(PerformException.java:86)
at androidx.test.espresso.base.PerformExceptionHandler.handleSafely(PerformExceptionHandler.java:56)
at androidx.test.espresso.base.PerformExceptionHandler.handleSafely(PerformExceptionHandler.java:31)
at androidx.test.espresso.base.DefaultFailureHandler$TypedFailureHandler.handle(DefaultFailureHandler.java:158)
at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:120)
at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:385)
at androidx.test.espresso.ViewInteraction.desugaredPerform(ViewInteraction.java:212)
at androidx.test.espresso.ViewInteraction.perform(ViewInteraction.java:140)
at com.nextcloud.client.FileDisplayActivityScreenshotIT.showMediaThenAllFiles(FileDisplayActivityScreenshotIT.kt:89)
... 35 trimmed
Suppressed: java.lang.AssertionError: Activity never becomes requested state "[DESTROYED]" (last lifecycle transition = "PAUSED")
at androidx.test.core.app.ActivityScenario.waitForActivityToBecomeAnyOf(ActivityScenario.java:454)
at androidx.test.core.app.ActivityScenario.moveToState(ActivityScenario.java:689)
at androidx.test.core.app.ActivityScenario.close(ActivityScenario.java:421)
at kotlin.io.CloseableKt.closeFinally(Closeable.kt:50)
at com.nextcloud.client.FileDisplayActivityScreenshotIT.showMediaThenAllFiles(FileDisplayActivityScreenshotIT.kt:73)
Caused by: java.lang.RuntimeException: Action will not be performed because the target view does not match one or more of the following constraints:
(is assignable from class <class com.google.android.material.navigation.NavigationView> and view has effective visibility <VISIBLE> and (view has effective visibility <VISIBLE> and view.getGlobalVisibleRect() covers at least <90> percent of the view's area))
Target view: "NavigationView{id=2131362726, res-name=nav_view, visibility=VISIBLE, width=360, height=809, has-focus=false, has-focusable=true, 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=androidx.drawerlayout.widget.DrawerLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=-359.0, y=0.0, child-count=2}"
at androidx.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:287)
at androidx.test.espresso.ViewInteraction.-$$Nest$mdoPerform(Unknown Source:0)
at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:193)
at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:182)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
Tests
| Test |
emulator-5554 - 10 |
| showMediaThenAllFiles |
failed (48.639s) |