feat: add Playwright smoke tests for test studio#813
Draft
Copilot wants to merge 2 commits into
Draft
Conversation
Add Playwright smoke tests that verify: - Studio loads and shows workspace selector - Kitchen-sink workspace loads successfully Includes: - playwright.config.ts with staging auth via localStorage - globalSetup.ts to wait for dev server readiness - GitHub Actions workflow running on PRs and main pushes - Playwright browser caching for faster CI runs Agent-Logs-Url: https://github.com/sanity-io/plugins/sessions/a4e0185a-97da-4d5f-9ebc-da3ec5d0bcee
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Copilot created this pull request from a session on behalf of
pedrobonamin
April 9, 2026 13:27
View session
- Add `cwd: '..'` to webServer so `sanity start` runs from the studio root instead of the e2e/ subdirectory - Change build filter from `test-studio^...` to `test-studio...` so the studio itself is built (required for `sanity start`) Agent-Logs-Url: https://github.com/sanity-io/plugins/sessions/84fa7c37-c520-4dc6-af75-6fe8b2e5d9d5
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.
playwright.config.tsindev/test-studio/e2e/cwd: '..'sopnpm sanity startruns fromdev/test-studio/instead ofdev/test-studio/e2e/--filter=test-studio^...to--filter=test-studio...so the studio itself is also built forsanity start