Skip to content

Commit 923a011

Browse files
Merge pull request #728 from mozilla/philimon/remove_calvinklein
Philimon/remove_skip_in_calvinklein_US
2 parents eb4354c + d54cdf4 commit 923a011

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

choose_l10n_ci_set.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ def select_l10n_mappings(beta_version):
8989
beta_split = (beta_version % 3) + 1
9090
if os.path.exists(f"l10n_CM/beta_run_splits/l10n_split_{beta_split}.json"):
9191
with open(f"l10n_CM/beta_run_splits/l10n_split_{beta_split}.json", "r") as f:
92-
return json.load(f)
92+
current_split_mappings = {k: set(v) for k, v in json.load(f).items()}
93+
return current_split_mappings
9394
else:
9495
return valid_l10n_mappings()
9596

l10n_CM/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ The harness relies on several configuration files:
3131
]
3232
}
3333
```
34+
**NOTE**: If both the address and credit card tests are skipped for the site, do not add it to the region files.
35+
3436
- **Site Test Configuration**: Located in `constants/{site_name}.json` or `constants/{site_name}/{region}.json`, defining site-specific test configurations and skipped tests. Here we map the attributes for either `AutofillAddressBase` or `CreditCardBase` to the corresponding selectors.
3537

3638
```aiignore

l10n_CM/constants/calvinklein/US/calvinklein_ad.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
"email": "0c994dc2-4e0b-4734-8582-74ce9a1bff55",
1111
"telephone": "e1f86567-396f-473c-8666-47447f52d722"
1212
},
13-
1413
"form_field": "*[data-moz-autofill-inspect-id='{given_name}']",
15-
"skip": "True",
1614
"fields": [
1715
"5d2af5cb-8f6d-4fdc-8ae5-21c7e5e97a43",
1816
"82900c67-963c-40f8-b0ef-c986a2accc43",

l10n_CM/run_l10n.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"thenorthface",
5555
"zooplus",
5656
"zara",
57-
"cocolita"
57+
"cocolita",
5858
}
5959

6060
loaded_valid_sites = valid_l10n_mappings().keys()

tests/tabs/test_open_new_bg_tab_via_mouse_and_keyboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ def test_open_new_bg_tab_via_mouse_and_keyboard(driver: Firefox):
3535
example.wait_for_num_tabs(2)
3636
example.switch_to_new_tab()
3737

38-
assert driver.current_url == test_url
38+
assert driver.current_url == test_url

0 commit comments

Comments
 (0)