Skip to content

Commit f7005e2

Browse files
committed
Cleanup
1 parent 79effc3 commit f7005e2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/tabs/test_mute_tabs.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
COOKIE_CONSENT_SELECTOR = (
1212
"button[aria-label^='Accept all'], button[aria-label^='Accept the use']"
1313
)
14+
WIN_GHA = environ.get("GITHUB_ACTIONS") == "true" and sys.platform.startswith("win")
1415

1516

1617
@pytest.fixture()
@@ -23,9 +24,6 @@ def add_to_prefs_list():
2324
return [("network.cookie.cookieBehavior", "2")]
2425

2526

26-
WIN_GHA = environ.get("GITHUB_ACTIONS") == "true" and sys.platform.startswith("win")
27-
28-
2927
@pytest.mark.skipif(WIN_GHA, reason="Test unstable on Windows in Github Actions")
3028
@pytest.mark.audio
3129
def test_mute_unmute_tab(screenshot, driver: Firefox, video_url: str):

0 commit comments

Comments
 (0)