tor-browser

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

test_1886285_188628502_creativebloq_com.py (698B)


      1 import pytest
      2 
      3 URL = "https://www.creativebloq.com/"
      4 
      5 
      6 async def do_test(client, shouldFail):
      7    # the problem only exhibits on narrow enough viewports
      8    client.set_screen_size(800, 800)
      9    await client.navigate(URL, wait="none")
     10    client.test_future_plc_trending_scrollbar(shouldFail=shouldFail)
     11 
     12 
     13 @pytest.mark.skip_platforms("android")
     14 @pytest.mark.need_visible_scrollbars
     15 @pytest.mark.asyncio
     16 @pytest.mark.with_interventions
     17 async def test_enabled(client):
     18    await do_test(client, False)
     19 
     20 
     21 @pytest.mark.skip_platforms("android")
     22 @pytest.mark.need_visible_scrollbars
     23 @pytest.mark.asyncio
     24 @pytest.mark.without_interventions
     25 async def test_disabled(client):
     26    await do_test(client, True)