Repository navigation
Add Playwright E2E tests for client-side behavior - #153
Merged
Merged
Conversation
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Replace the unsupported GitHub Actions background properties with a supported background-process pattern.
Review effort: Lite
Findings: 1
Open (1)
What changed in this PR
Adds containerized Playwright E2E tests for page loading, homepage, blog, and contact behavior, with local Docker and CI integration.
Changes:
- Added Playwright tests, configuration, helpers, and Docker setup.
- Added Compose service and local usage documentation.
- Integrated E2E execution into CI.
| File | Summary |
|---|---|
tests/playwright/playwright.config.ts |
Configures the test base URL. |
tests/playwright/pages.spec.ts |
Tests page loading. |
tests/playwright/home.spec.ts |
Tests styles and mobile behavior. |
tests/playwright/helpers.ts |
Collects errors and stubs analytics. |
tests/playwright/Dockerfile |
Defines the Playwright test image. |
tests/playwright/contact.spec.ts |
Tests contact interactions and honeypot behavior. |
tests/playwright/blog.spec.ts |
Tests blog rendering and filtering. |
README.md |
Documents local E2E execution. |
compose.yaml |
Adds the Playwright service. |
.github/workflows/ci.yml |
Runs Playwright tests in CI; the unsupported background property at lines 18 and 28 is a critical workflow-blocking issue. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Sep 28, 2026
Merged
This was referenced Oct 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This changeset adds Playwright E2E tests for client-side behavior, covering that every page loads without errors, plus the home page, blog and contact form. The suite runs in its own container against the local Docker container, both locally and in CI before deploying.
The setup mirrors the Playwright suite from https://github.com/clue-engineering/justkanban/pull/261 (private). In CI, the Playwright image is built in the background while the website is built and tested, so the job grows from ~35s to ~57s instead of ~77s when run sequentially, with the tests themselves taking around 4s. The website itself is unchanged.
Builds on top of #147 and #136
Refs https://github.com/clue-engineering/justkanban/pull/261 (private), https://github.com/clue-engineering/justkanban/pull/281 (private) and https://github.com/clue-engineering/icalforcalendly/pull/227 (private)