Snapshot management

This commit is contained in:
adilallo
2025-08-29 16:25:45 -06:00
parent f7f76a2396
commit 6f7baa6f2f
7 changed files with 341 additions and 5 deletions
+6 -1
View File
@@ -25,7 +25,12 @@
"performance:budget": "lhci autorun --budgetPath=performance-budgets.json",
"performance:monitor": "node scripts/performance-monitor.js",
"preview": "next build && next start -p 3000",
"e2e:serve": "start-server-and-test preview http://localhost:3000 e2e"
"e2e:serve": "start-server-and-test preview http://localhost:3000 e2e",
"seed-snapshots": "./scripts/seed-snapshots.sh",
"seed-snapshots:local": "PLAYWRIGHT_UPDATE_SNAPSHOTS=1 npx playwright test tests/e2e/visual-regression.spec.ts --project=chromium",
"visual:test": "npx playwright test tests/e2e/visual-regression.spec.ts",
"visual:update": "PLAYWRIGHT_UPDATE_SNAPSHOTS=1 npx playwright test tests/e2e/visual-regression.spec.ts",
"visual:ui": "npx playwright test tests/e2e/visual-regression.spec.ts --ui"
},
"dependencies": {
"next": "15.2.4",