Skip to content

Commit 73f887f

Browse files
additional object model changes
1 parent 6279950 commit 73f887f

18 files changed

+207
-262
lines changed

l10n_CM/Unified/test_demo_ad_1a_dropdown_name_org_fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ def test_dropdown_presence_name_organization(
3030
# Verify that the name and organization fields have the autofill dropdown present
3131
fields_to_test = ["name", "organization"]
3232

33-
address_autofill.verify_autofill_dropdown_addresses(
33+
address_autofill.verify_field_autofill_dropdown(
3434
region=region, fields_to_test=fields_to_test
3535
)

l10n_CM/Unified/test_demo_ad_1b_dropdown_address_fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ def test_dropdown_presence_address_field(
3535
"country",
3636
]
3737

38-
address_autofill.verify_autofill_dropdown_addresses(
38+
address_autofill.verify_field_autofill_dropdown(
3939
region=region, fields_to_test=fields_to_test
4040
)

l10n_CM/Unified/test_demo_ad_1c_dropdown_phone_email_fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ def test_dropdown_presence_email_phone_field(
2929

3030
fields_to_test = ["email", "tel"]
3131

32-
address_autofill.verify_autofill_dropdown_addresses(
32+
address_autofill.verify_field_autofill_dropdown(
3333
region=region, fields_to_test=fields_to_test
3434
)

l10n_CM/Unified/test_demo_ad_4a_highlight_name_org_fields.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ def test_address_yellow_highlight_on_name_organization_fields(
3434

3535
field_to_test = ["name", "organization"]
3636
# Verify the name and organization fields are highlighted
37-
address_autofill.verify_field_yellow_highlights(
38-
region,
37+
address_autofill.verify_field_highlight(
3938
fields_to_test=field_to_test,
4039
expected_highlighted_fields=field_to_test,
40+
region=region,
4141
)

l10n_CM/Unified/test_demo_ad_4b_highlight_address_fields.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ def test_address_yellow_highlight_address_fields(
4141
]
4242

4343
# Verify the address fields are highlighted
44-
address_autofill.verify_field_yellow_highlights(
45-
region, fields_to_test=field_to_test, expected_highlighted_fields=field_to_test
44+
address_autofill.verify_field_highlight(
45+
fields_to_test=field_to_test,
46+
expected_highlighted_fields=field_to_test,
47+
region=region,
4648
)

l10n_CM/Unified/test_demo_ad_4c_highlight_phone_email_fields.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ def test_address_yellow_highlight_address_fields(
3434

3535
field_to_test = ["email", "tel"]
3636
# Verify the address fields are highlighted
37-
address_autofill.verify_field_yellow_highlights(
38-
region, fields_to_test=field_to_test, expected_highlighted_fields=field_to_test
37+
address_autofill.verify_field_highlight(
38+
fields_to_test=field_to_test,
39+
expected_highlighted_fields=field_to_test,
40+
region=region,
3941
)

l10n_CM/Unified/test_demo_ad_5a_clear_name_org_fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ def test_demo_ad_clear_name_org(
3030

3131
# Loop through each field and perform the autofill test
3232
for field in fields_to_test:
33-
address_autofill.clear_and_verify(field, address_autofill_data)
33+
address_autofill.clear_and_verify(field, region)

l10n_CM/Unified/test_demo_ad_5b_clear_address_fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ def test_demo_ad_clear_address_fields(
3636

3737
# Loop through each field and perform the autofill test
3838
for field in fields_to_test:
39-
address_autofill.clear_and_verify(field, address_autofill_data)
39+
address_autofill.clear_and_verify(field, region)

l10n_CM/Unified/test_demo_ad_5c_clear_phone_email_fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ def test_demo_ad_clear_tel_email(
3030

3131
# Loop through each field and perform the autofill test
3232
for field in fields_to_test:
33-
address_autofill.clear_and_verify(field, address_autofill_data)
33+
address_autofill.clear_and_verify(field, region)

l10n_CM/Unified/test_demo_cc_1_dropdown.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ def test_dropdown_presence_credit_card(
3838
credit_card_fill_obj.open()
3939

4040
# Verify autofill dropdown is displayed only for the eligible fields
41-
credit_card_fill_obj.verify_autofill_dropdown_credit_card()
41+
credit_card_fill_obj.verify_field_autofill_dropdown()

0 commit comments

Comments
 (0)