mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-23 20:50:00 +00:00
feat(editor): Redirect users to canvas if they don't have any workflows (#5629)
* feat(editor): Bring new users to empty canvas * Fix failing e2e tests and revert CLI implementation * Revert editor-ui Interface changes * Try to mock /settings and /active * Revert canvas test changes, reload after executions in 20-workflow-executions * Make sure we include manual executiosn before running them in 20-workflow-executions * Make sure to re-init node view when replacing empty workflows route, show phantom loader
This commit is contained in:
@@ -8,12 +8,9 @@ describe('Schedule Trigger node', async () => {
|
||||
beforeEach(() => {
|
||||
cy.resetAll();
|
||||
cy.skipSetup();
|
||||
cy.visit(workflowsPage.url);
|
||||
});
|
||||
|
||||
it('should execute and return the execution timestamp', () => {
|
||||
workflowsPage.actions.createWorkflowFromCard();
|
||||
cy.waitForLoad();
|
||||
workflowPage.actions.addInitialNodeToCanvas('Schedule Trigger');
|
||||
workflowPage.actions.openNode('Schedule Trigger');
|
||||
ndv.actions.execute();
|
||||
@@ -22,8 +19,6 @@ describe('Schedule Trigger node', async () => {
|
||||
});
|
||||
|
||||
it('should execute once per second when activated', () => {
|
||||
workflowsPage.actions.createWorkflowFromCard();
|
||||
cy.waitForLoad();
|
||||
workflowPage.actions.renameWorkflow('Schedule Trigger Workflow');
|
||||
workflowPage.actions.addInitialNodeToCanvas('Schedule Trigger');
|
||||
workflowPage.actions.openNode('Schedule Trigger');
|
||||
|
||||
Reference in New Issue
Block a user