@grafana/plugin-e2e 1.8.1 → 1.9.0-canary.1140.8d70b63.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.
- package/dist/fixtures/page.d.ts +1 -4
- package/dist/types.d.ts +2 -1
- package/package.json +2 -2
package/dist/fixtures/page.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PlaywrightArgs } from '../types';
|
|
3
|
-
type PageFixture = TestFixture<Page, PlaywrightArgs>;
|
|
1
|
+
import { PageFixture } from '../types';
|
|
4
2
|
/**
|
|
5
3
|
* This fixture ensures the feature toggles defined in the Playwright config are being used in Grafana frontend.
|
|
6
4
|
* If Grafana version >= 10.1.0, feature toggles are read from to the 'grafana.featureToggles' key in the browser's localStorage.
|
|
@@ -13,4 +11,3 @@ type PageFixture = TestFixture<Page, PlaywrightArgs>;
|
|
|
13
11
|
* The script is evaluated after the document was created but before any of its scripts were run.
|
|
14
12
|
*/
|
|
15
13
|
export declare const page: PageFixture;
|
|
16
|
-
export {};
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Locator, PlaywrightTestArgs, PlaywrightTestOptions, PlaywrightWorkerArgs, PlaywrightWorkerOptions, Response, TestInfo } from '@playwright/test';
|
|
1
|
+
import { Locator, PlaywrightTestArgs, PlaywrightTestOptions, PlaywrightWorkerArgs, PlaywrightWorkerOptions, Response, TestInfo, TestFixture, Page } from '@playwright/test';
|
|
2
2
|
import { E2ESelectors } from './e2e-selectors/types';
|
|
3
3
|
import { AnnotationEditPage } from './models/pages/AnnotationEditPage';
|
|
4
4
|
import { AppConfigPage } from './models/pages/AppConfigPage';
|
|
@@ -287,6 +287,7 @@ export type PluginTestCtx = {
|
|
|
287
287
|
* Playwright args used when defining fixtures
|
|
288
288
|
*/
|
|
289
289
|
export type PlaywrightArgs = PluginFixture & PluginOptions & PlaywrightTestArgs & PlaywrightTestOptions & PlaywrightWorkerArgs & PlaywrightWorkerOptions;
|
|
290
|
+
export type PageFixture = TestFixture<Page, PlaywrightArgs>;
|
|
290
291
|
/**
|
|
291
292
|
* The data source settings
|
|
292
293
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/plugin-e2e",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0-canary.1140.8d70b63.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"start": "cls || clear"
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "8d70b63cb978c9f71ccf9bbe3d8af62323ca67be"
|
|
60
60
|
}
|