mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
* refactor(e2e): group journeys and fixtures by feature ownership * refactor(e2e): consolidate remaining Playwright owner imports * test(ci): stop copying retired route modules into fixtures * fix(browser): preserve one-shot follow intent across equal snapshots * refactor(settings): colocate commit message defaults with source control * test(browser): await page registration and focus the concrete page * fix(browser): keep viewport recovery progressing during incompatible frames * fix(browser): wait for stale helper exit before replacement commands
14 lines
612 B
TypeScript
14 lines
612 B
TypeScript
import { test as base } from '../desktop/electron-fixtures/orca-app'
|
|
|
|
import { createSeededTestRepo } from '../workspaces/repository-fixtures/seeded-test-repo'
|
|
import { cleanupTestRepository } from '../global-teardown'
|
|
|
|
export const test = base.extend({
|
|
seededRepoPath: async ({ registerPostElectronShutdownCleanup }, provideFixture) => {
|
|
// Git indexes and remotes must not survive between generation scenarios.
|
|
const repoPath = createSeededTestRepo({ publishPath: false })
|
|
registerPostElectronShutdownCleanup(async () => cleanupTestRepository(repoPath))
|
|
await provideFixture(repoPath)
|
|
}
|
|
})
|