Skip to content

Commit

Permalink
Frontend - fix flakey frontend test (#23408)
Browse files Browse the repository at this point in the history
Passed 5/5 runs of test-js with no flakes

- [x] Added/updated tests

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
  • Loading branch information
jacobshandling and Jacob Shandling authored Nov 5, 2024
1 parent 5eb88d1 commit dfe308f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ describe("Host Summary section", () => {
);

expect(screen.getByText("Agent")).toBeInTheDocument();
await user.hover(screen.getByText(new RegExp(orbitVersion, "i")));
await user.hover(screen.getByText(orbitVersion));

expect(
screen.getByText(new RegExp(osqueryVersion, "i"))
Expand Down

0 comments on commit dfe308f

Please sign in to comment.