diff --git a/scripts/update-e2e-snapshots.sh b/scripts/update-e2e-snapshots.sh index c065948..43d4f19 100755 --- a/scripts/update-e2e-snapshots.sh +++ b/scripts/update-e2e-snapshots.sh @@ -31,6 +31,8 @@ else echo "Updating snapshots in the current environment (matches CI when using the devcontainer)." echo "" + pnpm run build + # Unset CI so Playwright config starts the preview server unset CI pnpm exec playwright test --update-snapshots