Repository navigation
ci(web): run the site in chromium, firefox and webkit - #1553
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 15 minutes. View limit details
No actionable comments were generated in the recent review.
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
The web job only built the site and ran node:test scripts, so a browser-specific bug (a WebKit menu bug shipped this way on a sister project) could not fail CI. Add Playwright specs under apps/web that run against the production build and run them inside the required job. The run uses the digest-pinned Playwright image because Harden Runner disables sudo, which install --with-deps needs.
9994676 to
f14dca4
Compare
The website's required CI job ran no browser, so a WebKit-only bug could ship (ops X90). This adds Playwright specs against the production
next startbuild on all three engines, inside "Web: Site Build & Scripts Tests", so failures block merging.They cover nav and the mobile menu, theme persistence with no hydration or console errors, FAQ, 375px overflow on every page type, docs search and the demo failure state. Any console error or CSP violation fails a test. Off-origin requests are stubbed so third parties can't flake a run. Browsers come from the same digest-pinned Playwright image as e2e-playwright, so the job keeps
disable-sudo. Egress adds the MCR hosts only.66 of 66 specs passed locally across the three engines. This PR is the first run on a real runner.
Changelog
Concerns