Skip to content

← All questions

Inherited 900 Cypress specs: what maps to what, and what happens to custom commands?

Asked 19,480 views4 answers

I have inherited a Cypress suite. Roughly 900 specs, data-cy attributes throughout, about 60 custom commands in cypress/support/commands.js, and a cypress/fixtures folder nobody has audited in two years.

Management has agreed to a migration but not to a rewrite, so I need an order of operations more than I need a philosophy. What does cy.get become, what happens to custom commands, and what do I do with the fixtures and the intercepts?

asked by Ade Oyinlola419 ·

4 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related