Sfoglia il codice sorgente

add wait for header style

Yuken Tezuka 3 anni fa
parent
commit
f8a5f2d63d

+ 2 - 0
packages/app/test/cypress/integration/20-basic-features/access-to-page.spec.ts

@@ -21,6 +21,8 @@ context('Access to page', () => {
     // hide fab
     cy.getByTestid('grw-fab-container').invoke('attr', 'style', 'display: none');
 
+    // eslint-disable-next-line cypress/no-unnecessary-waiting
+    cy.wait(1000); // wait for 1 seconds for Header style
     cy.screenshot(`${ssPrefix}-sandbox-headers`);
   });