1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 09:24:24 +04:00

Fix screenshot filename in visual regression tests to use the correct HTML file name

This commit is contained in:
codecalm
2025-02-19 01:49:58 +01:00
parent 81a8738823
commit 1415820cb1

View File

@@ -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}`)
})
}