Yuki Takei 4 лет назад
Родитель
Сommit
851d4bef7e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/app/test/cypress/support/commands.ts

+ 1 - 1
packages/app/test/cypress/support/commands.ts

@@ -43,7 +43,7 @@ Cypress.Commands.add('collapseSidebar', (isCollapsed) => {
     const isCurrentCollapsed = $contents.hasClass('d-none');
     // toggle when the current state and isCoolapsed is not match
     if (isCurrentCollapsed !== isCollapsed) {
-      cy.getByTestid("grw-navigation-resize-button").click();
+      cy.getByTestid("grw-navigation-resize-button").click({force: true});
     }
   });
 });