Are you running everything through docker? You're so lucky you don't have to setup anything!
Just:
$ docker-compose up
To start the services that are required for cypress testing manually. You basically need the whole setup to run:
- backend
- webapp
- neo4j
Navigate to the corresponding folders and start the services.
Even if the required services for testing run via docker, depending on your setup, the cypress tests themselves run on your host machine. So with our without docker, you would have to install cypress and its dependencies first:
# in the root folder /
$ yarn install
The interactive cypress test console allows to run tests and have visual feedback on that. The interactive cypress environment also helps at debugging the tests, you can even time travel between individual steps and see the exact state of the app.
To use this feature run:
$ yarn cypress:open
To run cypress without the user interface:
$ yarn cypress:run
This is used to run cypress in CI or in console
Check out the Cypress documentation for further information on how to write tests: Write-a-simple-test