diff --git a/cypress/README.md b/cypress/README.md index e55ff22af..92b1b8185 100644 --- a/cypress/README.md +++ b/cypress/README.md @@ -1,10 +1,23 @@ # End-to-End Testing +## Configure cypress + +First, you have to tell cypress how to connect to your local neo4j database +among other things. You can copy our template configuration and change the new +file according to your needs. + +Make sure you are at the root level of the project. Then: +```bash +# in the top level folder Human-Connection/ +$ cp cypress.env.template.json cypress.env.json +``` + ## Run Tests -To run the tests, make sure you are at the root level of the project, in your console and run the following command: +To run the tests, do this: ```bash +# in the top level folder Human-Connection/ $ yarn cypress:setup ```