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.
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-08 17:47:11 +08:00
1 джерело 78784837d1
коміт 86f390f2a9
1 file changed
+4 -3
+4 -3
Переглянути файл
@@ -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);