Skip to content

Commit

Permalink
fix some more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy committed May 10, 2023
1 parent e9d7f14 commit bda9cdb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions cypress/e2e/15-scheduler-node.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
5 changes: 4 additions & 1 deletion cypress/e2e/19-execution.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()}`);

Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit bda9cdb

Please sign in to comment.