File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
tests/address_bar_and_search Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ def add_prefs():
15
15
]
16
16
17
17
18
+ @pytest .mark .slow
18
19
def test_preferences_all_toggles_enabled (driver : Firefox ):
19
20
"""
20
21
C1618400: Preferences - All toggles buttons Enabled
@@ -30,7 +31,7 @@ def test_preferences_all_toggles_enabled(driver: Firefox):
30
31
sponsors_checkbox = about_prefs .get_element ("firefox-suggest-sponsored" )
31
32
assert sponsors_checkbox .is_selected (), f"Checkbox with selector '{ sponsors_checkbox } ' is not checked"
32
33
33
- # Check if sponsored suggestion is displayed
34
+ # Check if sponsored suggestion is displayed. Using long sleeps otherwise sponsored suggestions won't be displayed
34
35
time .sleep (20 )
35
36
u .search ("iphone" , with_enter = False )
36
37
time .sleep (20 )
You can’t perform that action at this time.
0 commit comments