mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 21:19:43 -08:00
18 lines
506 B
TypeScript
18 lines
506 B
TypeScript
import {
|
|
deleteNode,
|
|
getCanvasNodes,
|
|
navigateToNewWorkflowPage,
|
|
pasteWorkflow,
|
|
} from '../composables/workflow';
|
|
import Workflow from '../fixtures/Switch_node_with_null_connection.json';
|
|
|
|
describe('ADO-2929 can load Switch nodes', () => {
|
|
it('can load workflows with Switch nodes with null at connection index', () => {
|
|
navigateToNewWorkflowPage();
|
|
pasteWorkflow(Workflow);
|
|
getCanvasNodes().should('have.length', 3);
|
|
deleteNode('Switch');
|
|
getCanvasNodes().should('have.length', 2);
|
|
});
|
|
});
|