diff --git a/pyproject.toml b/pyproject.toml index 95acbafe..10b224f0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,6 +18,10 @@ lines-after-imports = 2 [tool.pytest.ini_options] DJANGO_SETTINGS_MODULE = "airlock.settings" +markers = [ + "functional: marks functional (playwright) tests as (deselect with '-m \"not functional\"')", +] + [tool.coverage.run] branch = true diff --git a/tests/functional/test_page.py b/tests/functional/test_page.py index 2c62f88d..4e8de0d3 100644 --- a/tests/functional/test_page.py +++ b/tests/functional/test_page.py @@ -1,6 +1,10 @@ +import pytest from playwright.sync_api import expect +pytestmark = pytest.mark.functional + + def test_admin_page_can_load(page, live_server): admin_url = f"{live_server.url}/admin" page.goto(admin_url)