update e2e-tests/cypress/README.md

- hint about seeding the database before each test run
This commit is contained in:
mahula 2022-09-29 11:32:57 +02:00 committed by GitHub
parent 6796190f09
commit f780b1c431
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,12 +14,28 @@ So far these features are initially tested
## Precondition
Before running the test, change to the repo's root directory (gradido) and boot up the system under test:
Before running the test, change to the repo's root directory (gradido)
### Boot up the system under test
```bash
docker-compose up
```
### Seed the database
The database has to be seeded upfront to every test run.
```bash
# change to the backend directory
cd /path/to/gradido/gradido/backend
# install all dependencies
yarn
# seed the database (everytime before running the tests)
yarn seed
```
## Execute the test