|
|
@@ -23,7 +23,7 @@ describe('Access to sidebar', () => {
|
|
|
cy.screenshot(`${ssPrefix}1-sidebar-shown`, {
|
|
|
capture: 'viewport',
|
|
|
// Blackout for recalculation of toc content 'calcViewHeight'
|
|
|
- blackout: ['#revision-toc-content', '[data-hide-in-vrt=true]'],
|
|
|
+ blackout: ['.grw-side-contents-container', '[data-hide-in-vrt=true]'],
|
|
|
});
|
|
|
});
|
|
|
|
|
|
@@ -32,7 +32,7 @@ describe('Access to sidebar', () => {
|
|
|
cy.screenshot(`${ssPrefix}2-sidebar-collapsed`, {
|
|
|
capture: 'viewport',
|
|
|
// Blackout for recalculation of toc content 'calcViewHeight'
|
|
|
- blackout: ['#revision-toc-content', '[data-hide-in-vrt=true]'],
|
|
|
+ blackout: ['.grw-side-contents-container', '[data-hide-in-vrt=true]'],
|
|
|
});
|
|
|
});
|
|
|
});
|
|
|
@@ -65,7 +65,7 @@ describe('Access to sidebar', () => {
|
|
|
cy.getByTestid('page-item-control-menu').should('have.class', 'show');
|
|
|
cy.screenshot(`${ssPrefix}page-tree-3-before-click-button`, {
|
|
|
// Blackout for recalculation of toc content 'calcViewHeight'
|
|
|
- blackout: ['#revision-toc-content', '[data-hide-in-vrt=true]'],
|
|
|
+ blackout: ['.grw-side-contents-container', '[data-hide-in-vrt=true]'],
|
|
|
});
|
|
|
|
|
|
// click add remove bookmark btn
|
|
|
@@ -82,7 +82,7 @@ describe('Access to sidebar', () => {
|
|
|
cy.getByTestid('page-item-control-menu').should('have.class', 'show');
|
|
|
cy.screenshot(`${ssPrefix}page-tree-4-after-click-button`, {
|
|
|
// Blackout for recalculation of toc content 'calcViewHeight'
|
|
|
- blackout: ['#revision-toc-content', '[data-hide-in-vrt=true]'],
|
|
|
+ blackout: ['.grw-side-contents-container', '[data-hide-in-vrt=true]'],
|
|
|
});
|
|
|
});
|
|
|
|
|
|
@@ -176,7 +176,7 @@ describe('Access to sidebar', () => {
|
|
|
// The scope of the capture is not narrowed because the blackout is shifted
|
|
|
cy.screenshot(`${ssPrefix}recent-changes-1-access-to-recent-changes`, {
|
|
|
// Blackout for recalculation of toc content 'calcViewHeight'
|
|
|
- blackout: ['#revision-toc-content', '[data-hide-in-vrt=true]'],
|
|
|
+ blackout: ['.grw-side-contents-container', '[data-hide-in-vrt=true]'],
|
|
|
});
|
|
|
});
|
|
|
|
|
|
@@ -190,7 +190,7 @@ describe('Access to sidebar', () => {
|
|
|
// The scope of the capture is not narrowed because the blackout is shifted
|
|
|
cy.screenshot(`${ssPrefix}recent-changes-2-switch-content-size`, {
|
|
|
// Blackout for recalculation of toc content 'calcViewHeight'
|
|
|
- blackout: ['#revision-toc-content', '[data-hide-in-vrt=true]'],
|
|
|
+ blackout: ['.grw-side-contents-container', '[data-hide-in-vrt=true]'],
|
|
|
});
|
|
|
});
|
|
|
});
|