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
24 lines
664 B
TypeScript
24 lines
664 B
TypeScript
import { expect } from './orca-app'
|
|
import type { PairedElectronClient } from './paired-electron-client'
|
|
|
|
export async function assertRuntimeSshStatus(
|
|
client: PairedElectronClient,
|
|
targetId: string,
|
|
expectedStatus: string
|
|
): Promise<void> {
|
|
await expect
|
|
.poll(
|
|
() =>
|
|
client.page.evaluate(
|
|
({ environmentId, targetId }) =>
|
|
window.__store
|
|
?.getState()
|
|
.sshStateByEnvironment.get(environmentId)
|
|
?.connectionStates.get(targetId)?.status ?? null,
|
|
{ environmentId: client.environmentId, targetId }
|
|
),
|
|
{ timeout: 30_000 }
|
|
)
|
|
.toBe(expectedStatus)
|
|
}
|