@grafana/plugin-e2e 1.16.2 → 1.16.3-canary.1483.bbe402c.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.
|
@@ -46,7 +46,7 @@ class DataSourcePicker extends GrafanaPage_1.GrafanaPage {
|
|
|
46
46
|
* Sets the data source picker to the provided name
|
|
47
47
|
*/
|
|
48
48
|
async set(name) {
|
|
49
|
-
let datasourcePicker = this.ctx.page.getByTestId(this.ctx.selectors.components.DataSourcePicker.inputV2);
|
|
49
|
+
let datasourcePicker = (this.root || this.ctx.page).getByTestId(this.ctx.selectors.components.DataSourcePicker.inputV2);
|
|
50
50
|
if (semver.lt(this.ctx.grafanaVersion, '10.1.0')) {
|
|
51
51
|
datasourcePicker = this.getByGrafanaSelector(this.ctx.selectors.components.DataSourcePicker.container, {
|
|
52
52
|
root: this.root,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/plugin-e2e",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.3-canary.1483.bbe402c.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"start": "cls || clear"
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "bbe402ce1bcee66b07363d9bd2c58c2bdb56a817"
|
|
59
59
|
}
|