Skip to content

Commit

Permalink
test: wait twice
Browse files Browse the repository at this point in the history
  • Loading branch information
hyesungoh committed Nov 12, 2023
1 parent 4bddb7a commit d46b50a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/blog/cypress/e2e/root/scroll-restoration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit d46b50a

Please sign in to comment.