summaryrefslogtreecommitdiffstats
path: root/testing/webcompat/interventions/tests/test_1830776_blueshieldca_com.py
blob: cfe67c62bc9022d4b4e4f6d29fb3f92fc610d36c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import pytest

URL = "https://www.blueshieldca.com/provider"
UNSUPPORTED_CSS = "#browserErrorModal"


@pytest.mark.asyncio
@pytest.mark.with_interventions
async def test_enabled(client):
    await client.navigate(URL)
    assert client.find_css(UNSUPPORTED_CSS, is_displayed=False)


@pytest.mark.asyncio
@pytest.mark.without_interventions
async def test_disabled(client):
    await client.navigate(URL)
    assert client.find_css(UNSUPPORTED_CSS, is_displayed=True)