Explorar el Código

add data-testid

Shun Miyazawa hace 2 años
padre
commit
cd57a57d05

+ 4 - 1
apps/app/src/components/Sidebar/SidebarNav/PersonalDropdown.tsx

@@ -49,7 +49,10 @@ export const PersonalDropdown = (): JSX.Element => {
           <UserPicture user={currentUser} noLink noTooltip />
           <UserPicture user={currentUser} noLink noTooltip />
         </DropdownToggle>
         </DropdownToggle>
 
 
-        <DropdownMenu container="body">
+        <DropdownMenu
+          container="body"
+          data-testid="personal-dropdown-menu"
+        >
           <DropdownItem header>
           <DropdownItem header>
             <div className="mt-2 mb-3">
             <div className="mt-2 mb-3">
               <UserPicture user={currentUser} size="lg" noLink noTooltip />
               <UserPicture user={currentUser} size="lg" noLink noTooltip />