The most expensive bugs we have shipped were invisible to every automated check. The build was green. The tests passed. And the page was wrong: a headline wrapped into nonsense on mobile, a section rendered behind another, a form that looked fine and submitted nothing.

So we adopted a rule that sounds primitive and works: no change is done until someone has looked at a screenshot of the deployed page. Not the dev server. The real thing, both viewports, at full resolution.

Making evidence cheap

for (const vp of [{ w: 1440, h: 900 }, { w: 390, h: 844 }]) {

const page = await browser.newPage({ viewport: vp });