mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
Bug 1807287 - Fix flaky toggleShowClipboardSuggestionsTest UI test
This commit is contained in:
parent
5ae3c08bba
commit
11495e43b4
@ -226,8 +226,11 @@ class SettingsRobot {
|
||||
|
||||
fun openSearchSubMenu(interact: SettingsSubMenuSearchRobot.() -> Unit):
|
||||
SettingsSubMenuSearchRobot.Transition {
|
||||
fun searchEngineButton() = onView(withText("Search"))
|
||||
searchEngineButton().click()
|
||||
itemWithText(getStringResource(R.string.preferences_search))
|
||||
.also {
|
||||
it.waitForExists(waitingTimeShort)
|
||||
it.click()
|
||||
}
|
||||
|
||||
SettingsSubMenuSearchRobot().interact()
|
||||
return SettingsSubMenuSearchRobot.Transition()
|
||||
|
Loading…
Reference in New Issue
Block a user