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

Remove limit on visual regression tests to include all HTML files for comprehensive comparison

This commit is contained in:
codecalm
2025-02-19 01:45:59 +01:00
parent 417d0bc444
commit 81a8738823

View File

@@ -7,7 +7,7 @@ const previewDir = path.join(__dirname, "../preview/dist")
const htmlFiles = fs.readdirSync(previewDir).filter((file) => file.endsWith(".html"))
for (const file of htmlFiles.slice(0, 10)) {
for (const file of htmlFiles) {
test(`Compare ${file}`, async ({ page }) => {
await page.goto(`file://${path.join(previewDir, file)}`)
await page.waitForLoadState("networkidle")