id | title | sidebar_label |
---|---|---|
regression |
Regression Testing |
Regression Testing |
yarn install
or
npm install
After which the binary should be install in node_modules/.bin/
You will need the dashboard to be up and running. please bring it up via `docker-compose up -d `
and import the dashboards and datasources with wizzy
The regression tests extracts the credentials from environment variables so you should run it with the following set:
CYPRESS_GRAFANA_USER="CHANGE_ME" CYPRESS_GRAFANA_PASSWORD="CHANGEME" ./node_modules/.bin/cypress open
Every test should start with issuing the `cy.login()`
command follow by a typical test.
Please see this working example
If you fail to do so, the environment_validation check will let you know.
To run the regression on travis please create a custom build and paste in the content of travis-regression.yaml.
In the future, we'll have a regular cron that will execute these tests on a regular basis.