Using Cypress 10 and es-build.
Based off this example.
This testing base includes:
The package manager is pnpm.
Testing is easy as 1, 2, 3!
- Write your
.feature
incypress/e2e
. The language used is Gherkin. - Write your step definitions in a folder with the same naming as your feature
- Run
pnpm run cypress:open:{yourtestingenv}
Configure your testing environment with one of the json files in cypress/config
.