diff --git a/src/UserMenu.tsx b/src/UserMenu.tsx index 36cad0d..6a1b3a0 100644 --- a/src/UserMenu.tsx +++ b/src/UserMenu.tsx @@ -58,6 +58,7 @@ export function UserMenu({ key: "user", icon: UserIcon, label: displayName, + dataTestid: "usermenu_user", }); if (isPasswordlessUser && !preventNavigation) { @@ -65,6 +66,7 @@ export function UserMenu({ key: "login", label: t("Sign in"), icon: LoginIcon, + dataTestid: "usermenu_login", }); } @@ -73,6 +75,7 @@ export function UserMenu({ key: "logout", label: t("Sign out"), icon: LogoutIcon, + dataTestid: "usermenu_logout", }); } } @@ -93,7 +96,11 @@ export function UserMenu({ return ( -