tor-browser

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

test_1865007_portal_circle_ms.py (469B)


      1 import pytest
      2 
      3 URL = "https://portal.circle.ms/"
      4 
      5 
      6 @pytest.mark.only_platforms("android")
      7 @pytest.mark.asyncio
      8 @pytest.mark.with_interventions
      9 async def test_enabled(client):
     10    await client.navigate(URL)
     11    assert not client.is_content_wider_than_screen()
     12 
     13 
     14 @pytest.mark.only_platforms("android")
     15 @pytest.mark.asyncio
     16 @pytest.mark.without_interventions
     17 async def test_disabled(client):
     18    await client.navigate(URL)
     19    assert client.is_content_wider_than_screen()