Web Testing Rules
- Screenshot key breakpoints: 320, 768, 1024, 1440 - Test hero sections, scrollytelling sections, and meaningful states - Use Playwright screenshots for visual-heavy work - If both themes exist, test both
- Screenshot key breakpoints: 320, 768, 1024, 1440 - Test hero sections, scrollytelling sections, and meaningful states - Use Playwright screenshots for visual-heavy work - If both themes exist, test both
This file extends [common/testing.md](../common/testing.md) with web-specific testing content.
import { test, expect } from '@playwright/test';
test('landing hero loads', async ({ page }) => {
await page.goto('/');
await expect(page.locator('h1')).toBeVisible();
});