Skip to content

Commit 4758d29

Browse files
committed
Rerun flaky test
1 parent c77b1b9 commit 4758d29

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/tests_asyncio/test_browser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ async def test_connect_devtools(self):
108108
"Connecting to remote browser, ignoring PLAYWRIGHT_LAUNCH_OPTIONS",
109109
) in self._caplog.record_tuples
110110

111+
@pytest.mark.flaky(reruns=3)
111112
@allow_windows
112113
async def test_connect(self):
113114
async with remote_chromium(with_devtools_protocol=False) as browser_url:

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ envlist = bandit,black,flake8,typing,pylint,py,py-twisted
44
[testenv]
55
deps =
66
pytest==7.4.0
7+
pytest-rerunfailures==15.1
78
pytest_cov==4.1.0
89
pytest_twisted==1.14
910
psutil==5.9.7

0 commit comments

Comments
 (0)