From e85fe4abec30e3c27a2570dcfd9b09263bc89aa8 Mon Sep 17 00:00:00 2001 From: Charlie Kolb Date: Tue, 28 Jan 2025 15:57:00 +0100 Subject: [PATCH] chore: Fix failing e2e tests (no-changelog) (#12897) --- cypress/e2e/45-workflow-selector-parameter.cy.ts | 2 +- cypress/e2e/48-subworkflow-inputs.cy.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cypress/e2e/45-workflow-selector-parameter.cy.ts b/cypress/e2e/45-workflow-selector-parameter.cy.ts index 38de780490..ac790a2923 100644 --- a/cypress/e2e/45-workflow-selector-parameter.cy.ts +++ b/cypress/e2e/45-workflow-selector-parameter.cy.ts @@ -17,7 +17,7 @@ describe('Workflow Selector Parameter', () => { workflowPage.actions.visit(); workflowPage.actions.addInitialNodeToCanvas(EXECUTE_WORKFLOW_NODE_NAME, { keepNdvOpen: true, - action: 'Call Another Workflow', + action: 'Execute A Sub Workflow', }); }); it('should render sub-workflows list', () => { diff --git a/cypress/e2e/48-subworkflow-inputs.cy.ts b/cypress/e2e/48-subworkflow-inputs.cy.ts index aababf4cb6..2c1815d36c 100644 --- a/cypress/e2e/48-subworkflow-inputs.cy.ts +++ b/cypress/e2e/48-subworkflow-inputs.cy.ts @@ -66,7 +66,7 @@ describe('Sub-workflow creation and typed usage', () => { // NAVIGATE TO CHILD WORKFLOW // ************************** - openNode('Workflow Input Trigger'); + openNode('When Executed by Another Workflow'); }); it('works with type-checked values', () => { @@ -142,7 +142,7 @@ describe('Sub-workflow creation and typed usage', () => { }); selectResourceLocatorItem('workflowId', 0, 'Create a'); - openNode('Workflow Input Trigger'); + openNode('When Executed by Another Workflow'); getParameterInputByName('inputSource').click(); @@ -181,7 +181,7 @@ describe('Sub-workflow creation and typed usage', () => { // Executing the workflow should show an error toast clickExecuteWorkflowButton(); errorToast().should('contain', 'The workflow has issues'); - openNode('Workflow Input Trigger'); + openNode('When Executed by Another Workflow'); // Add a field to the workflowInputs fixedCollection addItemToFixedCollection('workflowInputs'); typeIntoFixedCollectionItem('workflowInputs', 0, 'test');