fix(editor): Optimizing main sidebar to have more space for Projects (#9686)

Co-authored-by: Omar Ajoue <krynble@gmail.com>
This commit is contained in:
Csaba Tuncsik
2024-06-25 11:14:02 +02:00
committed by GitHub
parent 31c456700a
commit 5cdcb61f66
13 changed files with 271 additions and 341 deletions

View File

@@ -11,16 +11,14 @@ export class MainSidebar extends BasePage {
credentials: () => this.getters.menuItem('credentials'),
executions: () => this.getters.menuItem('executions'),
adminPanel: () => this.getters.menuItem('cloud-admin'),
userMenu: () => cy.get('div[class="action-dropdown-container"]'),
userMenu: () => cy.getByTestId('user-menu'),
logo: () => cy.getByTestId('n8n-logo'),
};
actions = {
goToSettings: () => {
this.getters.settings().should('be.visible');
// We must wait before ElementUI menu is done with its animations
cy.get('[data-old-overflow]').should('not.exist');
this.getters.settings().click();
this.getters.userMenu().click();
cy.getByTestId('user-menu-item-settings').should('be.visible').click();
},
goToCredentials: () => {
this.getters.credentials().should('be.visible');