Commit 8680e55e authored by Thomas Wisniewski's avatar Thomas Wisniewski Committed by twisniewski@mozilla.com
Browse files

Bug 1577267 - remove our webcompat UA override for metfone.com.kh; r=denschub,webcompat-reviewers

parent fe3c6899
Loading
Loading
Loading
Loading
+0 −15
Changes for browser/extensions/webcompat/data/interventions.json: 0 added lines, 15 removed lines.
Original line number Diff line number Diff line
@@ -227,21 +227,6 @@
      }
    ]
  },
  "1577267": {
    "label": "metfone.com.kh",
    "bugs": {
      "1577267": {
        "issue": "desktop-layout-not-mobile",
        "matches": ["*://*.metfone.com.kh/*"]
      }
    },
    "interventions": [
      {
        "platforms": ["android"],
        "ua_string": ["Chrome"]
      }
    ]
  },
  "1577519": {
    "label": "directv.com",
    "bugs": {
+0 −20
Changes for testing/webcompat/interventions/tests/test_1577267_metfone_com_kh.py: 0 added lines, 20 removed lines.
Original line number Diff line number Diff line
import pytest

URL = "https://www.metfone.com.kh/en/4g-lte"
DESKTOP_CSS = "section.quickLinks"


@pytest.mark.only_platforms("android")
@pytest.mark.asyncio
@pytest.mark.with_interventions
async def test_enabled(client):
    await client.navigate(URL)
    assert not client.find_css(DESKTOP_CSS)


@pytest.mark.only_platforms("android")
@pytest.mark.asyncio
@pytest.mark.without_interventions
async def test_disabled(client):
    await client.navigate(URL)
    assert client.find_css(DESKTOP_CSS)