2
2
from selenium .webdriver import Firefox
3
3
4
4
from modules .browser_object_autofill_popup import AutofillPopup
5
- from modules .page_object import AboutConfig , AboutPrefs
6
- from modules .page_object_autofill import CreditCardFill
5
+ from modules .page_object import AboutPrefs , CreditCardFill
7
6
from modules .util import BrowserActions , Utilities
8
7
9
8
@@ -12,7 +11,7 @@ def test_case():
12
11
return "2886598"
13
12
14
13
15
- def test_dropdown_presence_credit_card (driver : Firefox , region : str ):
14
+ def test_dropdown_presence_credit_card (driver : Firefox ):
16
15
"""
17
16
C2886598 - Verify autofill dropdown is displayed only for the eligible fields after a credit card is saved
18
17
"""
@@ -21,14 +20,10 @@ def test_dropdown_presence_credit_card(driver: Firefox, region: str):
21
20
util = Utilities ()
22
21
about_prefs = AboutPrefs (driver , category = "privacy" )
23
22
about_prefs_cc_popup = AboutPrefs (driver )
24
- about_config = AboutConfig (driver )
25
23
browser_action_obj = BrowserActions (driver )
26
24
credit_card_fill_obj = CreditCardFill (driver )
27
25
autofill_popup_obj = AutofillPopup (driver )
28
26
29
- # Change pref value of region
30
- about_config .change_config_value ("browser.search.region" , region )
31
-
32
27
# Save a credit card in about:preferences
33
28
about_prefs .open ()
34
29
iframe = about_prefs .get_saved_payments_popup_iframe ()
0 commit comments