test(e2e): form-validation regression coverage (PMS-518 AC7) #363
Loading…
Reference in a new issue
No description provided.
Delete branch "test/PMS-518-form-validation-e2e"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Adds the AC7 regression coverage for the PMS-515 form-validation epic:
e2e/tests/form-validation.spec.tsunder a new browser-drivenform-uiPlaywright project.Coverage
Drives the deployed SPA create forms in a real browser (DOM assertions, like
auth.spec.ts- theFormGuardvalidation is client-side and never reaches an API):This is exactly AC7: "empty required fields are rejected with per-field errors and valid submissions are unchanged" (the valid-submit path is already covered by the API specs).
Quarantined (
test.fixme)Until BOTH clear:
FormGuardmigration (merged to mokosh-appsmainAND staging redeployed). On an older SPA these assertions fail.loginViaSpa, currently blocked by the PMS-148 post-setuplogin stall (same blocker asauth.spec.ts).The spec + config compile and list cleanly (
npx playwright test --listshows the 3form-uitests); it is skipped at runtime viatest.fixmeso it does not affect the merge gate.Docs
e2e/README.md(coverage table) anddev-docs/e2e.md(project model + quarantined-specs table) document the new spec, theform-uiproject, and the un-fixme conditions.