@grafana/plugin-e2e 0.13.1-canary.741.4e6318e.0 → 0.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,7 +22,11 @@ class DataSourceConfigPage extends GrafanaPage_1.GrafanaPage {
22
22
  * @param json the json response to return
23
23
  * @param status the HTTP status code to return. Defaults to 200
24
24
  */
25
- async mockHealthCheckResponse(json, status = 200) { }
25
+ async mockHealthCheckResponse(json, status = 200) {
26
+ await this.ctx.page.route(`${this.ctx.selectors.apis.DataSource.health(this.datasource.uid, this.datasource.id?.toString() ?? '')}`, async (route) => {
27
+ await route.fulfill({ json, status });
28
+ });
29
+ }
26
30
  /**
27
31
  * Clicks the save and test button and waits for the response
28
32
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/plugin-e2e",
3
- "version": "0.13.1-canary.741.4e6318e.0",
3
+ "version": "0.13.2",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -45,5 +45,5 @@
45
45
  "semver": "^7.5.4",
46
46
  "uuid": "^9.0.1"
47
47
  },
48
- "gitHead": "4e6318e0572673324bed5edf2bb2b0de14cb2a9e"
48
+ "gitHead": "e33d8bcf282d0642b0207c07eee75c68a0611f02"
49
49
  }