File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,4 +41,4 @@ def test_cc_yellow_highlight(
41
41
autofill_popup .click_autofill_form_option ()
42
42
43
43
# 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 ()
Original file line number Diff line number Diff line change @@ -172,14 +172,14 @@ def verify_field_highlight(
172
172
)
173
173
174
174
if fields_to_test is None :
175
- fields_to_test = self .field_mapping . keys ()
175
+ fields_to_test = self .fields
176
176
177
177
if region in ["DE" , "FR" ] and "address-level1" in fields_to_test :
178
178
fields_to_test .remove ("address-level1" )
179
179
180
180
if expected_highlighted_fields is None :
181
181
# 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
183
183
184
184
if extra_fields :
185
185
fields_to_actually_check = fields_to_test + extra_fields
You can’t perform that action at this time.
0 commit comments