ci: enable Playwright browser tests in GitHub Actions

The GITHUB_ACTIONS skip was added before Playwright automation existed,
when tests required manual browser interaction. Now that Playwright
handles the OAuth flow programmatically, the skip is unnecessary —
GitHub Actions fully supports Playwright with localhost networking.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Chris Coutinho
2026-03-02 16:09:14 +01:00
parent abd43f8028
commit 0a53aa5fcd
3 changed files with 0 additions and 25 deletions
-11
View File
@@ -76,8 +76,6 @@ jobs:
needs-playwright: true
extra-args: ""
# NOTE: Playwright browser tests are skipped in CI (no browser grant flow).
# These entries still run non-Playwright tests marked with the same markers.
- mode: oauth
profile: oauth
markers: "oauth and not keycloak"
@@ -199,15 +197,6 @@ jobs:
--timeout=300 \
${{ matrix.extra-args }}
- name: Report skipped Playwright tests
if: matrix.needs-playwright
run: |
echo "::notice::Playwright browser tests are skipped in CI. Run locally with: uv run pytest -m '${{ matrix.markers }}' --browser firefox"
uv run pytest --collect-only -q \
-m '${{ matrix.markers }}' \
${{ matrix.extra-args }} 2>/dev/null \
| tail -1 || true
- name: Collect service logs on failure
if: failure()
run: docker compose --profile ${{ matrix.profile }} logs --tail=500 > /tmp/docker-compose-logs.txt 2>&1