|
|
@@ -22,7 +22,9 @@ context('Access to page', () => {
|
|
|
cy.getByTestid('grw-fab-container').invoke('attr', 'style', 'display: none');
|
|
|
|
|
|
// remove animation for screenshot
|
|
|
- cy.get('#Headers').invoke('attr', 'style', 'animation: none');
|
|
|
+ // remove 'blink' class because ::after element cannot be operated
|
|
|
+ // https://stackoverflow.com/questions/5041494/selecting-and-manipulating-css-pseudo-elements-such-as-before-and-after-usin/21709814#21709814
|
|
|
+ cy.get('#Headers').invoke('removeClass', 'blink');
|
|
|
|
|
|
cy.screenshot(`${ssPrefix}-sandbox-headers`);
|
|
|
});
|