fix: stabilize worktree lineage e2e seed (#2508)

This commit is contained in:
Neil
2026-05-21 01:33:53 -07:00
committed by GitHub
parent fbf53aa4cc
commit 1fd8f4ff23
+6
View File
@@ -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()