mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00: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:
@@ -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();
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user