tor-browser

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

test_1980382_fidrec_com_sg.py (549B)


      1 import pytest
      2 
      3 URL = "https://www.fidrec.com.sg/diy/"
      4 
      5 RADIO_CSS = "input[type=radio]#fidrec_newquestion1_2"
      6 
      7 
      8 @pytest.mark.asyncio
      9 @pytest.mark.with_interventions
     10 async def test_enabled(client):
     11    await client.navigate(URL, wait="none")
     12    assert not client.is_one_solid_color(client.await_css(RADIO_CSS, is_displayed=True))
     13 
     14 
     15 @pytest.mark.asyncio
     16 @pytest.mark.without_interventions
     17 async def test_disabled(client):
     18    await client.navigate(URL, wait="none")
     19    assert client.is_one_solid_color(client.await_css(RADIO_CSS, is_displayed=True))