feat(editor): Add "Change owner" option to editor (#15792)

This commit is contained in:
Raúl Gómez Morales
2025-06-03 09:59:07 +02:00
committed by GitHub
parent e76c45d46d
commit 5bc4e5d846
7 changed files with 116 additions and 53 deletions

View File

@@ -63,7 +63,7 @@ describe('CredentialCard', () => {
expect(badge).toHaveTextContent('John Doe');
});
it('should show Move action only if there is resource permission and not on community plan', async () => {
it('should show Change owner action only if there is resource permission and not on community plan', async () => {
vi.spyOn(projectsStore, 'isTeamProjectFeatureEnabled', 'get').mockReturnValue(true);
const data = createCredential({
@@ -84,7 +84,7 @@ describe('CredentialCard', () => {
if (!actions) {
throw new Error('Actions menu not found');
}
expect(actions).toHaveTextContent('Move');
expect(actions).toHaveTextContent('Change owner');
});
it('should set readOnly variant based on prop', () => {