test_1836135_gts_pro_iyuno_com.py (497B)
1 import pytest 2 3 URL = "https://gts-pro.iyuno.com/" 4 UNSUPPORTED_CSS = "#invalid-browser" 5 LOGIN_CSS = "button[data-qa='open-login-page']" 6 7 8 @pytest.mark.asyncio 9 @pytest.mark.with_interventions 10 async def test_enabled(client): 11 await client.navigate(URL) 12 assert client.await_css(LOGIN_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) 19 assert client.await_css(UNSUPPORTED_CSS, is_displayed=True)