1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-12-28 22:52:16 +03:00

ci: e2e tests don't need to enable saving manual executions

saving manual executions is enabled by default now
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2023-07-05 20:36:58 +02:00
parent e33cc2c27c
commit 66e43b279b
2 changed files with 0 additions and 19 deletions

View File

@ -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');

View File

@ -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();
},
};
}