tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_1827678_68635_avizia_com.py (469B)


      1 import pytest
      2 
      3 URL = "https://mychildrensla-demo.avizia.com/"
      4 
      5 SUPPORTED_CSS = "login-page-component"
      6 UNSUPPORTED_CSS = "img[src*='chrome']"
      7 
      8 
      9 @pytest.mark.asyncio
     10 @pytest.mark.with_interventions
     11 async def test_enabled(client):
     12    await client.navigate(URL)
     13    assert client.await_css(SUPPORTED_CSS)
     14 
     15 
     16 @pytest.mark.asyncio
     17 @pytest.mark.without_interventions
     18 async def test_disabled(client):
     19    await client.navigate(URL)
     20    assert client.await_css(UNSUPPORTED_CSS)