We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c04c9b commit cd221d4Copy full SHA for cd221d4
tests/address_bar_and_search/test_search_suggestions.py
@@ -9,7 +9,7 @@
9
10
# Constants
11
SEARCH_TERM_SPONSORED = "iphone"
12
-SEARCH_TERM_NON_SPONSORED = "wiki"
+SEARCH_TERM_NON_SPONSORED = "wikimedia"
13
RETRY_LIMIT = 5
14
SECONDS = 3
15
@@ -72,7 +72,5 @@ def test_search_suggests_enabled(driver: Firefox):
72
with driver.context(driver.CONTEXT_CHROME):
73
nav.get_element("firefox-suggest")
74
titles = nav.get_elements("suggestion-titles")
75
- found_non_sponsored = any(
76
- "Wikipedia - wiki.phtml" in title.text for title in titles
77
- )
+ found_non_sponsored = any("Wikipedia" in title.text for title in titles)
78
assert found_non_sponsored, "Non-sponsored suggestion not found"
0 commit comments