diff options
Diffstat (limited to '')
-rw-r--r-- | testing/webcompat/interventions/tests/test_1836140_indices_iriworldwide_com.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/webcompat/interventions/tests/test_1836140_indices_iriworldwide_com.py b/testing/webcompat/interventions/tests/test_1836140_indices_iriworldwide_com.py new file mode 100644 index 0000000000..1ffaf5c09f --- /dev/null +++ b/testing/webcompat/interventions/tests/test_1836140_indices_iriworldwide_com.py @@ -0,0 +1,18 @@ +import pytest + +URL = "https://indices.iriworldwide.com/covid19/register.html" +BAD_CSS = ".hiddPage" + + +@pytest.mark.asyncio +@pytest.mark.with_interventions +async def test_enabled(client): + await client.navigate(URL, wait="complete") + assert not client.find_css(BAD_CSS) + + +@pytest.mark.asyncio +@pytest.mark.without_interventions +async def test_disabled(client): + await client.navigate(URL, wait="complete") + assert client.find_css(BAD_CSS) |