tor-browser

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

test_1991388_gismeteo_ru.py (394B)


      1 import pytest
      2 
      3 URL = "https://gismeteo.ru/"
      4 MOBILE_CSS = "button.btn-burger"
      5 DESKTOP_CSS = ".search-desktop"
      6 
      7 
      8 @pytest.mark.only_platforms("android")
      9 @pytest.mark.asyncio
     10 @pytest.mark.without_interventions
     11 async def test_regression(client):
     12    await client.navigate(URL)
     13    assert client.await_css(MOBILE_CSS, is_displayed=True)
     14    assert not client.find_css(DESKTOP_CSS, is_displayed=True)