Skip to content

Commit 369840c

Browse files
Merge pull request #506 from mozilla/vs/fix-autofill-cc-test
vs/fixed-autofill-test
2 parents fe0c3be + 94b060a commit 369840c

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

tests/form_autofill/test_autofill_credit_card.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,17 @@ def test_case():
1111
return "122405"
1212

1313

14-
@pytest.mark.unstable
1514
def test_autofill_credit_card(driver: Firefox):
1615
"""
1716
C122405, tests that after filling autofill and disabling cc info it appears in panel
1817
"""
1918
util = Utilities()
2019

2120
credit_card_fill_obj = CreditCardFill(driver).open()
22-
autofill_popup_obj = AutofillPopup(driver)
21+
autofill_popup = AutofillPopup(driver)
2322

24-
credit_card_sample_data = util.fake_credit_card_data()
25-
credit_card_fill_obj.fill_credit_card_info(credit_card_sample_data)
26-
autofill_popup_obj.click_doorhanger_button("save")
23+
credit_card_data = util.fake_credit_card_data()
24+
credit_card_fill_obj.fill_credit_card_info(credit_card_data)
25+
autofill_popup.click_doorhanger_button("save")
2726

28-
# TEST IS FAILING HERE. see bug https://bugzilla.mozilla.org/show_bug.cgi?id=1951656
29-
credit_card_fill_obj.verify_autofill_dropdown_all_fields(autofill_popup_obj)
27+
credit_card_fill_obj.autofill_and_clear_all_fields(autofill_popup, credit_card_data)

0 commit comments

Comments
 (0)