fix(editor): Show input panel with not connected message (#9495)

This commit is contained in:
Csaba Tuncsik
2024-05-23 06:39:05 +02:00
committed by GitHub
parent 301e846cf6
commit 8566301731
4 changed files with 21 additions and 12 deletions

View File

@@ -24,6 +24,14 @@ describe('NDV', () => {
ndv.getters.container().should('not.be.visible');
});
it('should show input panel when node is not connected', () => {
workflowPage.actions.addInitialNodeToCanvas('Manual');
workflowPage.actions.deselectAll();
workflowPage.actions.addNodeToCanvas('Set');
workflowPage.getters.canvasNodes().last().dblclick();
ndv.getters.container().should('be.visible').should('contain', 'Wire me up');
});
it('should test webhook node', () => {
workflowPage.actions.addInitialNodeToCanvas('Webhook');
workflowPage.getters.canvasNodes().first().dblclick();