Skip to content

Commit 4f6041c

Browse files
authored
Merge pull request #546 from mozilla/tracy/fix_geolocation_tests
tracy/ Change selector to class strategy
2 parents b3e3fff + 80b01a7 commit 4f6041c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

SELECTOR_INFO.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -2965,11 +2965,8 @@ Location: Autoplay doorhanger
29652965
Path to .json: modules/data/navigation.components.json
29662966
```
29672967
```
2968-
Selector Name: autoplay-permission
2969-
Selector Data: blocked-permissions-container
2970-
Description: Autoplay permission
29712968
Selector Name: checkbox-remember-this-decision
2972-
Selector Data: "label.checkbox-label[flex='1']"
2969+
Selector Data: "popup-notification-checkbox"
29732970
Description: Remember this decision checkbox
29742971
Location: Geolocation prompt container in Address bar
29752972
Path to .json: modules/data/navigation.components.json

modules/data/navigation.components.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,8 @@
433433
},
434434

435435
"checkbox-remember-this-decision": {
436-
"selectorData": "label.checkbox-label[flex='1']",
437-
"strategy": "css",
436+
"selectorData": "popup-notification-checkbox",
437+
"strategy": "class",
438438
"groups": []
439439
},
440440

tests/address_bar_and_search/test_addon_suggestion.py

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ def test_case():
1212
return "2234714"
1313

1414

15+
@pytest.mark.xfail(
16+
reason="Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=1958038"
17+
)
1518
def test_addon_suggestion_based_on_search_input(driver: Firefox):
1619
"""
1720
C2234714: Test that add-on suggestions match the URL bar input.

0 commit comments

Comments
 (0)