From 239eb453a33b5e47a906ed7a20aedadcc176f417 Mon Sep 17 00:00:00 2001 From: alejandrobailo Date: Wed, 22 Jul 2026 16:06:10 +0200 Subject: [PATCH] test(ui): stabilize lighthouse panel chat test --- .../lighthouse/_components/panel/lighthouse-panel-chat.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/(prowler)/lighthouse/_components/panel/lighthouse-panel-chat.test.tsx b/ui/app/(prowler)/lighthouse/_components/panel/lighthouse-panel-chat.test.tsx index f903bd87e2..0b91cc689b 100644 --- a/ui/app/(prowler)/lighthouse/_components/panel/lighthouse-panel-chat.test.tsx +++ b/ui/app/(prowler)/lighthouse/_components/panel/lighthouse-panel-chat.test.tsx @@ -174,7 +174,7 @@ describe("LighthousePanelChat", () => { expect( await screen.findByRole("textbox", { name: "Message" }), ).toBeInTheDocument(); - expect(screen.getByText("Recent chats")).toBeInTheDocument(); + expect(await screen.findByText("Recent chats")).toBeInTheDocument(); expect( await screen.findByText("Counting critical findings"), ).toBeInTheDocument();