test_1913720_cotota_app.py (366B)
1 import pytest 2 3 URL = "https://cotota.app/" 4 5 SUCCESS_CSS = "#email" 6 BLOCKED_TEXT = "403 Forbidden" 7 8 9 @pytest.mark.asyncio 10 @pytest.mark.with_interventions 11 async def test_enabled(client): 12 await client.navigate(URL, wait="none") 13 assert client.await_css(SUCCESS_CSS, is_displayed=True, timeout=20) 14 assert not client.find_text(BLOCKED_TEXT, is_displayed=True)