Skip to content

Commit

Permalink
Update software vulnerabilities table tests to match new empty states
Browse files Browse the repository at this point in the history
  • Loading branch information
RachelElysia committed Jun 14, 2024
1 parent e8ec563 commit d319e5c
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ describe("Software Vulnerabilities table", () => {
/>
);

expect(
screen.getByText("No software match the current search criteria")
).toBeInTheDocument();
expect(screen.getByText("No software detected")).toBeInTheDocument();
expect(screen.queryByText("Vulnerability")).toBeNull();
});

Expand Down Expand Up @@ -133,7 +131,7 @@ describe("Software Vulnerabilities table", () => {
);

expect(
screen.getByText("No software match the current search criteria")
screen.getByText("No items match the current search criteria")
).toBeInTheDocument();
expect(screen.queryByText("Vulnerability")).toBeNull();
});
Expand Down

0 comments on commit d319e5c

Please sign in to comment.