diff --git a/apps/blog/cypress/e2e/root/scroll-restoration.spec.ts b/apps/blog/cypress/e2e/root/scroll-restoration.spec.ts index 6f415484..701abb7d 100644 --- a/apps/blog/cypress/e2e/root/scroll-restoration.spec.ts +++ b/apps/blog/cypress/e2e/root/scroll-restoration.spec.ts @@ -11,10 +11,10 @@ describe('root - store restoration', { testIsolation: false }, () => { }); cy.get('main').find('a').first().click(); - cy.wait(2000); - cy.reload(); + cy.wait(3000); cy.go('back'); + cy.wait(3000); cy.window().its('scrollY').should('not.eq', 0); });