Skip to content

Commit

Permalink
fix: wait until the link rendered instead a wrong heading tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ixartz committed Dec 3, 2022
1 parent 4824e98 commit e38655b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cypress/e2e/Navigation.cy.ts
Expand Up @@ -37,9 +37,7 @@ describe('Navigation', () => {
cy.visit('/about');

// Wait until the page is displayed
cy.findByRole('heading', {
name: 'Boilerplate code for your Nextjs project with Tailwind CSS',
});
cy.findByRole('link', { name: 'About' });

cy.percySnapshot('About');
});
Expand Down

0 comments on commit e38655b

Please sign in to comment.