@grafana/plugin-e2e 3.4.11 → 3.4.12-canary.2563.24085911066.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.
@@ -96,7 +96,10 @@ class DashboardPage extends GrafanaPage.GrafanaPage {
96
96
  */
97
97
  async addPanel() {
98
98
  const { components, pages, constants } = this.ctx.selectors;
99
- const scenesEnabled = await isFeatureToggleEnabled.isLegacyFeatureEnabled(this.ctx.page, "dashboardScene");
99
+ let scenesEnabled = true;
100
+ if (semver__namespace.lt(this.ctx.grafanaVersion, "13.0.0")) {
101
+ scenesEnabled = await isFeatureToggleEnabled.isLegacyFeatureEnabled(this.ctx.page, "dashboardScene");
102
+ }
100
103
  if (scenesEnabled && this.dashboard?.uid) {
101
104
  await this.getByGrafanaSelector(components.NavToolbar.editDashboard.editButton).click();
102
105
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/plugin-e2e",
3
- "version": "3.4.11",
3
+ "version": "3.4.12-canary.2563.24085911066.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -54,5 +54,5 @@
54
54
  "uuid": "^13.0.0",
55
55
  "yaml": "^2.3.4"
56
56
  },
57
- "gitHead": "def49813c11febf54299c9541b0eeb243fb4e495"
57
+ "gitHead": "dfbe9475fed4a5021e1fa59ef0f84b1934ca9f32"
58
58
  }