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:
OlegIvaniv
2023-03-08 15:11:13 +01:00
committed by GitHub
parent 0b6fa6b20e
commit 354edf6886
23 changed files with 62 additions and 78 deletions

View File

@@ -1,6 +1,5 @@
import { WorkflowPage, WorkflowsPage, NDV } from '../pages';
import { WorkflowPage, NDV } from '../pages';
const workflowsPage = new WorkflowsPage();
const workflowPage = new WorkflowPage();
const ndv = new NDV();
@@ -11,9 +10,6 @@ describe('HTTP Request node', () => {
});
it('should make a request with a URL and receive a response', () => {
cy.visit(workflowsPage.url);
workflowsPage.actions.createWorkflowFromCard();
workflowPage.actions.addInitialNodeToCanvas('Manual');
workflowPage.actions.addNodeToCanvas('HTTP Request');
workflowPage.actions.openNode('HTTP Request');