fix(editor): Don't mark node as dirty when NDV is opened (#15222)

This commit is contained in:
Suguru Inoue
2025-05-20 15:23:38 +02:00
committed by GitHub
parent fbf7083062
commit 8d1170e3dd
4 changed files with 53 additions and 14 deletions

View File

@@ -55,13 +55,16 @@ describe('Sub-workflow creation and typed usage', () => {
openNode('Execute Workflow');
let openedUrl = '';
// Prevent sub-workflow from opening in new window
cy.window().then((win) => {
cy.stub(win, 'open').callsFake((url) => {
cy.visit(url);
openedUrl = url;
});
});
selectResourceLocatorItem('workflowId', 0, 'Create a');
cy.then(() => cy.visit(openedUrl));
// **************************
// NAVIGATE TO CHILD WORKFLOW
// **************************