Integration tests
In order to start and successfully execute the integration tests, a number of conditions must be met.
These Dogus must currently be installed:
- nginx (should already be installed)
- cas (should already be installed)
- ldap (should already be installed)
- usermgt
- swaggerui
- cockpit
- plantuml
cesapp install official/usermgt ; cesapp start usermgt
cesapp install official/cockpit ; cesapp start cockpit
cesapp install official/swaggerui ; cesapp start swaggerui
cesapp install official/plantuml ; cesapp start plantuml
The tests are started with these commands:
cd ui/integrationTests
yarn install
yarn cypress run
# alternatively yarn cypress open
Troubleshooting
Some tests may fail if the browser selected in Cypress is configured in a language other than English. There is currently no known solution to this, except to install a different translation of the browser.