@grafana/plugin-e2e 3.1.2 → 3.1.3-canary.2399.21126617854.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.
|
@@ -99,7 +99,15 @@ class PanelEditPage extends GrafanaPage.GrafanaPage {
|
|
|
99
99
|
if (showPanelEditElementCount > 0) {
|
|
100
100
|
await showPanelEditElement.click();
|
|
101
101
|
}
|
|
102
|
-
|
|
102
|
+
if (semver__namespace.gte(this.ctx.grafanaVersion, "12.4.0")) {
|
|
103
|
+
const allVisualizationsTab = this.ctx.selectors.components.Tab.title("All visualizations");
|
|
104
|
+
if (!await this.getByGrafanaSelector(allVisualizationsTab).isVisible()) {
|
|
105
|
+
await this.getByGrafanaSelector(this.ctx.selectors.components.PanelEditor.toggleVizPicker).click();
|
|
106
|
+
}
|
|
107
|
+
await this.getByGrafanaSelector(allVisualizationsTab).click();
|
|
108
|
+
} else {
|
|
109
|
+
await this.getByGrafanaSelector(this.ctx.selectors.components.PanelEditor.toggleVizPicker).click();
|
|
110
|
+
}
|
|
103
111
|
await this.getByGrafanaSelector(this.ctx.selectors.components.PluginVisualization.item(visualization)).click();
|
|
104
112
|
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
113
|
await test.expect(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/plugin-e2e",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3-canary.2399.21126617854.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": "
|
|
50
|
+
"gitHead": "447a5dd2a55d34c93defd136fe6e1886af2701ca"
|
|
51
51
|
}
|