mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +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:
@@ -1,9 +1,11 @@
|
||||
import { SettingsSidebar } from './sidebar/settings-sidebar';
|
||||
import { MainSidebar } from './sidebar/main-sidebar';
|
||||
import { WorkflowPage } from './workflow';
|
||||
import { WorkflowsPage } from './workflows';
|
||||
import { BasePage } from './base';
|
||||
|
||||
const workflowPage = new WorkflowPage();
|
||||
const workflowsPage = new WorkflowsPage();
|
||||
const mainSidebar = new MainSidebar();
|
||||
const settingsSidebar = new SettingsSidebar();
|
||||
|
||||
@@ -39,7 +41,7 @@ export class SettingsUsersPage extends BasePage {
|
||||
settingsSidebar.getters.menuItem('Users').should('not.exist');
|
||||
// Should be redirected to workflows page if trying to access UM url
|
||||
cy.visit('/settings/users');
|
||||
cy.url().should('match', new RegExp(workflowPage.url));
|
||||
cy.url().should('match', new RegExp(workflowsPage.url));
|
||||
}
|
||||
},
|
||||
opedDeleteDialog: (email: string) => {
|
||||
|
||||
Reference in New Issue
Block a user