@grafana/plugin-e2e 3.0.4 → 3.1.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.
@@ -101,7 +101,7 @@ class PanelEditPage extends GrafanaPage.GrafanaPage {
101
101
  }
102
102
  await this.getByGrafanaSelector(this.ctx.selectors.components.PanelEditor.toggleVizPicker).click();
103
103
  await this.getByGrafanaSelector(this.ctx.selectors.components.PluginVisualization.item(visualization)).click();
104
- const vizSelector = semver__namespace.lte(this.ctx.grafanaVersion, "12.3.0") ? this.ctx.selectors.components.PanelEditor.toggleVizPicker : this.ctx.selectors.components.PanelEditor.OptionsPane.header;
104
+ const vizSelector = semver__namespace.lt(this.ctx.grafanaVersion, "12.4.0") ? this.ctx.selectors.components.PanelEditor.toggleVizPicker : this.ctx.selectors.components.PanelEditor.OptionsPane.header;
105
105
  await test.expect(
106
106
  this.getByGrafanaSelector(vizSelector),
107
107
  `Could not set visualization to ${visualization}. Ensure the panel is installed.`
@@ -124,7 +124,7 @@ class PanelEditPage extends GrafanaPage.GrafanaPage {
124
124
  * Returns the name of the visualization currently selected in the panel editor
125
125
  */
126
126
  getVisualizationName() {
127
- const vizSelector = semver__namespace.lte(this.ctx.grafanaVersion, "12.3.0") ? this.ctx.selectors.components.PanelEditor.toggleVizPicker : this.ctx.selectors.components.PanelEditor.OptionsPane.header;
127
+ const vizSelector = semver__namespace.lt(this.ctx.grafanaVersion, "12.4.0") ? this.ctx.selectors.components.PanelEditor.toggleVizPicker : this.ctx.selectors.components.PanelEditor.OptionsPane.header;
128
128
  return this.getByGrafanaSelector(vizSelector);
129
129
  }
130
130
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/plugin-e2e",
3
- "version": "3.0.4",
3
+ "version": "3.1.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -47,5 +47,5 @@
47
47
  "uuid": "^13.0.0",
48
48
  "yaml": "^2.3.4"
49
49
  },
50
- "gitHead": "a71949625ae859fb536130dbdf053854b100c5c6"
50
+ "gitHead": "a143221c100f1402e6f430997383830439749d40"
51
51
  }