mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-11 13:15:28 +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:
parent
e33cc2c27c
commit
66e43b279b
@ -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');
|
||||
|
@ -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();
|
||||
},
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user