Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

fix(e2e): match the plain agent reply style in the approval test (#2120)

l0ng-ai86f390f2a97e
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);