Skip to content

Commit 2074468

Browse files
Hani YacoubHani Yacoub
authored andcommitted
adding slow mark and a comment
1 parent 1729993 commit 2074468

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/address_bar_and_search/test_preferences_all_toggles_enabled.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def add_prefs():
1515
]
1616

1717

18+
@pytest.mark.slow
1819
def test_preferences_all_toggles_enabled(driver: Firefox):
1920
"""
2021
C1618400: Preferences - All toggles buttons Enabled
@@ -30,7 +31,7 @@ def test_preferences_all_toggles_enabled(driver: Firefox):
3031
sponsors_checkbox = about_prefs.get_element("firefox-suggest-sponsored")
3132
assert sponsors_checkbox.is_selected(), f"Checkbox with selector '{sponsors_checkbox}' is not checked"
3233

33-
# Check if sponsored suggestion is displayed
34+
# Check if sponsored suggestion is displayed. Using long sleeps otherwise sponsored suggestions won't be displayed
3435
time.sleep(20)
3536
u.search("iphone", with_enter=False)
3637
time.sleep(20)

0 commit comments

Comments
 (0)