tor-browser

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

test_1827678_68520_onvue_com.py (524B)


      1 import pytest
      2 
      3 URL = "https://mobile.onvue.com/"
      4 
      5 SUPPORTED_CSS = "app-welcome"
      6 UNSUPPORTED_CSS = "app-wrong-browser"
      7 
      8 
      9 @pytest.mark.only_platforms("android")
     10 @pytest.mark.asyncio
     11 @pytest.mark.with_interventions
     12 async def test_enabled(client):
     13    await client.navigate(URL)
     14    assert client.await_css(SUPPORTED_CSS)
     15 
     16 
     17 @pytest.mark.only_platforms("android")
     18 @pytest.mark.asyncio
     19 @pytest.mark.without_interventions
     20 async def test_disabled(client):
     21    await client.navigate(URL)
     22    assert client.await_css(UNSUPPORTED_CSS)