Skip to content

Commit 1bc74c7

Browse files
Hani YacoubHani Yacoub
authored andcommitted
change locator name
1 parent 385ccc3 commit 1bc74c7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

modules/data/navigation.components.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
]
149149
},
150150

151-
"firefox-suggestion": {
151+
"sponsored-suggestion": {
152152
"selectorData": "urlbarView-row-body-description",
153153
"strategy": "class",
154154
"groups": []

tests/address_bar_and_search/test_preferences_all_toggles_enabled.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ def test_preferences_all_toggles_enabled(driver: Firefox):
3535
u.search("iphone", with_enter=False)
3636
time.sleep(20)
3737
with (driver.context(driver.CONTEXT_CHROME)):
38-
assert nav.get_elements("firefox-suggestion")
38+
assert nav.get_elements("sponsored-suggestion")
3939

4040
# Check if a non-sponsored suggestion is displayed
4141
u.search("wiki", with_enter=False)
4242
with (driver.context(driver.CONTEXT_CHROME)):
43-
assert not nav.get_elements("firefox-suggestion")
43+
assert not nav.get_elements("sponsored-suggestion")

0 commit comments

Comments
 (0)