test_1960595_de_pons_com.py (508B)
1 import asyncio 2 3 import pytest 4 5 URL = "https://de.pons.com/%C3%BCbersetzung-2/englisch-deutsch/panacea" 6 7 HERO_TEXT = "Feedback" 8 UNSUPPORTED_TEXT = "Bitte verwende einen alternativen Browser" 9 10 11 @pytest.mark.only_platforms("android") 12 @pytest.mark.asyncio 13 @pytest.mark.without_interventions 14 async def test_regression(client): 15 await client.navigate(URL) 16 assert client.await_text(HERO_TEXT, is_displayed=True) 17 await asyncio.sleep(1) 18 assert not client.find_text(UNSUPPORTED_TEXT, is_displayed=True)