mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
Fix screenshot filename in visual regression tests to use the correct HTML file name
This commit is contained in:
@@ -11,6 +11,6 @@ for (const file of htmlFiles) {
|
||||
test(`Compare ${file}`, async ({ page }) => {
|
||||
await page.goto(`file://${path.join(previewDir, file)}`)
|
||||
await page.waitForLoadState("networkidle")
|
||||
await argosScreenshot(page, `${page}`)
|
||||
await argosScreenshot(page, `${file}`)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user