mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat: Add workflow and credential sharing access e2e tests (#5463)
feat: add workflow and credential sharing access e2e tests
This commit is contained in:
@@ -40,10 +40,7 @@ Cypress.Commands.add('createFixtureWorkflow', (fixtureKey, workflowName) => {
|
||||
WorkflowPage.getters
|
||||
.workflowImportInput()
|
||||
.selectFile(`cypress/fixtures/${fixtureKey}`, { force: true });
|
||||
WorkflowPage.getters.workflowNameInput().should('be.disabled');
|
||||
WorkflowPage.getters.workflowNameInput().parent().click();
|
||||
WorkflowPage.getters.workflowNameInput().should('be.enabled');
|
||||
WorkflowPage.getters.workflowNameInput().clear().type(workflowName).type('{enter}');
|
||||
WorkflowPage.actions.setWorkflowName(workflowName);
|
||||
|
||||
WorkflowPage.getters.saveButton().should('contain', 'Saved');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user