FE: Fix broken test (#28684)

This commit is contained in:
RachelElysia
2025-04-30 11:35:02 -04:00
committed by GitHub
parent 50af9e800e
commit 39df25e004
@@ -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;
};