Files
2026-05-27 23:29:53 +01:00

1.6 KiB

Tasks: testing-e2e-spec-conformance

1. New tests

  • 1.1 Add src/spec-conformance.test.ts pinning Playwright primitive identity, structured-error code regex over the full registry, createPlaywrightConfig defaults / CI mode / override precedence, helper-function arity, and PageObject prototype shape.

2. Spec annotations

  • 2.1 Add **Verified by:** line under every ### Requirement: block in openspec/specs/testing-e2e/spec.md.
  • 2.2 Fix stale path reference (packages/universal/testing-e2e/src/ → packages/dev/testing-e2e/src/) in the coverage requirement.

3. Archive sanitisation

  • 3.1 Replace the historical bulk-tick phrase in openspec/archive/2026-04-19-enterprise-testing-e2e/tasks.md with a forward-pointing note referencing this conformance change.

4. Verify

  • 4.1 bunx turbo lint typecheck test --filter=@suaveplan/testing-e2e green (5/5 tasks, 17 files, 93 tests pass).
  • 4.2 bunx turbo test:coverage --filter=@suaveplan/testing-e2e 100/100/100/100 across all src/ files.
  • 4.3 bun scripts/openspec-conformance.ts @suaveplan/testing-e2e exits 0 (folded openspec/specs/testing-e2e/spec.md is fully verified by this change; the remaining 28/36 unverified requirements live in the still-PROPOSED openspec/changes/enterprise-testbed-verification/ change folder, which owns its own implementation work for NetworkMonitor.assertNoMissingAssets / assertNoMixedContent / assertNoCorsErrors / assertNoUnexpectedRequests / crawlInternalLinks. Those **Verified by:** lines will land when that change implements the APIs).