Skip to content

Commit

Permalink
fix: issue with patternhub test not using first headline (#2839)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget authored Jul 8, 2024
1 parent 9d0a9ff commit 449496a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions showcases/patternhub/tests/default.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ for (const group of Components) {
`docs`,
`./components/${component.name}/docs/Angular`,
async (page) => {
expect(await page.locator('h2').isVisible());
expect(await page.locator('h2').first().isVisible());
}
);
});
Expand All @@ -49,7 +49,7 @@ for (const group of Components) {
`properties`,
`./components/${component.name}/properties?fullscreen=true&noh1=true`,
async (page) => {
expect(await page.locator('h2').isVisible());
expect(await page.locator('h2').first().isVisible());
}
);
});
Expand Down

0 comments on commit 449496a

Please sign in to comment.