mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(editor): Add "Change owner" option to editor (#15792)
This commit is contained in:
committed by
GitHub
parent
e76c45d46d
commit
5bc4e5d846
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user