mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(editor): Fix NDV close after using input select (#7544)
This commit is contained in:
@@ -161,3 +161,10 @@ Cypress.Commands.add('draganddrop', (draggableSelector, droppableSelector) => {
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Cypress.Commands.add('shouldNotHaveConsoleErrors', () => {
|
||||
cy.window().then((win) => {
|
||||
const spy = cy.spy(win.console, 'error');
|
||||
cy.wrap(spy).should('not.have.been.called');
|
||||
});
|
||||
});
|
||||
|
||||
@@ -37,6 +37,7 @@ declare global {
|
||||
options?: { abs?: boolean; index?: number; realMouse?: boolean },
|
||||
): void;
|
||||
draganddrop(draggableSelector: string, droppableSelector: string): void;
|
||||
shouldNotHaveConsoleErrors(): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user