Skip to content

Commit ad7f414

Browse files
committed
Remove sleep fixture
Playwright has a built-in "slowmo" feature that would be easiest to use. https://playwright.dev/python/docs/test-runners#cli-arguments
1 parent 56bc49a commit ad7f414

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/test.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@
1414
]
1515

1616

17-
# Add a delay to each test to help with playwright race conditions
18-
@pytest.fixture(autouse=True)
19-
def slow_down_tests():
20-
yield
21-
time.sleep(1)
22-
23-
2417
@pytest.mark.parametrize("url", routes)
2518
def test_destination(
2619
page: Page,

0 commit comments

Comments
 (0)