commit 2e311988635c5239cef3ef74f550c3721b028a37
parent c5e11eb9de568f2f4932849748a6f45ee97a7a37
Author: Thomas Wisniewski <twisniewski@mozilla.com>
Date: Fri, 31 Oct 2025 15:54:26 +0000
Bug 1899948 - remove our UA override for tv.partner.co.il; r=webcompat-reviewers,ksenia
Differential Revision: https://phabricator.services.mozilla.com/D270743
Diffstat:
2 files changed, 0 insertions(+), 47 deletions(-)
diff --git a/browser/extensions/webcompat/data/interventions.json b/browser/extensions/webcompat/data/interventions.json
@@ -2727,21 +2727,6 @@
}
]
},
- "1899948": {
- "label": "tv.partner.co.il",
- "bugs": {
- "1899948": {
- "issue": "firefox-blocked-completely",
- "matches": ["*://tv.partner.co.il/*"]
- }
- },
- "interventions": [
- {
- "platforms": ["desktop"],
- "ua_string": ["add_Chrome"]
- }
- ]
- },
"1901000": {
"label": "eyebuydirect.ca",
"bugs": {
diff --git a/testing/webcompat/interventions/tests/test_1899948_tv_partner_co_il.py b/testing/webcompat/interventions/tests/test_1899948_tv_partner_co_il.py
@@ -1,32 +0,0 @@
-from asyncio.exceptions import TimeoutError
-
-import pytest
-
-URL = "https://tv.partner.co.il/#/login"
-SUPPORTED_CSS = "[class*=loginForm]"
-UNSUPPORTED_CSS = "[class*=bannerBrowser]"
-
-
-async def try_visit_site(client):
- try:
- await client.navigate(URL, no_skip=True, timeout=10)
- except TimeoutError:
- pytest.skip("Could not connect to site. Try using a VPN set to Israel.")
-
-
-@pytest.mark.asyncio
-@pytest.mark.with_interventions
-@pytest.mark.skip_platforms("android")
-async def test_enabled(client):
- await try_visit_site(client)
- assert client.await_css(SUPPORTED_CSS)
- assert not client.find_css(UNSUPPORTED_CSS)
-
-
-@pytest.mark.asyncio
-@pytest.mark.without_interventions
-@pytest.mark.skip_platforms("android")
-async def test_disabled(client):
- await try_visit_site(client)
- assert client.await_css(UNSUPPORTED_CSS)
- assert not client.find_css(SUPPORTED_CSS)