No issue: Fix add-on name check in UI test

oana.horvath 1 year ago committed by mergify[bot]
parent 0c15e9f723
commit 8ab6826d4a

@ -137,8 +137,8 @@ class ThreeDotMenuMainRobot {
for (i in 1..RETRY_COUNT) { for (i in 1..RETRY_COUNT) {
try { try {
assertTrue( assertTrue(
"Addon not listed in the Add-ons menu", "Addon not listed in the Add-ons sub-menu",
mDevice.findObject(UiSelector().text(addonName)).waitForExists(waitingTime), mDevice.findObject(UiSelector().textContains(addonName)).waitForExists(waitingTime),
) )
break break
} catch (e: AssertionError) { } catch (e: AssertionError) {

Loading…
Cancel
Save