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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user