diff --git a/frontend/src/components/pages/security/roles/role-create-dialog.tsx b/frontend/src/components/pages/security/roles/role-create-dialog.tsx index 70a9f23649..947988ce17 100644 --- a/frontend/src/components/pages/security/roles/role-create-dialog.tsx +++ b/frontend/src/components/pages/security/roles/role-create-dialog.tsx @@ -97,7 +97,11 @@ export const RoleCreateDialog = ({ open, onOpenChange }: RoleCreateDialogProps) - diff --git a/frontend/src/components/pages/security/roles/role-detail-page-new.tsx b/frontend/src/components/pages/security/roles/role-detail-page-new.tsx index 4bf9098dc3..e0ce091ef4 100644 --- a/frontend/src/components/pages/security/roles/role-detail-page-new.tsx +++ b/frontend/src/components/pages/security/roles/role-detail-page-new.tsx @@ -121,10 +121,10 @@ export const RoleDetailPageNew = () => { className="w-56" clearable={false} disabled={isSubmitting} + inputTestId="add-principal-combobox" onChange={addMember} options={availablePrincipalOptions} placeholder="Add a principal..." - testId="add-principal-combobox" value="" /> } diff --git a/frontend/src/components/pages/security/shared/acls-card.tsx b/frontend/src/components/pages/security/shared/acls-card.tsx index 1cdd5bdc94..6a54533c4c 100644 --- a/frontend/src/components/pages/security/shared/acls-card.tsx +++ b/frontend/src/components/pages/security/shared/acls-card.tsx @@ -302,7 +302,7 @@ export const AclsCard = ({ acls, principal, isLoading }: AclsCardProps) => { )} {principal && ( - )} @@ -374,7 +374,12 @@ export const AclsCard = ({ acls, principal, isLoading }: AclsCardProps) => { - diff --git a/frontend/src/components/pages/security/tabs/users-tab-new.tsx b/frontend/src/components/pages/security/tabs/users-tab-new.tsx index 19f995c27f..94812e9cd9 100644 --- a/frontend/src/components/pages/security/tabs/users-tab-new.tsx +++ b/frontend/src/components/pages/security/tabs/users-tab-new.tsx @@ -556,12 +556,18 @@ const UserActions = ({ user }: { user: PrincipalEntry }) => { - { e.stopPropagation(); setIsChangePasswordModalOpen(true); @@ -571,6 +577,7 @@ const UserActions = ({ user }: { user: PrincipalEntry }) => { Change password { e.stopPropagation(); setIsDeleteModalOpen(true); diff --git a/frontend/src/components/pages/security/users/add-acl-dialog.tsx b/frontend/src/components/pages/security/users/add-acl-dialog.tsx index 0b7136236d..054197887a 100644 --- a/frontend/src/components/pages/security/users/add-acl-dialog.tsx +++ b/frontend/src/components/pages/security/users/add-acl-dialog.tsx @@ -459,7 +459,7 @@ export const AddAclDialog = ({ open, onOpenChange, principal }: AddAclDialogProp - diff --git a/frontend/src/components/pages/security/users/user-details-new.tsx b/frontend/src/components/pages/security/users/user-details-new.tsx index e2b57ea09b..45b70654a7 100644 --- a/frontend/src/components/pages/security/users/user-details-new.tsx +++ b/frontend/src/components/pages/security/users/user-details-new.tsx @@ -123,12 +123,16 @@ export const UserDetailsPageNew = ({ userName }: UserDetailsPageProps) => {
- {Boolean(isServiceAccount) && ( - diff --git a/frontend/src/components/pages/security/users/user-edit-modals.tsx b/frontend/src/components/pages/security/users/user-edit-modals.tsx index 2824d6d5b6..3b2c257975 100644 --- a/frontend/src/components/pages/security/users/user-edit-modals.tsx +++ b/frontend/src/components/pages/security/users/user-edit-modals.tsx @@ -85,9 +85,9 @@ export const ChangePasswordModal = ({ userName, isOpen, setIsOpen }: ChangePassw
setPassword(e.target.value)} + testId="create-user-password" type="password" value={password} /> @@ -150,6 +150,7 @@ export const ChangePasswordModal = ({ userName, isOpen, setIsOpen }: ChangePassw Cancel