orca/tests/e2e
brennanb2025 bb92e4c5f7 test(e2e): cover remaining external-file-change paths from PR #735
Adds four specs filling gaps the original external-file-change suite left
open. Each test targets a path PR #735 ships that is easy to regress
without breaking the spec we already had:

- Sidebar-off-Explorer: external write must still reload an open tab when
  the right sidebar is switched to Source Control, verifying the
  subscription actually hoisted out of the Explorer panel.
- Non-active tab reload on switch: keepCurrentModel + content-prop drift
  sync ensures a background tab repaints to on-disk content when the user
  switches to it after an external write.
- Multi-worktree isolation: external write in worktree A must not touch
  tabs belonging to worktree B (guards against cross-wired watcher
  targets).
- External rename: single-payload delete+paired-create with matching
  basename flips the tab to externalMutation === 'renamed', exercising
  hasRenameCorrelatedCreate (existing test 4 only covered unpaired
  delete).

Mutation-verified the rename spec by forcing hasRenameCorrelatedCreate to
return false — confirmed only the rename test fails. Other new specs
share failure modes with the already-verified Mutation A (killing the
reload subscription).
2026-04-19 18:55:16 -07:00
..
helpers test(e2e): key Monaco registry by viewStateKey to fix split-pane lifecycle 2026-04-19 17:45:28 -07:00
browser-tab.spec.ts feat: add idempotent E2E test suite with headless Electron support (#671) 2026-04-19 12:09:32 -07:00
external-file-change-reload.spec.ts test(e2e): cover remaining external-file-change paths from PR #735 2026-04-19 18:55:16 -07:00
external-file-change.spec.ts test(e2e): key Monaco registry by viewStateKey to fix split-pane lifecycle 2026-04-19 17:45:28 -07:00
file-open.spec.ts feat: add idempotent E2E test suite with headless Electron support (#671) 2026-04-19 12:09:32 -07:00
global-setup.ts feat: add idempotent E2E test suite with headless Electron support (#671) 2026-04-19 12:09:32 -07:00
global-teardown.ts feat: add idempotent E2E test suite with headless Electron support (#671) 2026-04-19 12:09:32 -07:00
tab-close-navigation.spec.ts test(e2e): harden new tab-close and worktree-lifecycle specs 2026-04-19 15:44:23 -07:00
tabs.spec.ts feat: add idempotent E2E test suite with headless Electron support (#671) 2026-04-19 12:09:32 -07:00
terminal-panes.spec.ts feat: add idempotent E2E test suite with headless Electron support (#671) 2026-04-19 12:09:32 -07:00
worktree-lifecycle.spec.ts test(e2e): harden new tab-close and worktree-lifecycle specs 2026-04-19 15:44:23 -07:00
worktree.spec.ts feat: add idempotent E2E test suite with headless Electron support (#671) 2026-04-19 12:09:32 -07:00