Multiple workspaces can share one checkout directory. Agent and terminal status, sidebar tabs, and ownership now attribute strictly by workspace ID, so a running or blocked agent in one workspace no longer shows up on its same-directory siblings. A one-time startup migration backfills workspace IDs onto legacy agents, and every agent and terminal is created with one thereafter. Directory lookups remain only for genuinely folder-derived git facts (branch, diff) and the archive-by-path adapter.
14 lines
420 B
TypeScript
14 lines
420 B
TypeScript
import { type Page } from "@playwright/test";
|
|
|
|
export function renameModalInput(page: Page, testIdPrefix: string) {
|
|
return page.getByTestId(`${testIdPrefix}-input`);
|
|
}
|
|
|
|
export function renameModalSubmit(page: Page, testIdPrefix: string) {
|
|
return page.getByTestId(`${testIdPrefix}-submit`);
|
|
}
|
|
|
|
export function renameModalError(page: Page, testIdPrefix: string) {
|
|
return page.getByTestId(`${testIdPrefix}-error`);
|
|
}
|