Skip to content

Commit e8a3cf5

Browse files
authored
Update default.spec.ts
1 parent 0b9982f commit e8a3cf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

showcases/patternhub/tests/default.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ for (const group of Components) {
2424
`docs`,
2525
`.${group.path}/${component.name}/docs/Angular`,
2626
async (page) => {
27-
const firstH2 = page.locator('h2').first();
28-
await expect(firstH2).toBeVisible();
27+
const firstHeading = page.locator('h1, h2').first();
28+
await expect(firstHeading).toBeVisible();
2929
}
3030
);
3131
});

0 commit comments

Comments
 (0)