mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 00:02:31 +00:00
fix: stabilize worktree lineage e2e seed (#2508)
This commit is contained in:
@@ -17,6 +17,12 @@ export async function seedLineageScenario(page: Page): Promise<LineageScenario>
|
||||
state.setSidebarOpen(true)
|
||||
state.setGroupBy('none')
|
||||
state.setSortBy('recent')
|
||||
// Why: these specs assert lineage structure, not the user's persisted
|
||||
// sidebar filters. Make the seeded child render even when it has no live PTY.
|
||||
state.setShowActiveOnly(false)
|
||||
state.setShowSleepingWorkspaces(true)
|
||||
state.setHideDefaultBranchWorkspace(false)
|
||||
state.setFilterRepoIds([])
|
||||
|
||||
const worktrees = Object.values(state.worktreesByRepo)
|
||||
.flat()
|
||||
|
||||
Reference in New Issue
Block a user