Skip to content

Commit 6f9bbc6

Browse files
Hani YacoubHani Yacoub
authored andcommitted
cm newbalance de
1 parent 35edb80 commit 6f9bbc6

File tree

7 files changed

+5297
-3
lines changed

7 files changed

+5297
-3
lines changed

TEST_EXIT_CODE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1

l10n_CM/Unified/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ def get_html_files(live_site, region):
4242

4343
@pytest.fixture()
4444
def region():
45-
return os.environ.get("FX_REGION", "US")
45+
return os.environ.get("FX_REGION", "DE")
4646

4747

4848
@pytest.fixture()
4949
def live_site():
50-
return os.environ.get("CM_SITE", "demo")
50+
return os.environ.get("CM_SITE", "newbalance")
5151

5252

5353
@pytest.fixture()
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"url": "http://127.0.0.1:8080/newbalance_ad.html",
3+
"field_mapping": {
4+
"given_name":"94d5b3c4-499a-49e8-80a6-284b407c14d2",
5+
"family_name":"66fdc090-e5a8-42c7-8933-fc90d6a66798",
6+
"street_address":"2e77b7bc-752e-48dc-98a7-42371399d3ed",
7+
"address_level_2":"74403655-6c14-4f3a-bae9-4e0ac7db4c08",
8+
"postal_code":"3587a8f1-2639-4cb1-94be-16db11d1f291",
9+
"telephone": "36708c9a-2675-46f5-bef2-eb7e87460b8c",
10+
"email": "59b9f19d-2422-40ec-b1ea-e4e557e50512"
11+
},
12+
"form_field": "*[data-moz-autofill-inspect-id='{name}']",
13+
"fields": [
14+
"94d5b3c4-499a-49e8-80a6-284b407c14d2",
15+
"66fdc090-e5a8-42c7-8933-fc90d6a66798",
16+
"2e77b7bc-752e-48dc-98a7-42371399d3ed",
17+
"74403655-6c14-4f3a-bae9-4e0ac7db4c08",
18+
"3587a8f1-2639-4cb1-94be-16db11d1f291",
19+
"36708c9a-2675-46f5-bef2-eb7e87460b8c",
20+
"59b9f19d-2422-40ec-b1ea-e4e557e50512"
21+
]
22+
}
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/newbalance_cc.html",
3+
"field_mapping": {
4+
"card_number": "2f4676c4-2ce0-4a97-a0cc-fb377d836441",
5+
"expiration_date": "060f9552-da63-46a8-a820-a671c185776c",
6+
"cvv": "a3ee2068-148e-4b0a-a67b-f401e0930f39"
7+
},
8+
"form_field": "*[data-moz-autofill-inspect-id='{name}']",
9+
"skip": "True",
10+
"fields": [
11+
"2f4676c4-2ce0-4a97-a0cc-fb377d836441",
12+
"060f9552-da63-46a8-a820-a671c185776c",
13+
"a3ee2068-148e-4b0a-a67b-f401e0930f39"
14+
]
15+
}

l10n_CM/run_l10n.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
valid_flags = {"--run-headless", "-n", "--reruns", "--fx-executable", "--ci"}
1414
flag_with_parameter = {"-n", "--reruns"}
1515
valid_region = {"US", "CA", "DE", "FR"}
16-
valid_sites = {"demo", "amazon", "walmart", "mediamarkt", "lowes", "etsy", "calvinklein", "bestbuy"}
16+
valid_sites = {"demo", "amazon", "walmart", "mediamarkt", "lowes", "etsy", "calvinklein", "bestbuy", "newbalance"}
1717
live_sites = []
1818

1919
LOCALHOST = "127.0.0.1"

l10n_CM/sites/newbalance/DE/newbalance_ad.html

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

l10n_CM/sites/newbalance/DE/newbalance_cc.html

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

0 commit comments

Comments
 (0)