@grafana/plugin-e2e 2.1.9-canary.2051.17211132242.0 → 2.2.0-canary.1970.17152851704.0
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.
|
@@ -151,13 +151,10 @@ class AlertRuleEditPage extends GrafanaPage.GrafanaPage {
|
|
|
151
151
|
this.ctx.page.route(this.ctx.selectors.apis.Alerting.eval, async (route) => {
|
|
152
152
|
const response = await route.fetch();
|
|
153
153
|
if (!response.ok()) {
|
|
154
|
-
console.log("response not ok for", this.ctx.selectors.apis.Alerting.eval);
|
|
155
154
|
return route.fulfill({ response });
|
|
156
155
|
}
|
|
157
156
|
let body = await response.json();
|
|
158
157
|
const statuses = Object.keys(body.results).map((key) => body.results[key].status);
|
|
159
|
-
console.log("response statuses for", this.ctx.selectors.apis.Alerting.eval);
|
|
160
|
-
console.log("statuses", statuses);
|
|
161
158
|
route.fulfill({
|
|
162
159
|
response,
|
|
163
160
|
status: statuses.every((status) => status >= 200 && status < 300) ? 200 : statuses[0]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/plugin-e2e",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0-canary.1970.17152851704.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"uuid": "^11.0.2",
|
|
48
48
|
"yaml": "^2.3.4"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "b4b00a2ccb82892cd28eafc47a4e327875051af7"
|
|
51
51
|
}
|