Repository navigation
test(e2e): add a headless browser journey against the production build - #218
Merged
Merged
Conversation
One Playwright test adds a series, reloads, marks an episode watched, checks the history, and deletes the series. It covers what the jsdom specs cannot: the production bundle, its CSP, real clicks, and real IndexedDB. CI runs it against the nginx preview container. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Browsers ignore frame-ancestors in a <meta> tag and log a console error on every page load. The nginx header keeps it; the browser test no longer needs to excuse the error. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
@CodeWithMaBot is attempting to deploy a commit to the Ma's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Summary
frame-ancestorsfrom the<meta>CSP. Browsers ignore that directive in a meta tag and log a console error on every page load. The nginx header still sends it.Test plan
bun run e2epasses locally (on NixOS:E2E_CHROMIUM_PATH=$(which chromium) bun run e2e)🤖 Generated with Claude Code