We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fea785 commit 733954bCopy full SHA for 733954b
site/src/components/Navbar/Navbar.test.tsx
@@ -17,13 +17,13 @@ describe("Navbar", () => {
17
}),
18
)
19
render(<Navbar />)
20
- const link = await screen.findByText("Audit Log")
+ const link = await screen.findByText("Audit")
21
expect(link).toBeDefined()
22
})
23
24
it("does not show Audit Log link when not entitled", () => {
25
26
- const link = screen.getByText("Audit Log")
+ const link = screen.getByText("Audit")
27
expect(link).not.toBeDefined()
28
29
@@ -34,7 +34,7 @@ describe("Navbar", () => {
34
35
36
37
38
39
40
0 commit comments