diff --git a/cypress/e2e/20-workflow-executions.cy.ts b/cypress/e2e/20-workflow-executions.cy.ts index f4249df062..bdc7c3b711 100644 --- a/cypress/e2e/20-workflow-executions.cy.ts +++ b/cypress/e2e/20-workflow-executions.cy.ts @@ -32,7 +32,6 @@ describe('Current Workflow Executions', () => { }); const createMockExecutions = () => { - workflowPage.actions.turnOnManualExecutionSaving(); executionsTab.actions.createManualExecutions(5); // Make some failed executions by enabling Code node with syntax error executionsTab.actions.toggleNodeEnabled('Error'); diff --git a/cypress/pages/workflow.ts b/cypress/pages/workflow.ts index 2a91adf783..d324314dcc 100644 --- a/cypress/pages/workflow.ts +++ b/cypress/pages/workflow.ts @@ -281,23 +281,5 @@ export class WorkflowPage extends BasePage { .type(content) .type('{esc}'); }, - turnOnManualExecutionSaving: () => { - this.getters.workflowMenu().click(); - this.getters.workflowMenuItemSettings().click(); - cy.get('.el-loading-mask').should('not.be.visible'); - this.getters - .workflowSettingsSaveManualExecutionsSelect() - .find('li:contains("Yes")') - .click({ force: true }); - - this.getters.workflowSettingsSaveManualExecutionsSelect().should('contain', 'Yes'); - this.getters.workflowSettingsSaveButton().click(); - this.getters.successToast().should('exist'); - - this.getters.workflowMenu().click(); - this.getters.workflowMenuItemSettings().click(); - this.getters.workflowSettingsSaveManualExecutionsSelect().should('contain', 'Yes'); - this.getters.workflowSettingsSaveButton().click(); - }, }; }