Skip to content

Commit 5b7ad66

Browse files
committed
Add data-test attribute to sidebar menu button for testing
1 parent ed51c24 commit 5b7ad66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/js/components/nav-user.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export function NavUser() {
2929
<SidebarMenuButton
3030
size="lg"
3131
className="group text-sidebar-accent-foreground data-[state=open]:bg-sidebar-accent"
32+
data-test="sidebar-menu-button"
3233
>
3334
<UserInfo user={auth.user} />
3435
<ChevronsUpDown className="ml-auto size-4" />

0 commit comments

Comments
 (0)