Opens server.cfg, drives the CM6 controller to a dirty buffer, presses Escape to close without saving, then reopens the same file and asserts the editor shows the original disk content — not the discarded buffer. Pins two invariants: native <dialog>'s cancel→close path stays intact (no JS shortcut around Escape), and the reopened editor fetches a FRESH fragment via htmx.ajax with CM6 re-mounting on the new textarea. A regression that cached buffer state to "feel snappy" would fail this test loudly. Per docs/superpowers/plans/2026-05-17-files-overlay-e2e-handoff.md (Tier 2 case B). 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 | ||