@grafana/plugin-e2e 1.12.3 → 1.12.4-canary.1362.0599779d.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.
|
@@ -120,6 +120,9 @@ class DashboardPage extends GrafanaPage_1.GrafanaPage {
|
|
|
120
120
|
if (this.dashboard?.uid) {
|
|
121
121
|
await this.getByGrafanaSelector(components.PageToolbar.item('Add panel')).click();
|
|
122
122
|
}
|
|
123
|
+
if (semver.gte(this.ctx.grafanaVersion, '8.0.0') && semver.lte(this.ctx.grafanaVersion, '8.5.0')) {
|
|
124
|
+
await this.getByGrafanaSelector('Add panel').click();
|
|
125
|
+
}
|
|
123
126
|
await this.getByGrafanaSelector(pages.AddDashboard.addNewPanel).click();
|
|
124
127
|
}
|
|
125
128
|
const panelId = await this.ctx.page.evaluate(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/plugin-e2e",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.4-canary.1362.0599779d.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"start": "cls || clear"
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "0599779d1988a96c0e8d97c0728b04286d521865"
|
|
61
61
|
}
|