No issue: Fix add-on name check in UI test (#28321)

(cherry picked from commit 8ab6826d4a)

Co-authored-by: oana.horvath <ohorvath@mozilla.com>
fork
mergify[bot] 1 year ago committed by GitHub
parent 5d96ebbc62
commit 992f3fac33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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) {

Loading…
Cancel
Save