Open Bug 1830285 Opened 1 years ago Updated 20 days ago

Intermittent UI test failure - < PwaTest.externalLinkPWATest >

Categories

(Fenix :: UI Tests, defect, P3)

Firefox 114
All
Android
defect

Tracking

(firefox113 unaffected, firefox114 wontfix, firefox115 unaffected, firefox116 wontfix, firefox123 unaffected, firefox124 unaffected, firefox125 wontfix, firefox128 unaffected, firefox129 unaffected, firefox130 wontfix, firefox131 unaffected, firefox132 affected)

REOPENED
Tracking Status
firefox113 --- unaffected
firefox114 --- wontfix
firefox115 --- unaffected
firefox116 --- wontfix
firefox123 --- unaffected
firefox124 --- unaffected
firefox125 --- wontfix
firefox128 --- unaffected
firefox129 --- unaffected
firefox130 --- wontfix
firefox131 --- unaffected
firefox132 --- affected

People

(Reporter: ajoltan, Unassigned)

Details

(Keywords: intermittent-failure)

Firebase Test Run: Firebase link

Stacktrace:

androidx.test.espresso.PerformException: Error performing 'single click' on view 'view.getContentDescription() is "Menu"'.
at androidx.test.espresso.PerformException$Builder.build(PerformException.java:1)
at androidx.test.espresso.base.PerformExceptionHandler.handleSafely(PerformExceptionHandler.java:8)
at androidx.test.espresso.base.PerformExceptionHandler.handleSafely(PerformExceptionHandler.java:9)
at androidx.test.espresso.base.DefaultFailureHandler$TypedFailureHandler.handle(DefaultFailureHandler.java:4)
at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:5)
at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:8)
at androidx.test.espresso.ViewInteraction.desugaredPerform(ViewInteraction.java:11)
at androidx.test.espresso.ViewInteraction.perform(ViewInteraction.java:8)
at org.mozilla.fenix.ui.robots.BrowserRobot$Transition.openThreeDotMenu(BrowserRobot.kt:823)
at org.mozilla.fenix.ui.robots.BrowserRobotKt.clickPageObject(BrowserRobot.kt:1068)
at org.mozilla.fenix.ui.PwaTest$externalLinkPWATest$5.invoke(PwaTest.kt:51)
at org.mozilla.fenix.ui.PwaTest$externalLinkPWATest$5.invoke(PwaTest.kt:50)
at org.mozilla.fenix.ui.robots.AddToHomeScreenRobot$Transition.openHomeScreenShortcut(AddToHomeScreenRobot.kt:77)
at org.mozilla.fenix.ui.PwaTest.externalLinkPWATest(PwaTest.kt:50)
... 32 trimmed
Caused by: java.lang.RuntimeException: Action will not be performed because the target view does not match one or more of the following constraints:
(view has effective visibility <VISIBLE> and view.getGlobalVisibleRect() covers at least <90> percent of the view's area)
Target view: "AppCompatImageView{id=2131296991, res-name=icon, desc=Menu, visibility=VISIBLE, width=0, height=0, 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=true, is-selected=false, layout-params=android.widget.FrameLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}"
at androidx.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:20)
at androidx.test.espresso.ViewInteraction.-$$Nest$mdoPerform(Unknown Source:0)
at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:7)
at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

Build: 4/27 Main

Closing as it didn't fail for a month.

► 6/16 Firebase link

java.lang.AssertionError at org.mozilla.fenix.ui.robots.BrowserRobot.verifyNotificationDotOnMainMenu(BrowserRobot.kt:287)

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE

► 2/21 Firebase link

androidx.test.espresso.NoActivityResumedException: No activities in stage RESUMED. Did you forget to launch the activity. (test.getActivity() or similar)? at dalvik.system.VMStack.getThreadStackTrace(Native Method) at java.lang.Thread.getStackTrace(Thread.java:1736) at androidx.test.espresso.base.EspressoExceptionHandler.handleSafely(EspressoExceptionHandler.java:2) at androidx.test.espresso.base.EspressoExceptionHandler.handleSafely(EspressoExceptionHandler.java:1) at androidx.test.espresso.base.DefaultFailureHandler$TypedFailureHandler.handle(DefaultFailureHandler.java:4) at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:5) at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:8) at androidx.test.espresso.ViewInteraction.desugaredPerform(ViewInteraction.java:11) at androidx.test.espresso.ViewInteraction.perform(ViewInteraction.java:8) at org.mozilla.fenix.ui.robots.BrowserRobot$Transition.openThreeDotMenu(BrowserRobot.kt:999)

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 1 year ago7 months ago
Resolution: --- → INCOMPLETE

► 7/31 mozilla-central Firebase link

androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[CONTAINS_TEXT=add automatically] at androidx.test.uiautomator.UiObject.click(UiObject.java:378) at org.mozilla.fenix.ui.robots.AddToHomeScreenRobot.clickAddAutomaticallyButton(AddToHomeScreenRobot.kt:83) at org.mozilla.fenix.ui.PwaTest$externalLinkPWATest$4.invoke(PwaTest.kt:43) at org.mozilla.fenix.ui.PwaTest$externalLinkPWATest$4.invoke(PwaTest.kt:42) at org.mozilla.fenix.ui.robots.ThreeDotMenuMainRobot$Transition.clickInstall(ThreeDotMenuMainRobot.kt:586) at org.mozilla.fenix.ui.PwaTest.externalLinkPWATest(PwaTest.kt:42)

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 7 months ago2 months ago
Resolution: --- → INCOMPLETE

► 9/20 mozilla-central Firebase link

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
You need to log in before you can comment on or make changes to this bug.