diff --git a/cypress.env.template.json b/cypress.env.template.json new file mode 100644 index 000000000..59cf04ab6 --- /dev/null +++ b/cypress.env.template.json @@ -0,0 +1,5 @@ +{ + "NEO4J_URI": "bolt://localhost:7687", + "NEO4J_USERNAME": "neo4j", + "NEO4J_PASSWORD": "letmein" +} diff --git a/cypress/README.md b/cypress/README.md index 662d0b51c..a98b6f514 100644 --- a/cypress/README.md +++ b/cypress/README.md @@ -16,6 +16,12 @@ 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 +``` + To start the services that are required for cypress testing, run: ```bash