Skip to content

Commit

Permalink
Update src/app/subnets/views/SubnetDetails/StaticDHCPLease/ReserveDHC…
Browse files Browse the repository at this point in the history
…PLease/ReserveDHCPLease.test.tsx

Co-authored-by: Nick De Villiers <nick.devilliers@canonical.com>
  • Loading branch information
r00ta and ndv99 authored Oct 22, 2024
1 parent 3b027c2 commit f90cfd1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ it("displays an error if the IP address or the MAC address are not entered", asy
{ state }
);

await userEvent.tab();
await userEvent.tab();
await userEvent.click(screen.getByRole("textbox", { name: "IP address" }));
await userEvent.click(screen.getByRole("textbox", { name: "MAC address" }));
await userEvent.tab();

expect(screen.getByText("IP address is required")).toBeInTheDocument();
Expand Down

0 comments on commit f90cfd1

Please sign in to comment.