mirror of
https://github.com/stablyai/orca
synced 2026-04-21 14:17:16 +00:00
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). |
||
|---|---|---|
| .. | ||
| helpers | ||
| browser-tab.spec.ts | ||
| external-file-change-reload.spec.ts | ||
| external-file-change.spec.ts | ||
| file-open.spec.ts | ||
| global-setup.ts | ||
| global-teardown.ts | ||
| tab-close-navigation.spec.ts | ||
| tabs.spec.ts | ||
| terminal-panes.spec.ts | ||
| worktree-lifecycle.spec.ts | ||
| worktree.spec.ts | ||