File tree 1 file changed +9
-3
lines changed
site/src/modules/dashboard/Navbar 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,9 @@ type Story = StoryObj<typeof NavbarView>;
26
26
export const ForAdmin : Story = {
27
27
play : async ( { canvasElement } ) => {
28
28
const canvas = within ( canvasElement ) ;
29
- await userEvent . click ( canvas . getByRole ( "button" , { name : "Manage" } ) ) ;
29
+ await userEvent . click (
30
+ canvas . getByRole ( "button" , { name : "Administration" } ) ,
31
+ ) ;
30
32
} ,
31
33
} ;
32
34
@@ -41,7 +43,9 @@ export const ForAuditor: Story = {
41
43
} ,
42
44
play : async ( { canvasElement } ) => {
43
45
const canvas = within ( canvasElement ) ;
44
- await userEvent . click ( canvas . getByRole ( "button" , { name : "Manage" } ) ) ;
46
+ await userEvent . click (
47
+ canvas . getByRole ( "button" , { name : "Administration" } ) ,
48
+ ) ;
45
49
} ,
46
50
} ;
47
51
@@ -56,7 +60,9 @@ export const ForOrgAdmin: Story = {
56
60
} ,
57
61
play : async ( { canvasElement } ) => {
58
62
const canvas = within ( canvasElement ) ;
59
- await userEvent . click ( canvas . getByRole ( "button" , { name : "Manage" } ) ) ;
63
+ await userEvent . click (
64
+ canvas . getByRole ( "button" , { name : "Administration" } ) ,
65
+ ) ;
60
66
} ,
61
67
} ;
62
68
You can’t perform that action at this time.
0 commit comments