1.6 KiB
1.6 KiB
Tasks: testing-e2e-spec-conformance
1. New tests
- 1.1 Add
src/spec-conformance.test.tspinning Playwright primitive identity, structured-error code regex over the full registry,createPlaywrightConfigdefaults / CI mode / override precedence, helper-function arity, andPageObjectprototype shape.
2. Spec annotations
- 2.1 Add
**Verified by:**line under every### Requirement:block inopenspec/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.mdwith a forward-pointing note referencing this conformance change.
4. Verify
- 4.1
bunx turbo lint typecheck test --filter=@suaveplan/testing-e2egreen (5/5 tasks, 17 files, 93 tests pass). - 4.2
bunx turbo test:coverage --filter=@suaveplan/testing-e2e100/100/100/100 across allsrc/files. - 4.3
bun scripts/openspec-conformance.ts @suaveplan/testing-e2eexits 0 (foldedopenspec/specs/testing-e2e/spec.mdis fully verified by this change; the remaining 28/36 unverified requirements live in the still-PROPOSEDopenspec/changes/enterprise-testbed-verification/change folder, which owns its own implementation work forNetworkMonitor.assertNoMissingAssets/assertNoMixedContent/assertNoCorsErrors/assertNoUnexpectedRequests/crawlInternalLinks. Those**Verified by:**lines will land when that change implements the APIs).