This PR is to integrate Cypress e2e test environment into the project.
The first test is already been written and covers the main user flow: creating and playing a meditation routine.
How to start
As first run
npm i
then launch the project with
npm run dev
then in another shell run
npm run cy:run
This is far to be finished
This is just the start. Further improvements can be made, like importing the data to check directly from the store instead of using "magic" values.
This PR is to integrate Cypress e2e test environment into the project. The first test is already been written and covers the main user flow: creating and playing a meditation routine.
How to start
As first run
npm i
then launch the project with
npm run dev
then in another shell run
npm run cy:run
This is far to be finished
This is just the start. Further improvements can be made, like importing the data to check directly from the store instead of using "magic" values.