From 29922ede47db237ce8050432299f0c1a20514035 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Wed, 15 Apr 2026 20:30:26 -0700 Subject: [PATCH] ci: register browser pytest marker Silences PytestUnknownMarkWarning from '-m not browser' in GitHub Actions CI. Any test requiring headed Chromium (Kasada bypass, scraper integration) should be decorated with @pytest.mark.browser so it is excluded from CI automatically. Closes #40 --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 51ab26f..adfde53 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,9 @@ include = ["app*", "api*"] [tool.pytest.ini_options] testpaths = ["tests"] +markers = [ + "browser: tests that require a headed Chromium browser (Xvfb + playwright install required)", +] [tool.ruff] line-length = 100