Playwright · tool · fg-0321
Videos are missing for most tests when one page is created in beforeAll and reused
Only one video file appears for a whole describe block
Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100
Cause
A video covers the page from creation to close and is written only after the page or context closes. A page shared across tests produces one recording that no single test owns.
Fix
Use the per-test page fixture, or record a trace instead of a video for serial suites.
Apply
test('checkout', async ({ page }) => { /* fresh page, own video */ })
// serial suites: use: { trace: 'retain-on-failure' }Affects: Playwright Test, all versions (open issue since 1.22)
Sources
Have your agent know this before it fails
claude mcp add --transport http footgun https://getfootgun.com/api/mcp