fix: normalize presentation chat surface

This commit is contained in:
lda
2026-07-08 09:37:24 +07:00 Verified
parent 50b618744f
commit fa70a3ea04
2 changed files with 9 additions and 5 deletions
@@ -19,6 +19,8 @@ describe("OperatorChat", () => {
const chat = screen.getByLabelText("scripted operator chat");
expect(chat).toHaveAttribute("data-chat-theme", "light");
expect(chat).toHaveAttribute("data-presentation-surface", "editorial");
expect(screen.getAllByText(/Found prepared workflow recipe/)[0]?.closest(".chat-message"))
.toHaveClass("chat-message");
});
it("maps dark chat theme to the night presentation surface", () => {