test_1902419_jamsune_com.py (520B)
1 import pytest 2 3 URL = "https://www.jamsune.com/" 4 UNSUPPORTED_ALERT = "크롬으로만" 5 6 7 @pytest.mark.skip_platforms("android") 8 @pytest.mark.asyncio 9 @pytest.mark.with_interventions 10 async def test_enabled(client): 11 await client.navigate(URL) 12 assert not await client.find_alert(delay=3) 13 14 15 @pytest.mark.skip_platforms("android") 16 @pytest.mark.asyncio 17 @pytest.mark.without_interventions 18 async def test_disabled(client): 19 await client.navigate(URL, wait="none") 20 assert await client.await_alert(UNSUPPORTED_ALERT)