Skip to content

Commit 8f15e39

Browse files
committed
Install playwright via conftest
1 parent 3ecabbd commit 8f15e39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/conftest.py

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def pytest_addoption(parser) -> None:
2020
def pytest_sessionstart(session):
2121
"""Rebuild the project before running the tests to get the latest JavaScript"""
2222
subprocess.run(["hatch", "build", "--clean"], check=True)
23+
subprocess.run(["playwright", "install", "chromium"], check=True)
2324

2425

2526
@pytest.fixture(scope="session")

0 commit comments

Comments
 (0)