You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|2 years ago|
|factories||2 years ago|
|fixtures||2 years ago|
|integration||2 years ago|
|plugins||2 years ago|
|support||2 years ago|
|README.md||2 years ago|
|docker-compose.yml||2 years ago|
Frontend Testing With Cypress
- Enable the seeder api endpoint. You'll then need to add the testingtoken in
cypress.jsonor set the
- Basic configuration happens in the
- Overridable with env
- Override base url with
We're using the test endpoint of the vikunja api to seed the database with test data before running the tests. This ensures better reproducability of tests.
Running The Tests Locally
The easiest way to run all frontend tests locally is by using the
docker-compose file in this repository.
It uses the same configuration as the CI.
To use it, run
docker-compose up -d
Then, once all containers are started, run
docker-composer run cypress bash
to get a shell inside the cypress container. In that shell you can then execute the tests with
Using The Cypress Dashboard
To open the Cypress Dashboard and run tests from there, run