Skip to content

Commit 134ebe3

Browse files
committed
Fix usage of autofill_popup
1 parent d4fc23d commit 134ebe3

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

l10n_CM/Unified/test_demo_ad_address_data_captured_in_doorhanger_and_stored.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ def test_demo_ad_address_data_captured_in_doorhanger_and_stored(
3434
# Containing Street Address field
3535
expected_street_add = address_autofill_data.street_address
3636

37-
address_autofill_popup.element_has_text(
38-
"address-doorhanger-street", expected_street_add
39-
)
37+
autofill_popup.element_has_text("address-doorhanger-street", expected_street_add)
4038

4139
# Containing City field
4240
expected_city = address_autofill_data.address_level_2
@@ -55,14 +53,12 @@ def test_demo_ad_address_data_captured_in_doorhanger_and_stored(
5553
else "address-doorhanger-zip"
5654
)
5755

58-
address_autofill_popup.element_has_text(zip_selector, expected_zip)
56+
autofill_popup.element_has_text(zip_selector, expected_zip)
5957

6058
# Containing Country field
6159
expected_country = address_autofill_data.country
6260

63-
address_autofill_popup.element_has_text(
64-
"address-doorhanger-country", expected_country
65-
)
61+
autofill_popup.element_has_text("address-doorhanger-country", expected_country)
6662

6763
# Click the "Save" button
6864
autofill_popup.click_doorhanger_button("save")

0 commit comments

Comments
 (0)