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