mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
update e2e-tests/cypress/README.md
- hint about seeding the database before each test run
This commit is contained in:
parent
6796190f09
commit
f780b1c431
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user