test: Fix flaky code node switching test (#13090)

This commit is contained in:
Elias Meire
2025-02-06 11:38:39 +01:00
committed by GitHub
parent 00e3ebc9e2
commit df89c6fff4

View File

@@ -54,9 +54,6 @@ describe('Code node', () => {
WorkflowPage.actions.openNode('Code');
ndv.actions.clickFloatingNode('Code1');
getEditor().should('have.text', "console.log('code node 2')");
getEditor().type('{selectall}').type("console.log('code node 2 edited')");
// wait for debounce
cy.wait(200);
ndv.actions.clickFloatingNode('Code');
getEditor().should('have.text', "console.log('code node 1')");