jam411 3 лет назад
Родитель
Сommit
52542ec4f5

+ 2 - 2
packages/app/test/cypress/integration/50-sidebar/switching-sidebar-mode.spec.ts

@@ -27,14 +27,14 @@ context('Switch sidebar mode', () => {
     cy.get('[for="swSidebarMode"]').click({force: true});
     cy.get('[for="swSidebarMode"]').click({force: true});
     cy.get('.grw-sidebar-nav').should('not.be.visible');
     cy.get('.grw-sidebar-nav').should('not.be.visible');
     cy.screenshot(`${ssPrefix}-switch-sidebar-mode`, {
     cy.screenshot(`${ssPrefix}-switch-sidebar-mode`, {
-      // Blackout for recalculation of toc content 'calcViewHeight'
+      // Blackout for recalculation of toc content hight
       blackout: ['.grw-side-contents-container', '[data-hide-in-vrt=true]'],
       blackout: ['.grw-side-contents-container', '[data-hide-in-vrt=true]'],
     });
     });
 
 
     cy.get('[for="swSidebarMode"]').click({force: true});
     cy.get('[for="swSidebarMode"]').click({force: true});
     cy.get('.grw-sidebar-nav').should('be.visible');
     cy.get('.grw-sidebar-nav').should('be.visible');
     cy.screenshot(`${ssPrefix}-switch-sidebar-mode-back`, {
     cy.screenshot(`${ssPrefix}-switch-sidebar-mode-back`, {
-      // Blackout for recalculation of toc content 'calcViewHeight'
+      // Blackout for recalculation of toc content hight
       blackout: ['.grw-side-contents-container','[data-hide-in-vrt=true]'],
       blackout: ['.grw-side-contents-container','[data-hide-in-vrt=true]'],
     });
     });
   });
   });