Skip to content

Commit 1e7ea84

Browse files
committed
Disable unstable cookie test on Windows
1 parent 4a87167 commit 1e7ea84

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/preferences/test_clear_cookie_data.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import sys
2+
from os import environ
3+
14
import pytest
25
from selenium.webdriver import Firefox
36

@@ -10,13 +13,17 @@ def test_case():
1013
return "143627"
1114

1215

16+
WIN_GHA = environ.get("GITHUB_ACTIONS") == "true" and sys.platform.startswith("win")
17+
18+
1319
def open_clear_cookies_data_dialog(about_prefs: AboutPrefs, ba: BrowserActions):
1420
about_prefs.open()
1521
clear_data_popup = about_prefs.press_button_get_popup_dialog_iframe("Clear Data")
1622
ba.switch_to_iframe_context(clear_data_popup)
1723
return about_prefs.get_clear_cookie_data_value()
1824

1925

26+
@pytest.mark.skipif(WIN_GHA, reason="Test unstable in Windows GA, tracked in 1990570")
2027
def test_clear_cookie_data(driver: Firefox):
2128
"""
2229
C143627: Cookies and site data can be cleared via the "Clear Data" panel

0 commit comments

Comments
 (0)