Skip to content

test(e2e): live summary-rollup spec + exclude live specs from default config - #1523

Merged
xuyushun441-sys merged 1 commit into
mainfrom
test/summary-rollup-live-e2e
Jun 6, 2026
Merged

test(e2e): live summary-rollup spec + exclude live specs from default config#1523
xuyushun441-sys merged 1 commit into
mainfrom
test/summary-rollup-live-e2e

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Contributor

Summary

  • Adds e2e/live/summary-rollup.spec.ts — verifies the new server-side roll-up summary fields (framework PR fix(plugin-list): translate ListView empty-state title and message #1610) end-to-end against the real SQL driver via /api/v1/batch: showcase_project.total_estimate (SUM) + task_count (COUNT) computed on atomic create, and recomputed to 0 when the child is deleted. 2 passing against the live stack.
  • Adds testIgnore: ['**/live/**'] to the defaultplaywright.config.ts so the mocked CI run (vite preview on :4173, no backend) skips the live specs. Live specs need the real stack (backend :3000 + console :5180) and the live config's auth global-setup; run them with pnpm test:e2e:live. This also retroactively keeps the master-detail live spec (added in fix(master-detail): reliable submit + durable live e2e harness #1521) out of the CI run.

Testing

  • pnpm test:e2e:live → master-detail (2) + summary-rollup (2) all green against the live stack.
  • npx playwright test --list (default) confirms live specs are excluded; smoke/console specs unaffected.

Pairs with framework PR #1610 (server-side summary computation).

🤖 Generated with Claude Code

… config
Adds e2e/live/summary-rollup.spec.ts verifying server-side roll-up summary
fields (showcase_project.total_estimate=SUM, task_count=COUNT) end-to-end
against the real SQL driver via /api/v1/batch — SUM/COUNT on atomic create,
recompute to 0 on child delete.
Also adds testIgnore '**/live/**' to the default playwright.config.ts so the
mocked CI run (vite preview :4173, no backend) skips the live specs, which
require the real stack + the live config's auth global-setup. Run them with
`pnpm test:e2e:live`.
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:41am

Request Review

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@xuyushun441-sys@os-zhuang