New test module (test_server_detail.py) — the server-detail page is NOT a files-overlay (files_overlay=False in the template), it just reuses _overlay_file_tree.html in read-only mode. Tests live separately to make the semantic split visible. The test navigates to /servers/<id>, hovers the server.cfg row to defeat the CSS :hover gate on .files-row-actions (opacity:0/pointer-events:none → 1/auto), clicks the ⬇ download link, and asserts both the suggested filename and the byte content of the downloaded file. The :hover gate is load-bearing: without locator.hover() first, pointer-events:none blocks the click. A regression that ships actions always-visible would change the user-flow ergonomics and needs to update this test deliberately. Per docs/superpowers/plans/2026-05-17-files-overlay-e2e-handoff.md (Tier 3). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_editor.py | ||
| test_files_overlay.py | ||
| test_server_detail.py | ||
| test_smoke.py | ||