@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.
@@ -100,6 +100,9 @@ export type Components = {
100
100
  Tooltip: {
101
101
  container: string;
102
102
  };
103
+ QueryField: {
104
+ container: string;
105
+ };
103
106
  };
104
107
  export type Pages = {
105
108
  Home: {
@@ -160,4 +160,10 @@ export declare const versionedComponents: {
160
160
  "8.0.0": string;
161
161
  };
162
162
  };
163
+ QueryField: {
164
+ container: {
165
+ '10.3.0': string;
166
+ "8.0.0": string;
167
+ };
168
+ };
163
169
  };
@@ -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
@@ -7,6 +7,7 @@ export * from './models';
7
7
  export * from './types';
8
8
  declare global {
9
9
  interface Window {
10
+ monaco: any;
10
11
  grafanaBootData: {
11
12
  settings: {
12
13
  featureToggles: Record<string, boolean>;
@@ -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.0",
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": "6aeffd908fe4b5e6e631f049dbd481ea1756b209"
49
+ "gitHead": "d9a79a343bd791c961b1cd2fb0824b23d6c265c3"
50
50
  }