mirror of
https://github.com/stablyai/orca.git
synced 2026-09-29 08:03:20 +00:00
test: scope selected runtime project assertions to the sidebar
This commit is contained in:
@@ -727,7 +727,12 @@ async function runSelectedRuntimeAddJourney(
|
||||
...fixture.nestedRepoPaths.map((repoPath) => path.basename(repoPath))
|
||||
]) {
|
||||
// Why: duplicate checkout names are disambiguated with a parent path.
|
||||
await expect(client.page.getByText(projectName, { exact: false }).first()).toBeVisible()
|
||||
await expect(
|
||||
client.page
|
||||
.getByRole('listbox', { name: 'Worktrees', exact: true })
|
||||
.getByText(projectName, { exact: false })
|
||||
.first()
|
||||
).toBeVisible()
|
||||
}
|
||||
expect(await client.getDirectSshAttemptTargetIds()).toEqual([])
|
||||
// Why: revealing the client must not leak into the HUB's window visibility.
|
||||
|
||||
Reference in New Issue
Block a user