Skip to content

Commit 3f62b33

Browse files
committed
Mark 2 tests as unstable.
2 parents 1c40c43 + 60ba145 commit 3f62b33

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/address_bar_and_search/test_preferences_all_toggles_enabled.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def test_case():
1818
return "1618400"
1919

2020

21+
@pytest.mark.unstable(reason="Sponsorship status sometimes does not appear")
2122
def test_preferences_all_toggles_enabled(driver: Firefox):
2223
"""
2324
C1618400: Preferences - All toggles buttons Enabled

tests/address_bar_and_search/test_tile_menu_options.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_case():
4646
# first value in a tuple is the index of the card, second is the status of sponsorship
4747
card_indices = [(4, False), (0, True)]
4848

49-
49+
@pytest.mark.unstable(reason="Sponsorship status sometimes does not appear")
5050
def test_default_tile_hover_states(driver: Firefox):
5151
"""
5252
C1533798.1: Ensure that hover states work correctly
@@ -83,6 +83,7 @@ def test_default_tile_hover_states(driver: Firefox):
8383
)
8484

8585

86+
@pytest.mark.unstable(reason="Sponsorship status sometimes does not appear")
8687
@pytest.mark.parametrize("index, sponsored", card_indices)
8788
def test_tile_context_menu_options(driver: Firefox, index: int, sponsored: bool):
8889
"""
@@ -109,7 +110,7 @@ def test_tile_context_menu_options(driver: Firefox, index: int, sponsored: bool)
109110
)
110111
three_dot_menu.click()
111112

112-
# get all of the context menu actions
113+
# get all the context menu actions
113114
context_menu_list = newtab.get_element("sponsored-site-context-menu-list")
114115
child_options = newtab.get_all_children(context_menu_list)
115116
logging.info(f"There are {len(child_options)} context options")

0 commit comments

Comments
 (0)