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> |
||
|---|---|---|
| .. | ||
| base.css | ||
| layout.css | ||
| spreadsheet.css | ||