Skip to content

fix(ci): exclude screenshots.spec.ts from default playwright run#72

Merged
aksOps merged 1 commit intomainfrom
fix/playwright-screenshots-ignore
Apr 24, 2026
Merged

fix(ci): exclude screenshots.spec.ts from default playwright run#72
aksOps merged 1 commit intomainfrom
fix/playwright-screenshots-ignore

Conversation

@aksOps
Copy link
Copy Markdown
Contributor

@aksOps aksOps commented Apr 24, 2026

Summary

Block 7's ui/e2e/screenshots.spec.ts (merged in #69) talks to a live docsiq backend on a fixed port. CI only boots the Vite dev server, so every screenshot test fails with ERR_CONNECTION_REFUSED. This caused PR #71 (Block 5) to show a red `e2e (chromium)` check; it ended up merging because that workflow isn't a required check, but every future UI-touching PR inherits the same red signal.

Gate the spec behind a PLAYWRIGHT_SCREENSHOTS env var so the dedicated regeneration script opts in and the default e2e suite ignores it.

Test plan

  • CI `e2e (chromium)` job on this PR passes (screenshots spec skipped)
  • `PLAYWRIGHT_SCREENSHOTS=1 playwright test` still runs screenshots manually

🤖 Generated with Claude Code

Block 7's screenshots.spec.ts talks to a live docsiq backend on a
fixed port; CI has only the Vite dev server booted, so every
screenshot test fails with ERR_CONNECTION_REFUSED. Gate the spec
behind PLAYWRIGHT_SCREENSHOTS so the dedicated regeneration script
opts in and the default e2e suite ignores it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@aksOps aksOps enabled auto-merge (squash) April 24, 2026 02:34
@aksOps aksOps merged commit 08f0c56 into main Apr 24, 2026
12 checks passed
@aksOps aksOps deleted the fix/playwright-screenshots-ignore branch April 24, 2026 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant