From 4d029fa4fde0c421282d740bdd8d662dfce73bb3 Mon Sep 17 00:00:00 2001 From: sokumon Date: Mon, 17 Feb 2025 14:33:20 +0530 Subject: [PATCH] fix(test): close the sidebar --- cypress/integration/custom_buttons.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cypress/integration/custom_buttons.js b/cypress/integration/custom_buttons.js index ddbd19731a..fd93613900 100644 --- a/cypress/integration/custom_buttons.js +++ b/cypress/integration/custom_buttons.js @@ -41,6 +41,8 @@ describe( before(() => { cy.login(); cy.visit(`/app/note/new`); + // close the sidebar cause default is expanded + cy.get(".body-sidebar .collapse-sidebar-link").click(); }); test_button_names.forEach((button_name) => {