Writing Soak Tests

Write a Playwright memory-leak soak test with playwright-soak. Covers attachCDP, soak({ client, flow, iterations, warmup, sampleEvery }), getPageMetrics, shaping a flow that survives repetition, and the playwright.config.ts a few-hundred-iteration run needs (Chromium-only projects, raised timeout, production build rather than dev server). Load when adding a memory leak or soak test, repeating a user flow to detect detached DOM nodes, event listener growth or heap climb, or when a soak run times out or errors instead of reporting a verdict.

asmyshlyaev177 Updated

File contents

asmyshlyaev177/playwright-soak/tree/main/skills/writing-soak-tests commit 10deaad9a4

Frequently asked questions

npx skillmds@latest add asmyshlyaev177/writing-soak-tests