HELP! My Cypress Test Suite Got Big - Now What?
summary
Gives a concrete migration plan: split tests into spec, test-data, locator and command files; move to data-driven tests with TypeScript-typed data; keep selectors in per-page locator files; split custom commands into folder/index registrations; annotate steps with cypress-plugin-steps. Shows a real shrink: a 1,494-line monolithic spec becomes a 48-line spec backed by 1,144 lines of typed data, cutting run time from ~7 minutes to ~30 seconds and making maintenance trivial.
AI-written summary · about
