Skip to content

test(e2e): enforce unified UI quality contracts - #844

Merged
tiankaima merged 1 commit into
mainfrom
agent/ui-test-contracts
Aug 14, 2026
Merged

test(e2e): enforce unified UI quality contracts#844
tiankaima merged 1 commit into
mainfrom
agent/ui-test-contracts

Conversation

@tiankaima

Copy link
Copy Markdown
Member

What changed

  • define a single L0-L4 UI/E2E standard for inventory, rendered-page health, UI quality, stateful interactions, and opt-in visual evidence
  • make every rendered route own desktop and mobile coverage, including settings/workspace tabs, error/OAuth states, redirects, and the API docs browser alias
  • add shared structural and WCAG A/AA checks for headings, landmarks, links, images, duplicate IDs, console errors, and horizontal overflow
  • replace soft-pass interaction tests with deterministic fixtures and explicit empty, moderation, account, and admin assertions
  • fix semantic accessibility issues exposed by the new contract without changing visible layout
  • keep pixel regression representative and opt-in, per the no-visible-change policy

Why

The previous suite listed all Svelte pages but did not consistently prove mobile coverage, required UI elements, structural accessibility, or deterministic interaction states. Several tests could silently pass when expected controls or fixtures were absent.

Impact

New pages and primary actions must be attached to executable E2E coverage. All rendered pages now share the same baseline UI contract on desktop and mobile. Existing four-shard database isolation remains the safe parallelism boundary for mutable seeded state.

Validation

  • 4 isolated Playwright shards: 452 passed, 14 intentionally skipped
  • Vitest with coverage: 355 files, 2134 tests passed
  • Biome: no errors (7 existing warnings)
  • Svelte check: 0 errors (13 existing warnings)
  • test TypeScript project: passed
  • pixel visual matrix not run; 12 representative cases remain opt-in

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 14, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
life-ustc 44e567e Aug 14 2026, 02:02 PM

@tiankaima
tiankaima force-pushed the agent/ui-test-contracts branch from 11e2d40 to 44e567e Compare August 14, 2026 14:00
@tiankaima
tiankaima marked this pull request as ready for review August 14, 2026 14:00
@github-actions

github-actions Bot commented Aug 14, 2026

Copy link
Copy Markdown

@tiankaima
tiankaima merged commit 6168281 into main Aug 14, 2026
19 checks passed
@tiankaima
tiankaima deleted the agent/ui-test-contracts branch August 14, 2026 14:14
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.90.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to 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.

1 participant