Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: remove test for users navlink
  • Loading branch information
jaaydenh committed Dec 20, 2024
commit c009fc786f15f54b0adad09d1ac981df6cc1debb
19 changes: 0 additions & 19 deletions site/src/modules/dashboard/Navbar/NavbarView.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,25 +56,6 @@ describe("NavbarView", () => {
expect((templatesLink as HTMLAnchorElement).href).toContain("/templates");
});

it("users nav link has the correct href", async () => {
renderWithAuth(
<NavbarView
proxyContextValue={proxyContextValue}
user={MockUser}
onSignOut={noop}
canViewDeployment
canViewOrganizations
canViewAllUsers
canViewHealth
canViewAuditLog
/>,
);
const deploymentMenu = await screen.findByText("Admin settings");
await userEvent.click(deploymentMenu);
const userLink = await screen.findByText(navLanguage.users);
expect((userLink as HTMLAnchorElement).href).toContain("/users");
});

it("audit nav link has the correct href", async () => {
renderWithAuth(
<NavbarView
Expand Down
Loading