@grafana/plugin-e2e 2.1.9-canary.2053.17266553343.0 → 2.1.9-canary.2053.17287369738.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
|
|
63
|
+
await test.expect(this.advancedModeSwitch).toBeVisible();
|
|
64
|
+
await test.expect(this.advancedModeSwitch).toHaveCount(1);
|
|
64
65
|
return true;
|
|
65
66
|
}
|
|
66
|
-
await test.expect(this.advancedModeSwitch
|
|
67
|
-
|
|
68
|
-
});
|
|
67
|
+
await test.expect(this.advancedModeSwitch).not.toBeVisible();
|
|
68
|
+
await test.expect(this.advancedModeSwitch).toHaveCount(0);
|
|
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
|
|
173
|
+
await test.expect(evaluateButton).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.
|
|
3
|
+
"version": "2.1.9-canary.2053.17287369738.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": "4ce0ac17f2c1d8d975900b78fe4c20585d7ca9e5"
|
|
51
51
|
}
|