Skip to content

Commit 78112ef

Browse files
committed
Add data-test attribute to sidebar menu button for testing
1 parent a43a468 commit 78112ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/js/components/NavUser.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const { isMobile, state } = useSidebar();
2828
<SidebarMenuButton
2929
size="lg"
3030
class="data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground"
31+
data-test="sidebar-menu-button"
3132
>
3233
<UserInfo :user="user" />
3334
<ChevronsUpDown class="ml-auto size-4" />

0 commit comments

Comments
 (0)