From 5658619c813e277ebc0f50f0d8b5652d4da53693 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 11 May 2025 16:21:15 -0700 Subject: [PATCH] test: :white_check_mark: Add tests for appearance of Accept All / Reject All buttons + ability to mock IDE messages to webview --- gui/src/components/AcceptRejectAllButtons.tsx | 5 +- gui/src/context/MockIdeMessenger.ts | 40 +++++++++++++++- gui/src/pages/gui/Chat.test.tsx | 47 +++++++++++++++++++ gui/src/util/test/render.tsx | 1 + 4 files changed, 90 insertions(+), 3 deletions(-) diff --git a/gui/src/components/AcceptRejectAllButtons.tsx b/gui/src/components/AcceptRejectAllButtons.tsx index 6f6147ad2..941c19b67 100644 --- a/gui/src/components/AcceptRejectAllButtons.tsx +++ b/gui/src/components/AcceptRejectAllButtons.tsx @@ -40,7 +40,10 @@ export default function AcceptRejectAllButtons({ } return ( -
+