chore: Fix failing e2e tests (no-changelog) (#12897)

This commit is contained in:
Charlie Kolb 2025-01-28 15:57:00 +01:00 committed by GitHub
parent dc85b022d1
commit e85fe4abec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ describe('Workflow Selector Parameter', () => {
workflowPage.actions.visit(); workflowPage.actions.visit();
workflowPage.actions.addInitialNodeToCanvas(EXECUTE_WORKFLOW_NODE_NAME, { workflowPage.actions.addInitialNodeToCanvas(EXECUTE_WORKFLOW_NODE_NAME, {
keepNdvOpen: true, keepNdvOpen: true,
action: 'Call Another Workflow', action: 'Execute A Sub Workflow',
}); });
}); });
it('should render sub-workflows list', () => { it('should render sub-workflows list', () => {

View file

@ -66,7 +66,7 @@ describe('Sub-workflow creation and typed usage', () => {
// NAVIGATE TO CHILD WORKFLOW // NAVIGATE TO CHILD WORKFLOW
// ************************** // **************************
openNode('Workflow Input Trigger'); openNode('When Executed by Another Workflow');
}); });
it('works with type-checked values', () => { it('works with type-checked values', () => {
@ -142,7 +142,7 @@ describe('Sub-workflow creation and typed usage', () => {
}); });
selectResourceLocatorItem('workflowId', 0, 'Create a'); selectResourceLocatorItem('workflowId', 0, 'Create a');
openNode('Workflow Input Trigger'); openNode('When Executed by Another Workflow');
getParameterInputByName('inputSource').click(); getParameterInputByName('inputSource').click();
@ -181,7 +181,7 @@ describe('Sub-workflow creation and typed usage', () => {
// Executing the workflow should show an error toast // Executing the workflow should show an error toast
clickExecuteWorkflowButton(); clickExecuteWorkflowButton();
errorToast().should('contain', 'The workflow has issues'); errorToast().should('contain', 'The workflow has issues');
openNode('Workflow Input Trigger'); openNode('When Executed by Another Workflow');
// Add a field to the workflowInputs fixedCollection // Add a field to the workflowInputs fixedCollection
addItemToFixedCollection('workflowInputs'); addItemToFixedCollection('workflowInputs');
typeIntoFixedCollectionItem('workflowInputs', 0, 'test'); typeIntoFixedCollectionItem('workflowInputs', 0, 'test');