Back in May, our VP of Engineering wanted faster release cycles without hiring two more QA engineers. At the time, our small platform team (four full-stack devs, one DevOps engineer, and me as Lead SDET) maintained 48 hand-written Playwright specs on GitHub Actions. They took about 4 minutes to run and caught real regressions. Then someone demoed generating Playwright specs straight from Jira tickets and DOM snapshots. Within 18 days, our suite ballooned from 48 tests to 412. Management loved the coverage chart. Slack had celebratory emojis every time a PR added 30 new .spec.ts files.
Nobody noticed the slow rot until August. By September, our GitHub Actions bill for ubuntu-latest 8-core runners had climbed from $890/month to $4,180/month. A single PR took 19 minutes and 42 seconds to clear E2E, even sharded across 12 parallel workers. Developers started hitting "Re-run failed jobs" without reading the trace viewer, because 30 to 40 tests flaked on any given afternoon. And yet, bugs kept leaking into production. The October billing incident was just the one loud enough to wake me up at 3 AM. So I blocked off two days, pulled every single .spec.ts file into a spreadsheet, and audited all 412 tests by hand. (Glamorous work.) By Friday evening, I opened a PR that deleted 382 of them.