mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(editor): Only redirect new users to blank canvas (no-changelog) (#5654)
* feat(editor): Bring new users to empty canvas * fix(editor): Revert empty /workflows redirect * Provide `COMMIT_INFO_BRANCH` and uncomment demo experiment * Only change redirect after set-up/sign-up to new canvas * Fix failing specs * Prevent redirect for demo experiment * Fix workflows cards spacing
This commit is contained in:
@@ -60,7 +60,7 @@ Cypress.Commands.add('waitForLoad', () => {
|
||||
|
||||
Cypress.Commands.add('signin', ({ email, password }) => {
|
||||
const signinPage = new SigninPage();
|
||||
const workflowPage = new WorkflowPage();
|
||||
const workflowsPage = new WorkflowsPage();
|
||||
|
||||
cy.session(
|
||||
[email, password],
|
||||
@@ -74,10 +74,7 @@ Cypress.Commands.add('signin', ({ email, password }) => {
|
||||
});
|
||||
|
||||
// we should be redirected to /workflows
|
||||
cy.visit(workflowPage.url);
|
||||
cy.url().should('include', workflowPage.url);
|
||||
cy.intercept('GET', '/rest/workflows/new').as('loading');
|
||||
cy.wait('@loading');
|
||||
cy.url().should('include', workflowsPage.url);
|
||||
},
|
||||
{
|
||||
validate() {
|
||||
|
||||
Reference in New Issue
Block a user