https://cypress.io logo
This method works, but as an alternative, what we ...
# best-practices
a
This method works, but as an alternative, what we do is name our files
spec.cy.ts
or
spec.smoke.cy.ts
and then use a spec matching pattern in our smoke vs. regression test run commands. This allows us to mix smoke and regression files next to each other so we have less folder-organization to worry about.