mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
FE: Fix broken test (#28684)
This commit is contained in:
parent
50af9e800e
commit
39df25e004
1 changed files with 4 additions and 4 deletions
|
|
@ -54,7 +54,7 @@ describe("Device User Page", () => {
|
|||
);
|
||||
|
||||
// waiting for the device data to render
|
||||
await screen.findByText("About");
|
||||
await screen.findByText(/Details/);
|
||||
|
||||
expect(screen.queryByText(/Software/)).not.toBeInTheDocument();
|
||||
});
|
||||
|
|
@ -76,7 +76,7 @@ describe("Device User Page", () => {
|
|||
);
|
||||
|
||||
// waiting for the device data to render
|
||||
await screen.findByText("About");
|
||||
await screen.findByText(/Details/);
|
||||
|
||||
expect(screen.queryByText(/Certificates/)).not.toBeInTheDocument();
|
||||
});
|
||||
|
|
@ -103,7 +103,7 @@ describe("Device User Page", () => {
|
|||
);
|
||||
|
||||
// waiting for the device data to render
|
||||
await screen.findByText("About");
|
||||
await screen.findByText(/Details/);
|
||||
|
||||
expect(screen.queryByText(/Certificates/)).not.toBeInTheDocument();
|
||||
});
|
||||
|
|
@ -126,7 +126,7 @@ describe("Device User Page", () => {
|
|||
);
|
||||
|
||||
// waiting for the device data to render
|
||||
await screen.findByText("About");
|
||||
await screen.findByText(/Details/);
|
||||
|
||||
return user;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue