test_1903970_www_unimedlitoral_com_br.py (636B)
1 import pytest 2 3 URL = "https://www.unimedlitoral.com.br/agendaonline/index.php?c=Authentication" 4 FILE_NOT_FOUND_MSG = "File not found." 5 6 # Note this page is now a 404, but this appears to not be what the site intends, 7 # so in case it ever returns we should confirm whether Firefox is still blocked. 8 9 10 @pytest.mark.asyncio 11 @pytest.mark.with_interventions 12 async def test_enabled(client): 13 await client.navigate(URL) 14 assert client.await_text(FILE_NOT_FOUND_MSG) 15 16 17 @pytest.mark.asyncio 18 @pytest.mark.without_interventions 19 async def test_disabled(client): 20 await client.navigate(URL) 21 assert client.await_text(FILE_NOT_FOUND_MSG)