Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions showcases/patternhub/tests/default.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ for (const group of Components) {
await getDefaultScreenshotTest(
component.name,
`docs`,
`./components/${component.name}/docs/Angular`,
`.${group.path}/${component.name}/docs/Angular`,
async (page) => {
const firstH2 = page.locator('h2').first();
await expect(firstH2).toBeVisible();
Expand All @@ -33,7 +33,7 @@ for (const group of Components) {
await getDefaultScreenshotTest(
component.name,
`overview`,
`./components/${component.name}/overview?fullscreen=true`,
`.${group.path}/${component.name}/overview?fullscreen=true`,
async (page) => {
const firstH2 = page.locator('h1').first();
await expect(firstH2).toBeVisible();
Expand All @@ -44,7 +44,7 @@ for (const group of Components) {
await getDefaultScreenshotTest(
component.name,
`properties`,
`./components/${component.name}/properties?fullscreen=true&noh1=true`,
`.${group.path}/${component.name}/properties?fullscreen=true&noh1=true`,
async (page) => {
const firstH2 = page.locator('h2').first();
await expect(firstH2).toBeVisible();
Expand Down
Loading