Skip to content

Commit

Permalink
fix: E2E
Browse files Browse the repository at this point in the history
  • Loading branch information
tsi committed Feb 12, 2025
1 parent 23c2bc3 commit e390168
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e/specs/ESM/linksConsoleErrorsEsmPage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ for (const link of ESM_LINKS) {
*/
vpTest('ESM page Link count test', async ({ page }) => {
await page.goto(ESM_URL);
const expectedNumberOfLinks = 33;
const expectedNumberOfLinks = 34;
const numberOfLinks = await page.getByRole('link').count();
expect(numberOfLinks).toBe(expectedNumberOfLinks);
});
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/specs/NonESM/linksConsolErros.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ for (const link of LINKS) {
* Testing number of links in page.
*/
vpTest('Link count test', async ({ page }) => {
const expectedNumberOfLinks = 37;
const expectedNumberOfLinks = 36;
const numberOfLinks = await page.getByRole('link').count();
expect(numberOfLinks).toBe(expectedNumberOfLinks);
});
Expand Down

0 comments on commit e390168

Please sign in to comment.