diff --git a/Auto Run Docs/SpecKit-web-header-analyzer-Phase-09-Polish.md b/Auto Run Docs/SpecKit-web-header-analyzer-Phase-09-Polish.md index 1a37618..df6ae90 100644 --- a/Auto Run Docs/SpecKit-web-header-analyzer-Phase-09-Polish.md +++ b/Auto Run Docs/SpecKit-web-header-analyzer-Phase-09-Polish.md @@ -31,7 +31,7 @@ This phase performs final integration, accessibility audit, responsive testing, - [x] Complete flow works end-to-end: paste headers → configure tests → analyse → view report → export. Notes: replaced Playwright example spec with end-to-end flow test (paste + configure + analyse + report + export), adjusted Playwright webServer ports/CORS for local 3100 runs, ran `npx playwright test e2e/example.spec.ts --project=chromium`. - [x] File drop flow works: drop EML → auto-populate → analyse → report. Notes: extract header block from dropped EML before populating input; updated FileDropZone tests and ran `npx vitest run src/__tests__/FileDropZone.test.tsx`. -- [ ] Cache flow works: analyse → reload → see cached results → clear cache +- [x] Cache flow works: analyse → reload → see cached results → clear cache. Notes: added Playwright cache flow coverage (reload + clear) in e2e/example.spec.ts and ran `npx playwright test e2e/example.spec.ts --project=chromium`. - [ ] Rate limiting flow works: exceed limit → CAPTCHA modal → solve → retry succeeds - [ ] `pytest backend/tests/` passes with ≥80% coverage on new modules - [ ] `npx vitest run --coverage` passes with ≥80% coverage on new components diff --git a/frontend/e2e/example.spec.ts b/frontend/e2e/example.spec.ts index f5994bb..14c9e63 100644 --- a/frontend/e2e/example.spec.ts +++ b/frontend/e2e/example.spec.ts @@ -59,3 +59,28 @@ test("complete analysis flow from paste to export", async ({ page }) => { const htmlContents = await fs.readFile(htmlPath, "utf8"); expect(htmlContents).toContain("