File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def test_case():
13
13
return "2888557"
14
14
15
15
16
- def test_demo_ad_preview_name_org (
16
+ def test_demo_ad_hover_name_org (
17
17
driver : Firefox ,
18
18
region : str ,
19
19
address_autofill : AddressFill ,
@@ -30,3 +30,16 @@ def test_demo_ad_preview_name_org(
30
30
31
31
# Click the "Save" button
32
32
autofill_popup .click_doorhanger_button ("save" )
33
+
34
+ # Hover over each field and check data preview
35
+ fields_to_test = ["name" , "organization" ]
36
+ for field in fields_to_test :
37
+ # hack to pass over fields that don't show up in autofill dropdown
38
+ if field == "address-level1" and region in ["DE" , "FR" ]:
39
+ continue
40
+ address_autofill .double_click ("form-field" , labels = [field ])
41
+ autofill_popup .ensure_autofill_dropdown_visible ()
42
+ autofill_popup .hover ("select-form-option" )
43
+ address_autofill .verify_autofill_data_on_hover (
44
+ address_autofill_data , autofill_popup , util
45
+ )
You can’t perform that action at this time.
0 commit comments