mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix: Rename button in ApiKeyCreateOrEditModal and remove redundant scope (no-changelog) (#14811)
This commit is contained in:
@@ -329,11 +329,11 @@ describe('ApiKeyCreateOrEditModal', () => {
|
||||
|
||||
await fireEvent.update(labelInput, 'updated api key');
|
||||
|
||||
const editButton = getByText('Edit');
|
||||
const saveButton = getByText('Save');
|
||||
|
||||
expect(editButton).toBeInTheDocument();
|
||||
expect(saveButton).toBeInTheDocument();
|
||||
|
||||
await fireEvent.click(editButton);
|
||||
await fireEvent.click(saveButton);
|
||||
|
||||
expect(apiKeysStore.updateApiKey).toHaveBeenCalledWith('123', {
|
||||
label: 'updated api key',
|
||||
|
||||
Reference in New Issue
Block a user