Skip to content

Commit ec752a9

Browse files
committed
Try headed mode to avoid youtube bot detection
1 parent 5cfb0c5 commit ec752a9

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/tabs/test_mute_tabs.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from os import environ
2-
31
import pytest
42
from selenium.webdriver import Firefox
53
from selenium.webdriver.common.by import By
@@ -23,12 +21,8 @@ def add_to_prefs_list():
2321
return [("network.cookie.cookieBehavior", "2")]
2422

2523

26-
GHA = environ.get("GITHUB_ACTIONS") == "true"
27-
28-
29-
@pytest.mark.unstable(reason="Bug https://bugzilla.mozilla.org/show_bug.cgi?id=1982379")
30-
@pytest.mark.skipif(GHA, reason="Test unstable in Github Actions")
3124
@pytest.mark.audio
25+
@pytest.mark.headed
3226
def test_mute_unmute_tab(screenshot, driver: Firefox, video_url: str):
3327
"""C134719, test that tabs can be muted and unmuted"""
3428
tabs = TabBar(driver)

0 commit comments

Comments
 (0)