test_1743754_workflow_base_vn.py (550B)
1 import pytest 2 3 URL = "https://workflow.base.vn/todos" 4 ERROR_MSG = 'can\'t access property "split", a.ua.split(...)[1] is undefined' 5 SUCCESS_CSS = "#authform" 6 7 8 @pytest.mark.only_platforms("android") 9 @pytest.mark.asyncio 10 @pytest.mark.with_interventions 11 async def test_enabled(client): 12 await client.navigate(URL) 13 assert client.await_css(SUCCESS_CSS) 14 15 16 @pytest.mark.only_platforms("android") 17 @pytest.mark.asyncio 18 @pytest.mark.without_interventions 19 async def test_disabled(client): 20 await client.navigate(URL, await_console_message=ERROR_MSG)