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