@grafana/plugin-e2e 2.1.9-canary.2053.17265229554.0 → 2.1.9-canary.2053.17266553343.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.
@@ -60,12 +60,12 @@ class AlertRuleEditPage extends GrafanaPage.GrafanaPage {
60
60
  "alertingQueryAndExpressionsStepMode"
61
61
  );
62
62
  if (alertingQueryAndExpressionsStepMode) {
63
- await test.expect(this.advancedModeSwitch).toBeVisible();
64
- await test.expect(this.advancedModeSwitch).toHaveCount(1);
63
+ await test.expect(this.advancedModeSwitch, "expect(this.advancedModeSwitch).toBeVisible()").toBeVisible();
65
64
  return true;
66
65
  }
67
- await test.expect(this.advancedModeSwitch).toBeHidden();
68
- await test.expect(this.advancedModeSwitch).toHaveCount(0);
66
+ await test.expect(this.advancedModeSwitch, "expect(this.advancedModeSwitch).toBeVisible()").toBeHidden({
67
+ timeout: 1e3 * 10
68
+ });
69
69
  return false;
70
70
  }
71
71
  /*
@@ -170,7 +170,7 @@ class AlertRuleEditPage extends GrafanaPage.GrafanaPage {
170
170
  if (semver__namespace.lt(this.ctx.grafanaVersion, "11.1.0")) {
171
171
  evaluateButton = this.ctx.page.getByRole("button", { name: "Preview", exact: true });
172
172
  }
173
- await test.expect(evaluateButton).toBeVisible();
173
+ await test.expect(evaluateButton, "expect(evaluateButton).toBeVisible()").toBeVisible();
174
174
  const evalReq = this.ctx.page.waitForRequest((req) => req.url().includes(this.ctx.selectors.apis.Alerting.eval), {
175
175
  timeout: 5e3
176
176
  }).catch(async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/plugin-e2e",
3
- "version": "2.1.9-canary.2053.17265229554.0",
3
+ "version": "2.1.9-canary.2053.17266553343.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": "217ea11af10359a52edeb5166f29e53a5e6b9e95"
50
+ "gitHead": "ff6c4c2cb289d95c76c7cbcbc276bb5f6b0e3b1a"
51
51
  }