@grafana/plugin-e2e 2.1.9-canary.2047.17150012078.0 → 2.1.9-canary.2051.17211132242.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,10 +151,13 @@ 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);
154
155
  return route.fulfill({ response });
155
156
  }
156
157
  let body = await response.json();
157
158
  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);
158
161
  route.fulfill({
159
162
  response,
160
163
  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.1.9-canary.2047.17150012078.0",
3
+ "version": "2.1.9-canary.2051.17211132242.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -37,7 +37,7 @@
37
37
  "@playwright/test": "^1.52.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@playwright/test": "^1.54.1",
40
+ "@playwright/test": "^1.54.2",
41
41
  "@types/uuid": "^10.0.0",
42
42
  "dotenv": "^17.2.1"
43
43
  },
@@ -47,5 +47,5 @@
47
47
  "uuid": "^11.0.2",
48
48
  "yaml": "^2.3.4"
49
49
  },
50
- "gitHead": "b01059371f3e615e2fd65dcbed65841ee70ccacf"
50
+ "gitHead": "a8b5c8072ebd3ab2905492db3e84d9aec57d6f17"
51
51
  }