Skip to content

Commit

Permalink
Merge pull request #265 from Arquisoft/uo277876-bugs
Browse files Browse the repository at this point in the history
test añadido
  • Loading branch information
UO277876 authored May 2, 2022
2 parents 5e4c32f + 008d6bb commit ad9e1e6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions webapp/src/test/Login/ErrorPod.test.tsx
Original file line number Diff line number Diff line change
@@ -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(<ErrorPod />);

expect(getByText('" NO TODOS LOS DATOS DEL POD HAN SIDO PROPORCIONADO CAMBIELOS O USE OTRO POD"')).toBeInTheDocument();
expect(getByText("Aceptar")).toBeInTheDocument();
})

0 comments on commit ad9e1e6

Please sign in to comment.