Skip to content

Commit 73f653c

Browse files
Merge branch 'main' into anca/cm-ca-staples
2 parents 487cfb8 + 7231194 commit 73f653c

File tree

8 files changed

+484
-4
lines changed

8 files changed

+484
-4
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"url": "http://127.0.0.1:8080/duka_ad.html",
3+
"field_mapping": {
4+
"given_name":"c0fd584b-ff6c-4805-93a4-12eaf7195c89",
5+
"family_name":"672a6e9a-5923-4a74-9977-1ad535a2f31f",
6+
"organization": "b3f7e7ef-7711-46c1-b469-163fc4bd1858",
7+
"street_address":"3c509d39-e8b2-4b65-8afe-7f2f70bde4f1",
8+
"postal_code":"1fe5e273-6087-44ae-9968-7a6724606864",
9+
"address_level_2": "f6a2144e-50e7-46db-a01f-d80aa098fc08",
10+
"country": "65ba7dc0-54ec-40b8-8879-f5dbe05c8303",
11+
"telephone": "8758cbc6-287e-40a7-b94e-88b35da48d76"
12+
13+
},
14+
"form_field": "*[data-moz-autofill-inspect-id='{name}']",
15+
"fields": [
16+
"c0fd584b-ff6c-4805-93a4-12eaf7195c89",
17+
"672a6e9a-5923-4a74-9977-1ad535a2f31f",
18+
"b3f7e7ef-7711-46c1-b469-163fc4bd1858",
19+
"3c509d39-e8b2-4b65-8afe-7f2f70bde4f1",
20+
"1fe5e273-6087-44ae-9968-7a6724606864",
21+
"f6a2144e-50e7-46db-a01f-d80aa098fc08",
22+
"65ba7dc0-54ec-40b8-8879-f5dbe05c8303",
23+
"8758cbc6-287e-40a7-b94e-88b35da48d76"
24+
25+
]
26+
}
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/newegg_cc.html",
3+
"field_mapping": {
4+
"card_number": "11111111-aaaa-bbbb-cccc-000000000000",
5+
"expiration_date": "22222222-bbbb-cccc-dddd-111111111111",
6+
"cvv": "33333333-cccc-dddd-eeee-222222222222"
7+
},
8+
"form_field": "*[data-moz-autofill-inspect-id='{name}']",
9+
"skip": "True",
10+
"fields": [
11+
"11111111-aaaa-bbbb-cccc-000000000000",
12+
"22222222-bbbb-cccc-dddd-111111111111",
13+
"33333333-cccc-dddd-eeee-222222222222"
14+
]
15+
}

l10n_CM/region/PL.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"region": "PL",
33
"sites": [
44
"demo",
5-
"zalando"
5+
"zalando",
6+
"duka"
67
],
78
"tests": [
89
]

l10n_CM/run_l10n.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"diy",
4949
"tiffany",
5050
"assos",
51+
"duka",
5152
}
5253

5354
loaded_valid_sites = valid_l10n_mappings().keys()

l10n_CM/sites/duka/PL/duka_ad.html

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

l10n_CM/sites/duka/PL/duka_cc.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Title</title>
6+
</head>
7+
<body>
8+
9+
</body>
10+
</html>

modules/util.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ def __init__(self):
108108
"Germany": "Deutschland",
109109
"Italy": "Italia",
110110
"Spain": "España",
111+
"Poland": "Polska",
111112
}
112113
self.fake = None
113114
self.locale = None
@@ -561,7 +562,7 @@ def normalize_regional_phone_numbers(self, phone: str, region: str) -> str:
561562
"GB": "44",
562563
"IT": "39",
563564
"PL": "48",
564-
"ES": "34"
565+
"ES": "34",
565566
}
566567

567568
# Sub out anything that matches this regex statement with an empty string to get rid of extensions in generated phone numbers

tests/address_bar_and_search/test_search_suggestions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
from modules.util import BrowserActions
77

88
# Constants
9-
SEARCH_TERM_SPONSORED = "iphone"
9+
SEARCH_TERM_SPONSORED = "xbox one"
1010
SEARCH_TERM_NON_SPONSORED = "wiki"
11-
RETRY_LIMIT = 5
11+
RETRY_LIMIT = 10
1212

1313

1414
@pytest.fixture()

0 commit comments

Comments
 (0)