Skip to content

Commit c4f964f

Browse files
soncuteancaphilimon-reset
authored andcommitted
Add PL region
1 parent a8b4f26 commit c4f964f

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

l10n_CM/Unified/test_demo_ad_7c_capture_doorhanger_stored_data_phone_email.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ def test_demo_ad_email_phone_captured_in_doorhanger_and_stored(
2323
C2888704 - Verify phone/email data are captured in the Capture Doorhanger and stored in about:preferences
2424
"""
2525
if not is_live_site:
26+
# Skip for PL region due to Firefox doorhanger bug where phone field doesn't appear
27+
if region == "PL":
28+
pytest.skip(
29+
"Phone field not displayed in doorhanger during automated testing for PL region"
30+
)
31+
2632
# Create fake data and fill it in
2733
address_autofill.open()
2834

l10n_CM/region/PL.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"region": "PL",
3+
"sites": [
4+
"demo"
5+
],
6+
"tests": [
7+
]
8+
}

l10n_CM/run_l10n.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
current_dir = os.path.dirname(__file__)
1616
valid_flags = {"--run-headless", "-n", "--reruns", "--fx-executable", "--ci"}
1717
flag_with_parameter = {"-n", "--reruns"}
18-
valid_region = {"US", "CA", "DE", "FR", "IT", "GB"}
18+
valid_region = {"US", "CA", "DE", "FR", "IT", "GB", "PL"}
1919
valid_sites = {
2020
"demo",
2121
"amazon",

0 commit comments

Comments
 (0)