What I test on every website
| Check | Why it matters |
|---|---|
| Key pages render with no console errors | Catches broken scripts before visitors do |
| Primary CTA flows (enquiry, WhatsApp, booking) | These are the business outcomes |
| Menu opens, marks the current page, closes on Escape | Mobile navigation is where most sites break |
| No horizontal overflow at 320 px | The most common mobile layout bug |
| Reduced motion shows all content | Accessibility and resilience |
| Every old URL resolves (migrations) | Protects search rankings and inbound links |
Illustrative example: migration URL coverage
import { test, expect } from "@playwright/test";
import legacyUrls from "./fixtures/legacy-sitemap.json";
for (const path of legacyUrls) {
test(`legacy URL resolves: ${path}`, async ({ request }) => {
const res = await request.get(path, { maxRedirects: 5 });
expect(res.status(), path).toBe(200);
});
}
Platform suites
On a multi-app platform, the valuable tests cross service boundaries: sign in on one app, act in another, confirm the API and data layer agree. They belong in CI against deployed staging: after the deploy, before promotion to production.