mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-15 18:12:54 +00:00
Bug 1874662 - Fix flaky closeAllTabsTest UI tests
This commit is contained in:
parent
bee6feaa0f
commit
95b74cd8c6
@ -144,7 +144,12 @@ class HomeScreenRobot {
|
||||
}
|
||||
|
||||
fun verifyTabCounter(numberOfOpenTabs: String) =
|
||||
assertUIObjectExists(tabCounter(numberOfOpenTabs))
|
||||
onView(
|
||||
allOf(
|
||||
withId(R.id.counter_text),
|
||||
withText(numberOfOpenTabs),
|
||||
),
|
||||
).check(matches(isDisplayed()))
|
||||
|
||||
fun verifyWallpaperImageApplied(isEnabled: Boolean) =
|
||||
assertUIObjectExists(itemWithResId("$packageName:id/wallpaperImageView"), exists = isEnabled)
|
||||
|
Loading…
Reference in New Issue
Block a user