mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
10 lines
511 B
TypeScript
10 lines
511 B
TypeScript
import { expect, story } from "../../stories/playwright/story"
|
|
|
|
story("a subagent session shows its model where the composer would be", async ({ mount, page }) => {
|
|
await mount("app-current-session-surface--child-session")
|
|
|
|
const bar = page.locator('[data-component="subagent-bar"]')
|
|
await expect(bar.locator('[data-slot="subagent-model"]')).toHaveText("Anthropic / Claude Opus 5.5")
|
|
await expect(bar).toContainText(/high/i)
|
|
await expect(page.locator('[data-component="composer"]')).toHaveCount(0)
|
|
})
|