From 008d6bb2a3b556f953c0c2644ee5766fb4307dce Mon Sep 17 00:00:00 2001 From: UO277876 <79647031+UO277876@users.noreply.github.com> Date: Mon, 2 May 2022 20:51:46 +0200 Subject: [PATCH] =?UTF-8?q?test=20a=C3=B1adido?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapp/src/test/Login/ErrorPod.test.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 webapp/src/test/Login/ErrorPod.test.tsx diff --git a/webapp/src/test/Login/ErrorPod.test.tsx b/webapp/src/test/Login/ErrorPod.test.tsx new file mode 100644 index 0000000..31f3c4c --- /dev/null +++ b/webapp/src/test/Login/ErrorPod.test.tsx @@ -0,0 +1,9 @@ +import { render } from "@testing-library/react"; +import ErrorPod from "../../components/Login/ErrorPod"; + +test("Vista error POD correcta", async () => { + const { getByText } = render(); + + expect(getByText('" NO TODOS LOS DATOS DEL POD HAN SIDO PROPORCIONADO CAMBIELOS O USE OTRO POD"')).toBeInTheDocument(); + expect(getByText("Aceptar")).toBeInTheDocument(); +}) \ No newline at end of file