From 86f390f2a97eba7a281c51046a37681307680934 Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Sun, 8 Nov 2026 17:47:11 +0800 Subject: [PATCH] fix(e2e): match the plain agent reply style in the approval test (#2120) #2118 made agent replies plain text on the panel and gave the prompt the 6px tab radius; assert that style instead of the earlier card. --- e2e/agentApproval.spec.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/e2e/agentApproval.spec.ts b/e2e/agentApproval.spec.ts index 13b10b33f..a742cf887 100644 --- a/e2e/agentApproval.spec.ts +++ b/e2e/agentApproval.spec.ts @@ -112,9 +112,10 @@ for (const theme of ["dark", "light"] as const) { }); expect(geometry.scroll).toBe(geometry.client); expect(geometry.contained).toBe(true); - expect(geometry.promptRadius).toBeLessThanOrEqual(4); - expect(geometry.replyBackground).not.toBe("rgba(0, 0, 0, 0)"); - expect(geometry.replyBorder).toBe("1px"); + expect(geometry.promptRadius).toBeLessThanOrEqual(6); + // Replies read as plain text on the panel. + expect(geometry.replyBackground).toBe("rgba(0, 0, 0, 0)"); + expect(geometry.replyBorder).toBe("0px"); expect(geometry.userOnRight).toBe(true); expect(geometry.approvalAligned).toBe(true); expect(geometry.authorBeforeWork).toBe(true);