mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Add cypress env configuration to docs
This commit is contained in:
parent
91e11eb14d
commit
a127239988
@ -1,10 +1,23 @@
|
|||||||
# End-to-End Testing
|
# 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
|
## 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
|
```bash
|
||||||
|
# in the top level folder Human-Connection/
|
||||||
$ yarn cypress:setup
|
$ yarn cypress:setup
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user