test(ui): drop duplicated subtitle assertions in the header tests

This commit is contained in:
Yuneng Jiang 2026-08-25 23:30:17 -07:00
parent 7c777a0b4b
commit 41e6e58915
No known key found for this signature in database
2 changed files with 0 additions and 2 deletions

View file

@ -100,7 +100,6 @@ describe("AccessGroupsPage", () => {
expect(screen.getByRole("heading", { name: "Access Groups" })).toBeInTheDocument();
expect(screen.getByText("Manage resource permissions for your organization")).toBeInTheDocument();
expect(document.querySelector(".lucide-boxes")).not.toBeNull();
expect(screen.getByText("Manage resource permissions for your organization")).toBeInTheDocument();
});
it("shows the Create Access Group button for an admin", () => {

View file

@ -111,7 +111,6 @@ describe("GuardrailsOverview", () => {
expect(await screen.findByRole("heading", { name: "Guardrails Monitor", level: 1 })).toBeInTheDocument();
expect(screen.getByText("Monitor guardrail performance across all requests")).toBeInTheDocument();
expect(document.querySelector(".lucide-heart-pulse")).not.toBeNull();
expect(screen.getByText("Monitor guardrail performance across all requests")).toBeInTheDocument();
expect(screen.getByRole("button", { name: /Export Data/i })).toBeInTheDocument();
});