Skip to content

Commit

Permalink
Increase timeout before crashing fixes the issue locally (10s > 15s) …
Browse files Browse the repository at this point in the history
…but it's unknown why tests need that much time, they shouldn't
  • Loading branch information
Vadorequest committed Sep 6, 2020
1 parent 644901f commit 9b130a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/integration/app/common/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('Common > Nav section', () => {
cy.get('#nav-link-examples-static-i-18-n')
.should('have.text', 'Static i18n')
.click();
cy.url({ timeout: 10000 }).should('eq', `${baseUrl}/en/examples/built-in-features/static-i18n`);
cy.url({ timeout: 15000 }).should('eq', `${baseUrl}/en/examples/built-in-features/static-i18n`);
cy.get('h1').should('have.length', 1).should('have.text', 'Static i18n examples, using i18next and Locize vendor');
});

Expand All @@ -37,7 +37,7 @@ describe('Common > Nav section', () => {
cy.get('#nav-link-examples-ssr-get-server-side-props')
.should('have.text', 'SSR (getServerSideProps)')
.click();
cy.url({ timeout: 10000 }).should('eq', `${baseUrl}/en/examples/native-features/example-with-ssr`);
cy.url({ timeout: 15000 }).should('eq', `${baseUrl}/en/examples/native-features/example-with-ssr`);
cy.get('h1').should('have.length', 1).should('have.text', 'Example, using SSR');
});
});

1 comment on commit 9b130a0

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.