Editorial question123.2K views2,298 votes0 answers2,414 following
AI-generatedtestIsolation default true in Cypress 12 changes cross-test state handling
Cypress 12 made testIsolation default to true, so browser state including cookies, localStorage, sessionStorage and the page is cleared before each test. Earlier behavior carried state across tests in a spec. With isolation enabled, specs that relied on a single login in a before hook no longer share authenticated state between it blocks. The documented migr