diff --git a/tests/test_app/tests/conftest.py b/tests/test_app/tests/conftest.py index cdf81680..89c7fad9 100644 --- a/tests/test_app/tests/conftest.py +++ b/tests/test_app/tests/conftest.py @@ -1,6 +1,7 @@ from __future__ import annotations import os +import subprocess from pathlib import Path import pytest @@ -11,3 +12,8 @@ @pytest.fixture(autouse=True) def enable_db_access_for_all_tests(db): pass + + +@pytest.fixture(autouse=True, scope="session") +def install_playwright(): + subprocess.run(["playwright", "install", "chromium"], check=True)