Skip to content

Commit 1ae7820

Browse files
ShireenMissiMarcL
andcommitted
Fix flaky UI test for projects
Co-authored-by: Marc <[email protected]>
1 parent 7f98e5d commit 1ae7820

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cypress/e2e/39-projects.cy.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@ describe('Projects', { disableAutoLogin: true }, () => {
297297
workflowsPage.getters.newWorkflowButtonCard().click();
298298
workflowPage.actions.addNodeToCanvas(MANUAL_TRIGGER_NODE_NAME);
299299
workflowPage.actions.saveWorkflowOnButtonClick();
300-
workflowPage.actions.addNodeToCanvas('Execute Workflow', true, true);
300+
workflowPage.actions.addNodeToCanvas('Execute Workflow', true, false);
301+
workflowPage.actions.openNode('Execute Workflow');
301302

302303
// This mock fails when running with `test:e2e:dev` but works with `test:e2e:ui`,
303304
// at least on macOS at version 1.94.0. ¯\_(ツ)_/¯
@@ -307,7 +308,8 @@ describe('Projects', { disableAutoLogin: true }, () => {
307308
// Need to wait for the trigger node to auto-open after a delay
308309
getNdvContainer().should('be.visible');
309310
cy.get('body').type('{esc}');
310-
workflowPage.actions.addNodeToCanvas(NOTION_NODE_NAME, true, true);
311+
workflowPage.actions.addNodeToCanvas(NOTION_NODE_NAME, true, false);
312+
workflowPage.actions.openNode(NOTION_NODE_NAME);
311313
clickCreateNewCredential();
312314
setCredentialValues({
313315
apiKey: 'abc123',

0 commit comments

Comments
 (0)