@grafana/plugin-e2e 0.19.0 → 0.19.1
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.
- package/dist/e2e-selectors/types.d.ts +3 -0
- package/dist/e2e-selectors/versioned/components.d.ts +6 -0
- package/dist/e2e-selectors/versioned/components.js +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/models/pages/GrafanaPage.d.ts +3 -1
- package/dist/models/pages/GrafanaPage.js +3 -1
- package/package.json +2 -2
|
@@ -167,4 +167,10 @@ exports.versionedComponents = {
|
|
|
167
167
|
[constants_1.MIN_GRAFANA_VERSION]: 'Code editor container',
|
|
168
168
|
},
|
|
169
169
|
},
|
|
170
|
+
QueryField: {
|
|
171
|
+
container: {
|
|
172
|
+
'10.3.0': 'data-testid Query field',
|
|
173
|
+
[constants_1.MIN_GRAFANA_VERSION]: 'Query field',
|
|
174
|
+
},
|
|
175
|
+
},
|
|
170
176
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -22,7 +22,9 @@ export declare abstract class GrafanaPage {
|
|
|
22
22
|
*/
|
|
23
23
|
mockQueryDataResponse<T = any>(json: T, status?: number): Promise<void>;
|
|
24
24
|
/**
|
|
25
|
-
* Mocks the response of the datasource resource request
|
|
25
|
+
* Mocks the response of the datasource resource request.
|
|
26
|
+
* https://grafana.com/developers/plugin-tools/introduction/backend-plugins#resources
|
|
27
|
+
*
|
|
26
28
|
* @param path the path of the resource to mock
|
|
27
29
|
* @param json the json response to return
|
|
28
30
|
* @param status the HTTP status code to return. Defaults to 200
|
|
@@ -43,7 +43,9 @@ class GrafanaPage {
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
|
-
* Mocks the response of the datasource resource request
|
|
46
|
+
* Mocks the response of the datasource resource request.
|
|
47
|
+
* https://grafana.com/developers/plugin-tools/introduction/backend-plugins#resources
|
|
48
|
+
*
|
|
47
49
|
* @param path the path of the resource to mock
|
|
48
50
|
* @param json the json response to return
|
|
49
51
|
* @param status the HTTP status code to return. Defaults to 200
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/plugin-e2e",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.1",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"uuid": "^9.0.1",
|
|
47
47
|
"yaml": "^2.3.4"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "d9a79a343bd791c961b1cd2fb0824b23d6c265c3"
|
|
50
50
|
}
|