File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
showcases/patternhub/tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ for (const group of Components) {
2222 await getDefaultScreenshotTest (
2323 component . name ,
2424 `docs` ,
25- `./components /${ component . name } /docs/Angular` ,
25+ `.${ group . path } /${ component . name } /docs/Angular` ,
2626 async ( page ) => {
2727 const firstH2 = page . locator ( 'h2' ) . first ( ) ;
2828 await expect ( firstH2 ) . toBeVisible ( ) ;
@@ -33,7 +33,7 @@ for (const group of Components) {
3333 await getDefaultScreenshotTest (
3434 component . name ,
3535 `overview` ,
36- `./components /${ component . name } /overview?fullscreen=true` ,
36+ `.${ group . path } /${ component . name } /overview?fullscreen=true` ,
3737 async ( page ) => {
3838 const firstH2 = page . locator ( 'h1' ) . first ( ) ;
3939 await expect ( firstH2 ) . toBeVisible ( ) ;
@@ -44,7 +44,7 @@ for (const group of Components) {
4444 await getDefaultScreenshotTest (
4545 component . name ,
4646 `properties` ,
47- `./components /${ component . name } /properties?fullscreen=true&noh1=true` ,
47+ `.${ group . path } /${ component . name } /properties?fullscreen=true&noh1=true` ,
4848 async ( page ) => {
4949 const firstH2 = page . locator ( 'h2' ) . first ( ) ;
5050 await expect ( firstH2 ) . toBeVisible ( ) ;
You can’t perform that action at this time.
0 commit comments