Skill update round trip / roundtrip (false, macos-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, macos-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, symlink, latest) (push) Canceled after 0s
Skill update round trip / roundtrip (false, windows-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, windows-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, macos-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, macos-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, ubuntu-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, ubuntu-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, windows-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, windows-latest, symlink, 1.5.17) (push) Canceled after 0s
39 lines
1.2 KiB
TypeScript
39 lines
1.2 KiB
TypeScript
import { test } from './helpers/orca-app'
|
|
import {
|
|
createRuntimeDesktopPairingOffer,
|
|
launchPairedWebClient
|
|
} from './helpers/paired-electron-client'
|
|
import { runPairedTerminalParkingOracle } from './helpers/paired-terminal-parking-oracle'
|
|
|
|
test('ordinary-parks paired terminals and restores authoritative host scrollback @headful', async ({
|
|
electronApp,
|
|
orcaPage
|
|
}) => {
|
|
test.setTimeout(240_000)
|
|
const seed = await orcaPage.evaluate(() => {
|
|
const state = window.__store?.getState()
|
|
const worktrees = state?.allWorktrees() ?? []
|
|
const active = worktrees.find((worktree) => worktree.id === state?.activeWorktreeId)
|
|
if (!active) {
|
|
throw new Error('Paired retention host has no active seeded worktree')
|
|
}
|
|
return { activeWorktreeId: active.id, repoId: active.repoId }
|
|
})
|
|
const offer = await createRuntimeDesktopPairingOffer(orcaPage)
|
|
const client = await launchPairedWebClient(electronApp, offer, {
|
|
terminalParkingDelayMs: 100
|
|
})
|
|
try {
|
|
await runPairedTerminalParkingOracle(
|
|
client.page,
|
|
{
|
|
fallbackWorktreeId: seed.activeWorktreeId,
|
|
repoId: seed.repoId
|
|
},
|
|
{ hostPage: orcaPage }
|
|
)
|
|
} finally {
|
|
await client.dispose()
|
|
}
|
|
})
|