Pedram Amini
|
ccea26c27b
|
MAESTRO: add Auto Run session switching E2E tests (Task 6.4)
Add comprehensive E2E tests for session switching with Auto Run:
- Session content preservation (4 tests): Display different content,
preserve unsaved edits warning, restore content on round-trip,
handle rapid switching
- Session document independence (5 tests): Different document lists,
maintain selected document, correct task counts, isolate edits,
handle unconfigured sessions
- Session mode preservation (3 tests): Edit/preview mode per session,
scroll position, cursor position
- Session state isolation (4 tests): Dirty state, batch run state,
undo/redo stacks, search state
- contentVersion handling (2 tests): Respect contentVersion changes,
prevent content loss during concurrent operations
- Edge cases (4 tests): Empty document, very long document,
special characters, images/attachments
- Session list integration (2 tests): Highlight correct session,
update Auto Run on click
- Full integration (4 tests): Complete A->B->A cycle, switch during
active edit (2 skipped for multi-session infrastructure)
- Accessibility (3 tests): Focus management, keyboard navigation,
screen reader announcements
Also added 11 new session switching helper functions to the
electron-app.ts fixture for better test maintainability.
Total: 32 tests for session switching E2E coverage.
Completes Phase 6 of the Auto Run Testing Improvement Plan.
|
2025-12-14 05:14:13 -06:00 |
|