ci: register browser pytest marker to silence PytestUnknownMarkWarning #40
Labels
No labels
accessibility
backlog
browser-pool
bug
cloud
enhancement
feature
infra
paid-tier
performance
ux
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/snipe#40
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The GitHub Actions CI workflow runs pytest with
-m "not browser"to skip any future headed-Chromium tests (Kasada bypass, scraper integration) that cannot run without a display or playwright browser install.No tests currently use this mark, but pytest emits
PytestUnknownMarkWarningwhen filtering on an unregistered marker.Fix
Register the marker in
pyproject.toml:When browser-dependent tests are added in the future, decorate them with
@pytest.mark.browserso they are excluded from CI automatically.Notes
browsersignals it needs a display environment