chore: some small changes in the cypress README.md (#793)

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/793
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
This commit is contained in:
dpschen 2021-09-26 17:49:27 +00:00 committed by konrad
parent 166539c7e8
commit 8cd4bbccf6

View file

@ -9,8 +9,8 @@
## Fixtures ## Fixtures
We're using the [test endpoint](https://vikunja.io/docs/config-options/#testingtoken) of the vikunja api to We're using the [test endpoint](https://vikunja.io/docs/config-options/#testingtoken) of the vikunja api to
seed the database with test data before running the tests. seed the database with test data before running the tests.
This ensures better reproducability of tests. This ensures better reproducability of tests.
## Running The Tests Locally ## Running The Tests Locally
@ -22,20 +22,20 @@ It uses the same configuration as the CI.
To use it, run To use it, run
``` ```shell
docker-compose up -d docker-compose up -d
``` ```
Then, once all containers are started, run Then, once all containers are started, run
``` ```shell
docker-compose run cypress bash docker-compose run cypress bash
``` ```
to get a shell inside the cypress container. to get a shell inside the cypress container.
In that shell you can then execute the tests with In that shell you can then execute the tests with
``` ```shell
yarn test:frontend yarn test:frontend
``` ```
@ -43,6 +43,6 @@ yarn test:frontend
To open the Cypress Dashboard and run tests from there, run To open the Cypress Dashboard and run tests from there, run
``` ```shell
yarn cypress:open yarn cypress:open
``` ```