Skip to content

Commit 24f60f2

Browse files
AndiAJmergify[bot]
authored andcommitted
Bug 1807295 - Fix verifyShowSearchSuggestionsToggleTest UI test
1 parent c411e77 commit 24f60f2

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

fenix/app/src/androidTest/java/org/mozilla/fenix/ui/SettingsSearchTest.kt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,10 @@ class SettingsSearchTest {
424424
fun verifyShowSearchSuggestionsToggleTest() {
425425
homeScreen {
426426
}.openSearch {
427+
// The Google related suggestions aren't always displayed on cold run
428+
// Bugzilla ticket: https://bugzilla.mozilla.org/show_bug.cgi?id=1813587
429+
clickSearchSelectorButton()
430+
selectTemporarySearchMethod("DuckDuckGo")
427431
typeSearch("mozilla ")
428432
verifySearchEngineSuggestionResults(
429433
activityTestRule,
@@ -438,6 +442,10 @@ class SettingsSearchTest {
438442
}.goBack {
439443
}.goBack {
440444
}.openSearch {
445+
// The Google related suggestions aren't always displayed on cold run
446+
// Bugzilla ticket: https://bugzilla.mozilla.org/show_bug.cgi?id=1813587
447+
clickSearchSelectorButton()
448+
selectTemporarySearchMethod("DuckDuckGo")
441449
typeSearch("mozilla")
442450
verifySuggestionsAreNotDisplayed(activityTestRule, "mozilla firefox")
443451
}

0 commit comments

Comments
 (0)