Skip to content

v0.16.0 - End-to-end coverage

Choose a tag to compare

@kapildev333 kapildev333 released this 08 Oct 03:21
· 61 commits to main since this release
7d00aff

Highlights

  • Every user-visible flow, for every role, now has a Playwright case that runs on npm run e2e and in CI: 89 cases across 11 files, designed from a catalogue of 112 IDs that maps the specs, the README personas and the UI to tests (Spec 9, catalogue).
  • The demo dataset is guarded: every README persona signs in and sees exactly what the persona table promises (Spec 7).
  • Sign-in, admin, courses and sections, grading, catalog and schedule, and section content each have their own spec file, so a regression names the role, the page and the expected copy.
  • Accessibility is checked on every page and dialog per role in light and dark with axe (WCAG 2.x A and AA); no serious or critical violation today.
  • Invited adjuncts and visiting TAs whose email domain belongs to no university can sign in again after accepting their invitation (Spec 1 §5, D128).
  • The e2e harness takes a port (UNICOURSE_E2E_PORT), seeds through seed-demo or the HTTP API, and npm run e2e -- <file> runs one file.

What's Changed

Changes

  • P16-L2: e2e harness (port, shared helpers, seed-demo), demo.spec.ts persona smoke, CI e2e timeout 30 by @kapildev333 in #135
  • P16-L5: courses.spec.ts, 12 cases (courses, sections, imports, staff, roster, Participants) by @kapildev333 in #139
  • P16-L7: catalog.spec.ts, 8 cases (Catalog, My sections, schedule, phone agenda) by @kapildev333 in #136
  • P16-L6: grades.spec.ts, 12 cases (assessments, scores, publish, finalize, scale, permissions) by @kapildev333 in #137
  • P16-L4: admin.spec.ts, 11 cases incl. audit log filters and entries by @kapildev333 in #141
  • P16-L8: content-edit.spec.ts, 9 cases (announcements, weeks, materials, uploads, access) by @kapildev333 in #138
  • P16-L3: auth.spec.ts, 14 cases (E-AUTH-11 fixme pending P16-F1) by @kapildev333 in #140
  • P16-F1: accepted outside-domain invitees can sign in again (D128); E-AUTH-11 passes by @kapildev333 in #142
  • P16-L9: a11y.spec.ts axe sweep per role in light and dark (D125) by @kapildev333 in #144

Full Changelog: v0.14.1...v0.16.0