Skip to content

Commit

Permalink
Bug 1807295 - Fix verifyShowSearchSuggestionsToggleTest UI test
Browse files Browse the repository at this point in the history
  • Loading branch information
AndiAJ authored and mergify[bot] committed Jan 5, 2024
1 parent c411e77 commit 24f60f2
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,10 @@ class SettingsSearchTest {
fun verifyShowSearchSuggestionsToggleTest() {
homeScreen {
}.openSearch {
// The Google related suggestions aren't always displayed on cold run
// Bugzilla ticket: https://bugzilla.mozilla.org/show_bug.cgi?id=1813587
clickSearchSelectorButton()
selectTemporarySearchMethod("DuckDuckGo")
typeSearch("mozilla ")
verifySearchEngineSuggestionResults(
activityTestRule,
Expand All @@ -438,6 +442,10 @@ class SettingsSearchTest {
}.goBack {
}.goBack {
}.openSearch {
// The Google related suggestions aren't always displayed on cold run
// Bugzilla ticket: https://bugzilla.mozilla.org/show_bug.cgi?id=1813587
clickSearchSelectorButton()
selectTemporarySearchMethod("DuckDuckGo")
typeSearch("mozilla")
verifySuggestionsAreNotDisplayed(activityTestRule, "mozilla firefox")
}
Expand Down

0 comments on commit 24f60f2

Please sign in to comment.