We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b9982f commit e8a3cf5Copy full SHA for e8a3cf5
showcases/patternhub/tests/default.spec.ts
@@ -24,8 +24,8 @@ for (const group of Components) {
24
`docs`,
25
`.${group.path}/${component.name}/docs/Angular`,
26
async (page) => {
27
- const firstH2 = page.locator('h2').first();
28
- await expect(firstH2).toBeVisible();
+ const firstHeading = page.locator('h1, h2').first();
+ await expect(firstHeading).toBeVisible();
29
}
30
);
31
});
0 commit comments