|
|
@@ -27,14 +27,14 @@ context('Switch sidebar mode', () => {
|
|
|
cy.get('[for="swSidebarMode"]').click({force: true});
|
|
|
cy.get('.grw-sidebar-nav').should('not.be.visible');
|
|
|
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]'],
|
|
|
});
|
|
|
|
|
|
cy.get('[for="swSidebarMode"]').click({force: true});
|
|
|
cy.get('.grw-sidebar-nav').should('be.visible');
|
|
|
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]'],
|
|
|
});
|
|
|
});
|