fix(editor): Skip disabled nodes when detecting workflow issues (#9610)

This commit is contained in:
Milorad FIlipović
2024-06-04 13:26:57 +02:00
committed by GitHub
parent 87faa58045
commit 245c63f216
3 changed files with 73 additions and 41 deletions

View File

@@ -298,10 +298,13 @@ export class WorkflowPage extends BasePage {
this.getters.workflowNameInput().should('be.enabled');
this.getters.workflowNameInput().clear().type(name).type('{enter}');
},
activateWorkflow: () => {
cy.intercept('PATCH', '/rest/workflows/*').as('activateWorkflow');
clickWorkflowActivator: () => {
this.getters.activatorSwitch().find('input').first().should('be.enabled');
this.getters.activatorSwitch().click();
},
activateWorkflow: () => {
cy.intercept('PATCH', '/rest/workflows/*').as('activateWorkflow');
this.actions.clickWorkflowActivator();
cy.wait('@activateWorkflow');
cy.get('body').type('{esc}');
},