Initial Commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
# Capability Spec Delta: testing-e2e (spec-conformance)
|
||||
|
||||
**Package**: `@suaveplan/testing-e2e`
|
||||
**Status**: PROPOSED
|
||||
|
||||
This delta annotates each existing requirement in `openspec/specs/testing-e2e/spec.md` with a `**Verified by:**` line and corrects the stale path text. No requirement semantics change.
|
||||
|
||||
## MODIFIED Requirements
|
||||
|
||||
(See `openspec/specs/testing-e2e/spec.md` for the full requirement bodies; this delta only records the verification mapping and one path-text fix.)
|
||||
|
||||
| Requirement | Verified by |
|
||||
|---|---|
|
||||
| Layer 0 dep-graph isolation | `tests/dep-graph.test.ts` AND `tests/no-disallowed.test.ts` |
|
||||
| Playwright primitive re-exports | `src/spec-conformance.test.ts` (identity pins) |
|
||||
| `createPlaywrightConfig` produces stable defaults | `src/config/create-playwright-config.test.ts` AND `src/spec-conformance.test.ts` |
|
||||
| `PageObject` base class | `src/page-objects/page-object.test.ts` AND `src/spec-conformance.test.ts` |
|
||||
| Helpers expose stable signatures | `src/helpers/*.test.ts` AND `src/spec-conformance.test.ts` |
|
||||
| Structured errors with stable codes | `src/errors/testing-e2e-error.test.ts` AND `src/spec-conformance.test.ts` |
|
||||
| Coverage and docs gates | vitest threshold config + CI gate |
|
||||
| Test placement follows the genesis hard rule | co-located `src/**/*.test.ts` + `tests/*.test.ts` |
|
||||
|
||||
## Path correction
|
||||
|
||||
The folded spec previously referenced `packages/universal/testing-e2e/src/` in the coverage requirement. The package shipped under `packages/dev/testing-e2e/src/`; the spec is updated to match.
|
||||
|
||||
## Newly added tests in this change
|
||||
|
||||
- `src/spec-conformance.test.ts` — pins Playwright re-export identity, error-code regex over the full `TESTING_E2E_ERROR_CODES` registry, `createPlaywrightConfig` defaults / CI mode / caller-override precedence, helper-function arities, and `PageObject` prototype shape.
|
||||
Reference in New Issue
Block a user