File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
site/src/modules/dashboard/Navbar Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ describe("Navbar", () => {
22
22
} ) ,
23
23
) ;
24
24
render ( < App /> ) ;
25
- const deploymentMenu = await screen . findByText ( "Administration " ) ;
25
+ const deploymentMenu = await screen . findByText ( "Admin settings " ) ;
26
26
await userEvent . click ( deploymentMenu ) ;
27
27
await waitFor (
28
28
( ) => {
@@ -37,7 +37,7 @@ describe("Navbar", () => {
37
37
// by default, user is an Admin with permission to see the audit log,
38
38
// but is unlicensed so not entitled to see the audit log
39
39
render ( < App /> ) ;
40
- const deploymentMenu = await screen . findByText ( "Administration " ) ;
40
+ const deploymentMenu = await screen . findByText ( "Admin settings " ) ;
41
41
await userEvent . click ( deploymentMenu ) ;
42
42
await waitFor (
43
43
( ) => {
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ describe("NavbarView", () => {
69
69
canViewAuditLog
70
70
/> ,
71
71
) ;
72
- const deploymentMenu = await screen . findByText ( "Administration " ) ;
72
+ const deploymentMenu = await screen . findByText ( "Admin settings " ) ;
73
73
await userEvent . click ( deploymentMenu ) ;
74
74
const userLink = await screen . findByText ( navLanguage . users ) ;
75
75
expect ( ( userLink as HTMLAnchorElement ) . href ) . toContain ( "/users" ) ;
@@ -88,7 +88,7 @@ describe("NavbarView", () => {
88
88
canViewAuditLog
89
89
/> ,
90
90
) ;
91
- const deploymentMenu = await screen . findByText ( "Administration " ) ;
91
+ const deploymentMenu = await screen . findByText ( "Admin settings " ) ;
92
92
await userEvent . click ( deploymentMenu ) ;
93
93
const auditLink = await screen . findByText ( navLanguage . audit ) ;
94
94
expect ( ( auditLink as HTMLAnchorElement ) . href ) . toContain ( "/audit" ) ;
@@ -107,7 +107,7 @@ describe("NavbarView", () => {
107
107
canViewAuditLog
108
108
/> ,
109
109
) ;
110
- const deploymentMenu = await screen . findByText ( "Administration " ) ;
110
+ const deploymentMenu = await screen . findByText ( "Admin settings " ) ;
111
111
await userEvent . click ( deploymentMenu ) ;
112
112
const deploymentSettingsLink = await screen . findByText (
113
113
navLanguage . deployment ,
You can’t perform that action at this time.
0 commit comments