mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
chore: Fix NodeTitle.test.ts for Node 22 (no-changelog) (#16763)
This commit is contained in:
@@ -70,9 +70,10 @@ describe('NodeTitle', () => {
|
||||
},
|
||||
});
|
||||
const renameInput = getByTestId('inline-edit-input');
|
||||
await userEvent.type(renameInput, 'New Node Name');
|
||||
const area = getByTestId('inline-editable-area');
|
||||
|
||||
await userEvent.type(area, 'New Node Name');
|
||||
await userEvent.keyboard('{Escape}');
|
||||
await userEvent.click(renameInput);
|
||||
expect(renameInput).toHaveValue('Test Node');
|
||||
expect(emitted('update:model-value')).toBeUndefined();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user