ZDDC/tests
ZDDC 921713d0a4 chore: clear tech debt — green the suite + delete dead code
The full Playwright suite had 5 pre-existing failures (stale assertions for
since-reworked behavior) and the classifier carried dead code from removed flows.

Stale tests refreshed to current behavior:
- toast.spec (×3): toast.js now STACKS (sticky/dismissible) rather than showing
  one at a time — assert stacking + the "Clear all" control, read the message
  from .zddc-toast__msg (the toast also holds a × button), and dismiss via the ×
  (clicking the body no longer dismisses, by design).
- browse.spec: "New folder/New file" moved from the toolbar into the context
  menu — drop the #newFolderBtn/#newFileBtn assertions (Sort + Show-hidden stay).
- tokens.spec XSS guard: rewritten to the current apiActions modal flow
  (#api-create-btn → .api-modal → #table-root) instead of the long-gone inline
  #desc form. The escaping assertion now actually runs and confirms it holds.

Dead code removed:
- classifier .mdl-overlay* CSS (orphaned when the "MDL from archive" instantiate
  flow moved to the tables tool).
- classify.js filesInNode() — defined + exported but called nowhere.
- "From a list" naming: refreshed a stale "catalog" comment and renamed the 3
  remaining "By existing:" test titles.

Full suite now 340 passed / 0 failed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-13 12:02:51 -05:00
..
data ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
fixtures ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
lib ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
archive-cascade.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
archive.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
browse.spec.js chore: clear tech debt — green the suite + delete dead code 2026-06-13 12:02:51 -05:00
build-label.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
cap.spec.js feat(server,shared): tell denied users who can — subtly, before wasted effort 2026-06-12 14:58:20 -05:00
classifier.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
classify.spec.js chore: clear tech debt — green the suite + delete dead code 2026-06-13 12:02:51 -05:00
conflict.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
diff.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
form-safety.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
landing.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
logo.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
schema.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
tables-mdl.spec.js feat(tables): "Add from archive" on the project MDL rollup 2026-06-11 15:48:22 -05:00
tables.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
toast.spec.js chore: clear tech debt — green the suite + delete dead code 2026-06-13 12:02:51 -05:00
tokens.spec.js chore: clear tech debt — green the suite + delete dead code 2026-06-13 12:02:51 -05:00
transmittal-drag-drop.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
transmittal-init-check.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
transmittal-validation.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
transmittal.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
zddc-filter.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
zddc-source.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
zddc.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00