Skip to content

Commit 2adffc4

Browse files
authored
Merge branch 'main' into anca/cm-cleanup
2 parents a15311f + dbcfbb3 commit 2adffc4

File tree

11 files changed

+67
-6
lines changed

11 files changed

+67
-6
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"url": "http://127.0.0.1:8080/gapcanada_ad.html",
3+
"field_mapping": {
4+
"name": "c2f93d9b-89f2-4ddd-b65f-253ebb30ba48",
5+
"street_address": "394bd19c-d1a5-4e1b-9293-9808291517d9",
6+
"address_level_2": "62abf981-6478-44bd-9391-a16460552444",
7+
"postal_code": "ff8206c2-2a7d-42a3-bcea-c0c4567c6fb3",
8+
"telephone": "cdb38050-4b23-4abc-bcfe-528fc1641da8"
9+
},
10+
11+
"form_field": "*[data-moz-autofill-inspect-id='{given_name}']",
12+
"fields": [
13+
"c2f93d9b-89f2-4ddd-b65f-253ebb30ba48",
14+
"394bd19c-d1a5-4e1b-9293-9808291517d9",
15+
"62abf981-6478-44bd-9391-a16460552444",
16+
"ff8206c2-2a7d-42a3-bcea-c0c4567c6fb3",
17+
"cdb38050-4b23-4abc-bcfe-528fc1641da8"
18+
]
19+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"url": "http://127.0.0.1:8080/gapcanada_cc.html",
3+
"field_mapping": {
4+
"card_number": "c9e8eb6a-d1bd-4385-a0a1-60f9cd67a230",
5+
"expiration_date": "a340db3d-08ab-47b3-aa76-1a97f6ff2f9b",
6+
"cvv": "3726fd34-acd2-4565-8160-0cad2577faf3"
7+
},
8+
9+
"form_field": "*[data-moz-autofill-inspect-id='{name}']",
10+
"fields": [
11+
"c9e8eb6a-d1bd-4385-a0a1-60f9cd67a230",
12+
"a340db3d-08ab-47b3-aa76-1a97f6ff2f9b",
13+
"3726fd34-acd2-4565-8160-0cad2577faf3"
14+
]
15+
}

l10n_CM/region/CA.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"demo",
99
"ebay",
1010
"etsy",
11+
"gapcanada"
1112
"movieposters",
1213
"newbalance",
1314
"staples",

l10n_CM/run_l10n.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"etsy",
4141
"euronics",
4242
"fnac",
43+
"gapcanada",
4344
"giesswein",
4445
"hofer",
4546
"holzkern",
@@ -65,7 +66,7 @@
6566
"yellowkorner",
6667
"zalando",
6768
"zara",
68-
"zooplus",
69+
"zooplus"
6970
}
7071

7172
loaded_valid_sites = valid_l10n_mappings().keys()

l10n_CM/sites/gapcanada/CA/gapcanada_ad.html

Lines changed: 11 additions & 0 deletions
Large diffs are not rendered by default.

l10n_CM/sites/gapcanada/CA/gapcanada_cc.html

Lines changed: 11 additions & 0 deletions
Large diffs are not rendered by default.

tests/address_bar_and_search/test_default_search_provider_change_awesome_bar.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
from platform import system
2+
13
import pytest
24
from selenium.webdriver import Firefox
35

46
from modules.browser_object import Navigation
57
from modules.page_object import AboutPrefs
68

7-
WAIT_TIMEOUT = 10
89
SEARCH_ENGINE = "DuckDuckGo"
910
EXPECTED_PLACEHOLDER = f"Search with {SEARCH_ENGINE} or enter address"
1011

@@ -14,7 +15,7 @@ def test_case():
1415
return "3028795"
1516

1617

17-
@pytest.mark.unstable(reason="Bug 1983836")
18+
@pytest.mark.skipif(system().lower().startswith("win"), reason="Bug 1983836")
1819
@pytest.mark.ci
1920
def test_default_search_provider_change_awesome_bar(driver: Firefox):
2021
"""

tests/preferences/test_lang_pack_changed_from_about_prefs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ def add_to_prefs_list():
2828
return [("services.sync.prefs.sync-seen.intl.accept_languages", True)]
2929

3030

31-
@pytest.mark.unstable(reason="Bug 1978598")
3231
def test_lang_pack_changed_from_about_prefs(driver: Firefox):
3332
"""
3433
C1771617 - The language can be changed in about:preferences.

tests/security_and_privacy/test_downloads_from_private_not_leaked.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ def delete_files_regex_string():
2828
return r"opm.*\.pdf"
2929

3030

31-
@pytest.mark.unstable(reason="Bug 1983849")
3231
@pytest.mark.slow
3332
@pytest.mark.audio
3433
def test_downloads_from_private_not_leaked(driver: Firefox, delete_files, screenshot):

tests/tabs/conftest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ def suite_id():
99
@pytest.fixture()
1010
def prefs_list(add_to_prefs_list: dict):
1111
"""List of prefs to send to main conftest.py driver fixture"""
12-
prefs = [("browser.tabs.delayHidingAudioPlayingIconMS", "200")]
12+
prefs = [
13+
("browser.tabs.delayHidingAudioPlayingIconMS", "200"),
14+
("browser.toolbars.bookmarks.visibility", "always"),
15+
]
1316
prefs.extend(add_to_prefs_list)
1417
return prefs
1518

0 commit comments

Comments
 (0)