Skip to content

test(e2e): live specs for Studio page editor + action modals - #1524

Merged
xuyushun441-sys merged 1 commit into
mainfrom
test/studio-action-modal-live-e2e
Jun 6, 2026
Merged

test(e2e): live specs for Studio page editor + action modals#1524
xuyushun441-sys merged 1 commit into
mainfrom
test/studio-action-modal-live-e2e

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Contributor

Summary

Extends the live Playwright harness (real backend :3000 + console :5180) to two more SDUI surfaces, turning it into a broader regression net:

  • studio-editor.spec.ts — the Studio metadata page editor (/apps/:app/metadata/page/:name) loads with its config sections (Basics / Layout / …) and "Add block" opens a block-type picker offering configurable block kinds (Card / Section / Record details / Tabs / …). Directly guards the "add block works and each block is configurable" contract.
  • action-modal.spec.ts — a row Edit action opens its modal envelope (Dialog titled "Edit Task" + modal-form-footer) and closes cleanly on Escape. Guards the action-modal transport wiring.

Testing

Builds on the harness from #1521 (config + auth global-setup + Radix/lookup/grid helpers).

🤖 Generated with Claude Code

Extends the live Playwright harness to two more SDUI surfaces:
- studio-editor.spec.ts — the metadata page editor loads with its config
sections and "Add block" opens a block-type picker offering configurable
block kinds (Card/Section/Record details/...). Guards "add block works
and blocks are configurable".
- action-modal.spec.ts — a row Edit action opens its modal envelope
(Dialog "Edit Task" + modal-form-footer) and closes on Escape. Guards the
action-modal transport wiring.
Both run via `pnpm test:e2e:live` (excluded from the mocked CI run by the
default config's testIgnore). 3 tests, green x2 repeats against the live stack.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercelBot commented Jun 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
ProjectDeploymentActionsUpdated (UTC)
objectuiIgnoredIgnoredJun 6, 2026 10:48am

Request Review

@xuyushun441-sys
xuyushun441-sys merged commit ac9c1f6 into mainJun 6, 2026
9 checks passed
@xuyushun441-sys
xuyushun441-sys deleted the test/studio-action-modal-live-e2e branch June 6, 2026 10:48
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@xuyushun441-sys@os-zhuang