Manuals / Cypress / Chapter 11

E · Team Craft · advanced · Week 9–10 · Chapter 11 of 12

Team standards & flake governance

Senior Cypress work is standards: folder layout, naming, PR checklist, selector policy, and flake ownership — so the suite survives beyond one author.

Path progress
85%

Step 1 of 4

Cypress standard one-pager

Folder layout, spec naming (*.cy.js), selector rules, no cy.wait(ms), intercept policy, session usage.

Cypress standard one-pagerDrag stickies · tap for tips
Study mapDrag stickies · tap for tipsKeep it shortdrag · tap →Name the waitdrag · tap →Scope locatorsdrag · tap →Trace when stuckdrag · tap →One browser firstdrag · tap →Isolate statedrag · tap →Assert the UIdrag · tap →Retry wiselydrag · tap →Seed datadrag · tap →Close the loopdrag · tap →Keep it shortdrag · tap →Name the waitdrag · tap →Scope locatorsdrag · tap →Trace when stuckdrag · tap →One browser firstdrag · tap →Isolate statedrag · tap →Pathwise hackdrag · tap →Cypress standard odrag · tap →Try thisdrag · tap →Follow the dashed drag · tap →

Do this now

Write CYPRESS-STANDARD.md. Apply to entire suite in one refactor PR.

Was this step clear?
Chapter learning outcomes
  • Coding standard doc
  • PR template
  • Flake registry
  • Plugin tasks for seed data

Clear these before you leave

Side quest

Standards PR

Open PR that only applies standard (renames, selector fixes, doc). Review your own diff like a tech lead.