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();