From a12723998897bcf4232175956f74c5530b23ea58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Wed, 17 Apr 2019 20:59:54 +0200 Subject: [PATCH] Add cypress env configuration to docs --- cypress/README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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 ```