test_1919263_nbcsports_com.py (376B)
1 import pytest 2 3 URL = "https://www.nbcsports.com/nfl/profootballtalk/rumor-mill" 4 VIDEO_CSS = "video.jw-video" 5 6 7 @pytest.mark.asyncio 8 @pytest.mark.with_interventions 9 async def test_enabled(client): 10 await client.navigate(URL) 11 client.await_css(VIDEO_CSS, is_displayed=True) 12 13 14 # a test with interventions disabled isn't really possible, as the problem is too intermittent.