diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/robots/ThreeDotMenuMainRobot.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/robots/ThreeDotMenuMainRobot.kt index 1e5f6f114..4e95e10e9 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/robots/ThreeDotMenuMainRobot.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/robots/ThreeDotMenuMainRobot.kt @@ -128,8 +128,8 @@ class ThreeDotMenuMainRobot { for (i in 1..RETRY_COUNT) { try { assertTrue( - "Addon not listed in the Add-ons menu", - mDevice.findObject(UiSelector().text(addonName)).waitForExists(waitingTime), + "Addon not listed in the Add-ons sub-menu", + mDevice.findObject(UiSelector().textContains(addonName)).waitForExists(waitingTime), ) break } catch (e: AssertionError) {