|
|
@@ -17,6 +17,9 @@ context('Access to page by guest', () => {
|
|
|
// hide fab
|
|
|
cy.getByTestid('grw-fab-container').invoke('attr', 'style', 'display: none');
|
|
|
|
|
|
+ // assert the element is in viewport
|
|
|
+ cy.isInViewport('#headers');
|
|
|
+
|
|
|
// remove animation for screenshot
|
|
|
// 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
|