Skip to content

Commit 2fa2ba3

Browse files
clean up finished
1 parent 42218ba commit 2fa2ba3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

l10n_CM/Unified/test_demo_cc_4_highlight.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ def test_cc_yellow_highlight(
4141
autofill_popup.click_autofill_form_option()
4242

4343
# Verify that all fields have the yellow highlight, except for the cc-csv field
44-
credit_card_autofill.verify_field_yellow_highlights()
44+
credit_card_autofill.verify_field_highlight()

modules/page_object_autofill.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,14 +172,14 @@ def verify_field_highlight(
172172
)
173173

174174
if fields_to_test is None:
175-
fields_to_test = self.field_mapping.keys()
175+
fields_to_test = self.fields
176176

177177
if region in ["DE", "FR"] and "address-level1" in fields_to_test:
178178
fields_to_test.remove("address-level1")
179179

180180
if expected_highlighted_fields is None:
181181
# By default, everything in fields_to_test is expected to be highlighted
182-
expected_highlighted_fields = fields_to_test[:]
182+
expected_highlighted_fields = fields_to_test
183183

184184
if extra_fields:
185185
fields_to_actually_check = fields_to_test + extra_fields

0 commit comments

Comments
 (0)