@gravity-ui/playwright-tools 0.8.3 → 0.8.4
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/data/globalSettings.d.ts +4 -1
- package/data/index.d.ts +8 -0
- package/data/index.js +16 -0
- package/package.json +7 -2
package/data/globalSettings.d.ts
CHANGED
|
@@ -78,7 +78,10 @@ export declare const globalSettings: {
|
|
|
78
78
|
delay: number;
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
|
-
|
|
81
|
+
type GlobalSettingsType = typeof globalSettings;
|
|
82
|
+
export interface GlobalSettings extends GlobalSettingsType {
|
|
83
|
+
}
|
|
82
84
|
export type PartialGlobalSettings = {
|
|
83
85
|
[Key in keyof GlobalSettings]?: Partial<GlobalSettings[Key]>;
|
|
84
86
|
};
|
|
87
|
+
export {};
|
package/data/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type { CacheSettings } from './cacheSettings';
|
|
2
|
+
export { cacheSettings } from './cacheSettings';
|
|
3
|
+
export { extraHttpHeaders } from './extraHttpHeaders';
|
|
4
|
+
export type { GlobalSettings, PartialGlobalSettings } from './globalSettings';
|
|
5
|
+
export { globalSettings } from './globalSettings';
|
|
6
|
+
export type { StorageState } from './storageStates';
|
|
7
|
+
export { setState, getState, hasState, deleteState } from './storageStates';
|
|
8
|
+
export { testSlugs } from './testSlugs';
|
package/data/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.testSlugs = exports.deleteState = exports.hasState = exports.getState = exports.setState = exports.globalSettings = exports.extraHttpHeaders = exports.cacheSettings = void 0;
|
|
4
|
+
var cacheSettings_1 = require("./cacheSettings");
|
|
5
|
+
Object.defineProperty(exports, "cacheSettings", { enumerable: true, get: function () { return cacheSettings_1.cacheSettings; } });
|
|
6
|
+
var extraHttpHeaders_1 = require("./extraHttpHeaders");
|
|
7
|
+
Object.defineProperty(exports, "extraHttpHeaders", { enumerable: true, get: function () { return extraHttpHeaders_1.extraHttpHeaders; } });
|
|
8
|
+
var globalSettings_1 = require("./globalSettings");
|
|
9
|
+
Object.defineProperty(exports, "globalSettings", { enumerable: true, get: function () { return globalSettings_1.globalSettings; } });
|
|
10
|
+
var storageStates_1 = require("./storageStates");
|
|
11
|
+
Object.defineProperty(exports, "setState", { enumerable: true, get: function () { return storageStates_1.setState; } });
|
|
12
|
+
Object.defineProperty(exports, "getState", { enumerable: true, get: function () { return storageStates_1.getState; } });
|
|
13
|
+
Object.defineProperty(exports, "hasState", { enumerable: true, get: function () { return storageStates_1.hasState; } });
|
|
14
|
+
Object.defineProperty(exports, "deleteState", { enumerable: true, get: function () { return storageStates_1.deleteState; } });
|
|
15
|
+
var testSlugs_1 = require("./testSlugs");
|
|
16
|
+
Object.defineProperty(exports, "testSlugs", { enumerable: true, get: function () { return testSlugs_1.testSlugs; } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-ui/playwright-tools",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.4",
|
|
4
4
|
"description": "Tools for Playwright Test",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"playwright",
|
|
@@ -36,6 +36,11 @@
|
|
|
36
36
|
"import": "./auth/storage/index.js",
|
|
37
37
|
"require": "./auth/storage/index.js"
|
|
38
38
|
},
|
|
39
|
+
"./data": {
|
|
40
|
+
"types": "./data/index.d.ts",
|
|
41
|
+
"import": "./data/index.js",
|
|
42
|
+
"require": "./data/index.js"
|
|
43
|
+
},
|
|
39
44
|
"./fixtures": {
|
|
40
45
|
"types": "./fixtures/index.d.ts",
|
|
41
46
|
"import": "./fixtures/index.js",
|
|
@@ -60,7 +65,7 @@
|
|
|
60
65
|
"scripts": {
|
|
61
66
|
"prepare": "husky",
|
|
62
67
|
"build": "tsc",
|
|
63
|
-
"clean": "find actions auth data fixtures har utils -type f ! -name '.eslintrc.js' \\( -name '*.js' -o -name '*.d.ts' \\) -delete",
|
|
68
|
+
"clean": "find actions auth data fixtures har storybook utils -type f ! -name '.eslintrc.js' \\( -name '*.js' -o -name '*.d.ts' \\) -delete",
|
|
64
69
|
"typecheck": "tsc --noEmit",
|
|
65
70
|
"lint": "eslint --ext .ts ./",
|
|
66
71
|
"test": "jest --colors --config=jest.config.js",
|