test_1948723_babel_com.py (373B)
1 import pytest 2 3 URL = "https://chat.babel.com" 4 5 SUPPORTED_CSS = ".form.login-choice, .button.register" 6 UNSUPPORTED_CSS = ".download.chrome" 7 8 9 @pytest.mark.asyncio 10 @pytest.mark.without_interventions 11 async def test_regression(client): 12 await client.navigate(URL) 13 assert client.await_css(SUPPORTED_CSS) 14 assert not client.find_css(UNSUPPORTED_CSS, is_displayed=True)