Device: Pixel 2 (Arm), Virtual, API Level 30 Video of Firebase test run can be found here: [view in firebase](https://console.firebase.google.com/project/moz-fenix/testlab/histories/bh.66b7091e15d53d45/matrices/9000795654531717728/details?stepId=bs.cde186f59ec8ccdf&testCaseId=3&tabId=video) Test Stack Trace: ```androidx.test.espresso.PerformException: Error performing 'single click' on view '(view.getContentDescription() to match resource id <2131952442>[mozac_feature_addons_install_addon_content_description] with value "Install Add-on" and is descendant of a view matching view.getId() is <2131296499/org.mozilla.fenix.debug:id/add_on_item> and (view.getParent() is an instance of android.view.ViewGroup and has a sibling matching (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: is "Tampermonkey")))'. 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.helpers.ViewInteractionKt.click(ViewInteraction.kt:18) at org.mozilla.fenix.ui.robots.SettingsSubMenuAddonsManagerRobot.clickInstallAddon(SettingsSubMenuAddonsManagerRobot.kt:94) at org.mozilla.fenix.ui.robots.SettingsSubMenuAddonsManagerRobot$installAddon$3.invoke(SettingsSubMenuAddonsManagerRobot.kt:164) at org.mozilla.fenix.ui.robots.SettingsSubMenuAddonsManagerRobot$installAddon$3.invoke(SettingsSubMenuAddonsManagerRobot.kt:163) at org.mozilla.fenix.ui.robots.ThreeDotMenuMainRobot$Transition.openAddonsManagerMenu(ThreeDotMenuMainRobot.kt:450) at org.mozilla.fenix.ui.robots.SettingsSubMenuAddonsManagerRobot.installAddon(SettingsSubMenuAddonsManagerRobot.kt:163) at org.mozilla.fenix.ui.SettingsAddonsTest$noCrashWithAddonInstalledTest$1.invoke(SettingsAddonsTest.kt:133) at org.mozilla.fenix.ui.SettingsAddonsTest$noCrashWithAddonInstalledTest$1.invoke(SettingsAddonsTest.kt:130) at org.mozilla.fenix.ui.robots.SettingsSubMenuAddonsManagerRobotKt.addonsMenu(SettingsSubMenuAddonsManagerRobot.kt:292) at org.mozilla.fenix.ui.SettingsAddonsTest.noCrashWithAddonInstalledTest(SettingsAddonsTest.kt:130) ... 34 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=2131296484, res-name=add_button, desc=Install Add-on, visibility=VISIBLE, width=126, height=126, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=true, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=false, is-selected=false, layout-params=android.widget.RelativeLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=938.0, y=86.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) ``` Updating the Addon being installed as a temporary workaround and update the addon install helper to dynamically install addon in the list instead of using hard-coded names.
Bug 1868858 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Device: Pixel 2 (Arm), Virtual, API Level 30 Video of Firebase test run can be found here: [view in firebase](https://console.firebase.google.com/project/moz-fenix/testlab/histories/bh.66b7091e15d53d45/matrices/9000795654531717728/details?stepId=bs.cde186f59ec8ccdf&testCaseId=3&tabId=video) Test Stack Trace: ```androidx.test.espresso.PerformException: Error performing 'single click' on view '(view.getContentDescription() to match resource id <2131952442>[mozac_feature_addons_install_addon_content_description] with value "Install Add-on" and is descendant of a view matching view.getId() is <2131296499/org.mozilla.fenix.debug:id/add_on_item> and (view.getParent() is an instance of android.view.ViewGroup and has a sibling matching (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: is "Tampermonkey")))'. 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.helpers.ViewInteractionKt.click(ViewInteraction.kt:18) at org.mozilla.fenix.ui.robots.SettingsSubMenuAddonsManagerRobot.clickInstallAddon(SettingsSubMenuAddonsManagerRobot.kt:94) at org.mozilla.fenix.ui.robots.SettingsSubMenuAddonsManagerRobot$installAddon$3.invoke(SettingsSubMenuAddonsManagerRobot.kt:164) at org.mozilla.fenix.ui.robots.SettingsSubMenuAddonsManagerRobot$installAddon$3.invoke(SettingsSubMenuAddonsManagerRobot.kt:163) at org.mozilla.fenix.ui.robots.ThreeDotMenuMainRobot$Transition.openAddonsManagerMenu(ThreeDotMenuMainRobot.kt:450) at org.mozilla.fenix.ui.robots.SettingsSubMenuAddonsManagerRobot.installAddon(SettingsSubMenuAddonsManagerRobot.kt:163) at org.mozilla.fenix.ui.SettingsAddonsTest$noCrashWithAddonInstalledTest$1.invoke(SettingsAddonsTest.kt:133) at org.mozilla.fenix.ui.SettingsAddonsTest$noCrashWithAddonInstalledTest$1.invoke(SettingsAddonsTest.kt:130) at org.mozilla.fenix.ui.robots.SettingsSubMenuAddonsManagerRobotKt.addonsMenu(SettingsSubMenuAddonsManagerRobot.kt:292) at org.mozilla.fenix.ui.SettingsAddonsTest.noCrashWithAddonInstalledTest(SettingsAddonsTest.kt:130) ... 34 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=2131296484, res-name=add_button, desc=Install Add-on, visibility=VISIBLE, width=126, height=126, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=true, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=false, is-selected=false, layout-params=android.widget.RelativeLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=938.0, y=86.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) ``` Updating the Addon being installed as a temporary workaround and update the addon install helper to dynamically install addon in the list instead of using hard-coded names.
Device: Pixel 2 (Arm), Virtual, API Level 30 Video of Firebase test run can be found here: [view in firebase](https://console.firebase.google.com/project/moz-fenix/testlab/histories/bh.66b7091e15d53d45/matrices/9000795654531717728/details?stepId=bs.cde186f59ec8ccdf&testCaseId=3&tabId=video) Test Stack Trace: ``` androidx.test.espresso.PerformException: Error performing 'single click' on view '(view.getContentDescription() to match resource id <2131952442>[mozac_feature_addons_install_addon_content_description] with value "Install Add-on" and is descendant of a view matching view.getId() is <2131296499/org.mozilla.fenix.debug:id/add_on_item> and (view.getParent() is an instance of android.view.ViewGroup and has a sibling matching (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: is "Tampermonkey")))'. 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.helpers.ViewInteractionKt.click(ViewInteraction.kt:18) at org.mozilla.fenix.ui.robots.SettingsSubMenuAddonsManagerRobot.clickInstallAddon(SettingsSubMenuAddonsManagerRobot.kt:94) at org.mozilla.fenix.ui.robots.SettingsSubMenuAddonsManagerRobot$installAddon$3.invoke(SettingsSubMenuAddonsManagerRobot.kt:164) at org.mozilla.fenix.ui.robots.SettingsSubMenuAddonsManagerRobot$installAddon$3.invoke(SettingsSubMenuAddonsManagerRobot.kt:163) at org.mozilla.fenix.ui.robots.ThreeDotMenuMainRobot$Transition.openAddonsManagerMenu(ThreeDotMenuMainRobot.kt:450) at org.mozilla.fenix.ui.robots.SettingsSubMenuAddonsManagerRobot.installAddon(SettingsSubMenuAddonsManagerRobot.kt:163) at org.mozilla.fenix.ui.SettingsAddonsTest$noCrashWithAddonInstalledTest$1.invoke(SettingsAddonsTest.kt:133) at org.mozilla.fenix.ui.SettingsAddonsTest$noCrashWithAddonInstalledTest$1.invoke(SettingsAddonsTest.kt:130) at org.mozilla.fenix.ui.robots.SettingsSubMenuAddonsManagerRobotKt.addonsMenu(SettingsSubMenuAddonsManagerRobot.kt:292) at org.mozilla.fenix.ui.SettingsAddonsTest.noCrashWithAddonInstalledTest(SettingsAddonsTest.kt:130) ... 34 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=2131296484, res-name=add_button, desc=Install Add-on, visibility=VISIBLE, width=126, height=126, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=true, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=false, is-selected=false, layout-params=android.widget.RelativeLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=false, x=938.0, y=86.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) ``` Updating the Addon being installed as a temporary workaround and update the addon install helper to dynamically install addon in the list instead of using hard-coded names.