Clicks `+ new file` at the overlay root, fills the routed editor's filename + CM6 content, and clicks Create. Asserts the modal closes, the file lands on disk, AND the new row appears in the live tree after the debounced HTMX refresh — the last assertion catches the class of bug where /files/save persists but scheduleRefresh(parentOf(fullPath)) never lands a fresh listing. The new-file modal reuses overlay_file_editor.html with is_new=True; this test exercises the branch in routedSaveClicked that composes fullPath from filename + data-at-folder, distinct from the rename-on-save path the edit-mode test covers. Per docs/superpowers/plans/2026-05-17-files-overlay-e2e-handoff.md. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_editor.py | ||
| test_files_overlay.py | ||
| test_smoke.py | ||