mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08: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 = () => {
|
const createMockExecutions = () => {
|
||||||
workflowPage.actions.turnOnManualExecutionSaving();
|
|
||||||
executionsTab.actions.createManualExecutions(5);
|
executionsTab.actions.createManualExecutions(5);
|
||||||
// Make some failed executions by enabling Code node with syntax error
|
// Make some failed executions by enabling Code node with syntax error
|
||||||
executionsTab.actions.toggleNodeEnabled('Error');
|
executionsTab.actions.toggleNodeEnabled('Error');
|
||||||
|
|
|
@ -281,23 +281,5 @@ export class WorkflowPage extends BasePage {
|
||||||
.type(content)
|
.type(content)
|
||||||
.type('{esc}');
|
.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 a new issue