From 4ffbe03b22b05936fd39b3baeb061db2766c4024 Mon Sep 17 00:00:00 2001 From: Tadas Varanauskas Date: Wed, 5 Mar 2025 20:09:11 +0200 Subject: [PATCH] Update HTTP.test.tsx to ensure "https://" prefix is used if needed Small test update to prevent regression of #481 #482 fixed the issue, this new test would have failed before, and will prevent reoccurrence of the issue --- src/components/PageComponents/Connect/HTTP.test.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/PageComponents/Connect/HTTP.test.tsx b/src/components/PageComponents/Connect/HTTP.test.tsx index 92550988..0879a9a0 100644 --- a/src/components/PageComponents/Connect/HTTP.test.tsx +++ b/src/components/PageComponents/Connect/HTTP.test.tsx @@ -68,6 +68,8 @@ describe("HTTP Component", () => { const switchInput = screen.getByRole("switch"); expect(switchInput).toBeChecked(); + + expect(screen.getByText("https://")).toBeInTheDocument(); }); it.skip("submits form and triggers connection process", () => {