test_1800241_mms_telekom_de.py (465B)
1 import pytest 2 3 URL = "https://www.mms.telekom.de/OTP/" 4 LOGIN_CSS = ".LoginbackgroundDiv" 5 6 7 @pytest.mark.asyncio 8 @pytest.mark.with_interventions 9 async def test_enabled(client): 10 await client.navigate(URL) 11 login_element = client.await_css(LOGIN_CSS) 12 assert client.is_displayed(login_element) 13 14 15 @pytest.mark.asyncio 16 @pytest.mark.without_interventions 17 async def test_disabled(client): 18 await client.navigate(URL) 19 assert not client.find_css(LOGIN_CSS)