From bda9cdbbef8d5daac5aaf7f220d5f0d5b3738306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=95=E0=A4=BE=E0=A4=B0=E0=A4=A4=E0=A5=8B=E0=A4=AB?= =?UTF-8?q?=E0=A5=8D=E0=A4=AB=E0=A5=87=E0=A4=B2=E0=A4=B8=E0=A5=8D=E0=A4=95?= =?UTF-8?q?=E0=A5=8D=E0=A4=B0=E0=A4=BF=E0=A4=AA=E0=A5=8D=E0=A4=9F=E2=84=A2?= Date: Wed, 10 May 2023 11:08:45 +0200 Subject: [PATCH] fix some more tests --- cypress/e2e/15-scheduler-node.cy.ts | 4 ++++ cypress/e2e/19-execution.cy.ts | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/15-scheduler-node.cy.ts b/cypress/e2e/15-scheduler-node.cy.ts index 0dfb20ffe4a31..b3ffd430e1631 100644 --- a/cypress/e2e/15-scheduler-node.cy.ts +++ b/cypress/e2e/15-scheduler-node.cy.ts @@ -9,6 +9,10 @@ describe('Schedule Trigger node', async () => { cy.skipSetup(); }); + beforeEach(() => { + workflowPage.actions.visit(); + }); + it('should execute and return the execution timestamp', () => { workflowPage.actions.addInitialNodeToCanvas('Schedule Trigger'); workflowPage.actions.openNode('Schedule Trigger'); diff --git a/cypress/e2e/19-execution.cy.ts b/cypress/e2e/19-execution.cy.ts index 426cbe1a49021..983e5e4bba425 100644 --- a/cypress/e2e/19-execution.cy.ts +++ b/cypress/e2e/19-execution.cy.ts @@ -10,6 +10,10 @@ describe('Execution', () => { cy.skipSetup(); }); + beforeEach(() => { + workflowPage.actions.visit(); + }); + it('should test manual workflow', () => { cy.createFixtureWorkflow('Manual_wait_set.json', `Manual wait set ${uuid()}`); @@ -263,7 +267,6 @@ describe('Execution', () => { .canvasNodeByName('Set') .within(() => cy.get('.fa-check').should('not.exist')); - // Check canvas nodes after workflow stopped workflowPage.getters .canvasNodeByName('Webhook')