fix(custom-cli): masquage des contrôles d'overlay persistants sur la custom CLI pendant un tour occupé — #249 (QA verte)

This commit is contained in:
2026-08-23 17:01:02 +02:00
parent 38f5572ce5
commit 55dc7c9dad
3 changed files with 60 additions and 32 deletions

View File

@ -219,7 +219,11 @@ describe("LayoutGrid custom agent CLI (#147)", () => {
expect(await screen.findByTestId("custom-agent-chat-view")).toBeTruthy();
expect(screen.queryByTestId("target-announcements-overlay")).toBeNull();
expect(screen.getByText("Busy · Main")).toBeTruthy();
expect(screen.queryByText("Busy · Main")).toBeNull();
expect(screen.queryByLabelText(`agent selector ${leaf.id}`)).toBeNull();
expect(screen.queryByRole("button", {
name: `cancel current turn ${leaf.id}`,
})).toBeNull();
await waitFor(() =>
expect(screen.getByLabelText(/message CLI custom/)).toHaveProperty(
"disabled",