mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 00:02:31 +00:00
test(e2e): seed source control diff before opening panel (#17784)
This commit is contained in:
@@ -19,10 +19,10 @@ test('@golden opens an unstaged file diff from Source Control', async ({
|
||||
}) => {
|
||||
const fixture = createGoldenWorktree(testRepoPath, 'open-diff')
|
||||
registerPostElectronShutdownCleanup(async () => cleanupGoldenWorktree(testRepoPath, fixture))
|
||||
seedGoldenSourceEdit(fixture.worktreePath)
|
||||
|
||||
await waitForSessionReady(orcaPage)
|
||||
await openGoldenSourceControl(orcaPage, testRepoPath, fixture)
|
||||
seedGoldenSourceEdit(fixture.worktreePath)
|
||||
|
||||
const changedFile = orcaPage
|
||||
.locator('[data-testid="source-control-entry"]')
|
||||
|
||||
Reference in New Issue
Block a user