Repository navigation
chore: make pnpm test run Playwright, add root test:unit and test:e2e - #15
Open
sam-goodwin wants to merge 2 commits into
Open
sam-goodwin wants to merge 2 commits into
sam-goodwin wants to merge 2 commits into
Conversation
`pnpm test` in @cafe/frontend only ran the unit project, so neither it nor the root `pnpm test` ran the Playwright e2e suite, and the root had no test:e2e script. Frontend `test` now runs every vitest project; test:unit is the fast Story + Scene loop. The demo job installs Chromium because its recorded `pnpm test` now includes e2e. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Preview deployedApp: https://cafe-web-pr-15-vgfijavvx4kf6tvy.testing-2b2.workers.dev Built from commit c75ab1c. This comment updates automatically with each push. |
The recorded `pnpm test` now includes Playwright, so the demo got longer and the smallest GIF was 5.5 MB. Timelapse the test runs at 8x and add a smaller fallback encoding. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Demo of this previewVideo: https://pub-68e74efbba3b4272943c198da363bcab.r2.dev/pr-15/5d92f47bb639bb77293ecd78ebb2c04de99049c4/demo.mp4 Recorded from commit 5d92f47: |
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.

pnpm testnever ran Playwright, and the root had notest:e2e:The CI
checkjob runstest:unit. Thedemojob installs Chromium, because the recordedpnpm test/ALCHEMY_DEV=1 pnpm testnow run e2e too. AGENTS.md and the README use the new scripts.🤖 Generated with Claude Code