grafana / grafana-plugin-examples

181 stars 52 forks source link

e2e tests for http-backend-datasource #318

Closed Ukochka closed 3 months ago

Ukochka commented 3 months ago

To be able to run e2e tests at CI we need mockserver which will return values for our tests.

I updated grafana packages to 10.4.0 because change was introduced here https://github.com/grafana/grafana/pull/79615 DataSourceHttpSettings component is using e2e selector instead of aria-label

It also fixes the problem of running e2e tests on current and latest grafana versions