Skip to content

Commit cd221d4

Browse files
authored
adjust search term (#617)
1 parent 2c04c9b commit cd221d4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/address_bar_and_search/test_search_suggestions.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# Constants
1111
SEARCH_TERM_SPONSORED = "iphone"
12-
SEARCH_TERM_NON_SPONSORED = "wiki"
12+
SEARCH_TERM_NON_SPONSORED = "wikimedia"
1313
RETRY_LIMIT = 5
1414
SECONDS = 3
1515

@@ -72,7 +72,5 @@ def test_search_suggests_enabled(driver: Firefox):
7272
with driver.context(driver.CONTEXT_CHROME):
7373
nav.get_element("firefox-suggest")
7474
titles = nav.get_elements("suggestion-titles")
75-
found_non_sponsored = any(
76-
"Wikipedia - wiki.phtml" in title.text for title in titles
77-
)
75+
found_non_sponsored = any("Wikipedia" in title.text for title in titles)
7876
assert found_non_sponsored, "Non-sponsored suggestion not found"

0 commit comments

Comments
 (0)