End-to-End Testing an Astro Site Against the Real Production Build
Why I run Playwright against astro preview instead of the dev server, and the pile of gotchas—WebKit, worker limits, analytics noise—I hit getting there.
Why I run Playwright against astro preview instead of the dev server, and the pile of gotchas—WebKit, worker limits, analytics noise—I hit getting there.
Reaching for the smallest base image felt responsible. Then pnpm needed a C toolchain, Wrangler needed a newer Node, and the "small" image cost me an afternoon.
I wanted Biome everywhere. Its .astro and .svelte support is still experimental, and I don't trust it with my markup yet. Here is the hybrid setup I landed on, and the composite lint script that ties it together.