Forked from OpenCode v1.17.4 with multi-agent system: - 5 agents: aircoding, scheduler, worker, architect, reviewer - Deterministic DAG scheduling engine (coordinator_tick) - Tool whitelists as hard enforcement - AirCoding validation plugin - V1 requirements: C4 docs, ADR, AGENTS.md, debug-log.md - Design documents in docs/
12 lines
380 B
TypeScript
12 lines
380 B
TypeScript
import { expect, type Locator, type Page } from "@playwright/test"
|
|
|
|
export const APP_READY_TIMEOUT = 30_000
|
|
|
|
export async function expectAppVisible(locator: Locator) {
|
|
await expect(locator).toBeVisible({ timeout: APP_READY_TIMEOUT })
|
|
}
|
|
|
|
export async function expectSessionTitle(page: Page, title: string) {
|
|
await expectAppVisible(page.getByRole("heading", { name: title }))
|
|
}
|