@zohodesk/testinglibrary 3.2.17 → 3.2.19
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/README.md +1 -9
- package/build/core/playwright/configuration/ConfigurationHelper.js +7 -5
- package/build/core/playwright/constants/configConstants.js +17 -0
- package/build/core/playwright/custom-commands.js +1 -1
- package/build/core/playwright/env-initializer.js +10 -9
- package/build/core/playwright/helpers/auth/getUsers.js +14 -14
- package/build/core/playwright/helpers/auth/loginDefaultStepsHelper.js +1 -2
- package/build/core/playwright/helpers/auth/loginSteps.js +5 -7
- package/build/core/playwright/helpers/configFileNameProvider.js +15 -8
- package/build/core/playwright/helpers/configPathResolver.js +38 -0
- package/build/core/playwright/readConfigFile.js +9 -3
- package/build/core/playwright/test-runner.js +4 -2
- package/build/index.d.ts +0 -1
- package/build/index.js +0 -2
- package/build/test/core/playwright/helpers/__tests__/configFileNameProvider.test.js +54 -13
- package/build/test/core/playwright/helpers/__tests__/configPathResolver.test.js +55 -0
- package/build/test/core/playwright/helpers/__tests__/getUsers_ListOfActors.test.js +29 -26
- package/npm-shrinkwrap.json +70 -238
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
- npm run report
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
### v3.2.
|
|
21
|
+
### v3.2.19 - 17-12-2025
|
|
22
22
|
|
|
23
23
|
#### Enhancement
|
|
24
24
|
- Cookie storage prefix support is provided in this version.
|
|
@@ -46,14 +46,6 @@
|
|
|
46
46
|
|
|
47
47
|
- New step a search entity using {string} provided for search indexing, This step will use run time data generation response as input for the indexing
|
|
48
48
|
|
|
49
|
-
### Issue fix
|
|
50
|
-
- Custom teardown comment provided
|
|
51
|
-
|
|
52
|
-
### v3.2.10 - 09-10-2025
|
|
53
|
-
|
|
54
|
-
#### Enhancement
|
|
55
|
-
- A teardown option has been introduced in the configuration to manage and clean up login sessions stored in the NFS environment.
|
|
56
|
-
|
|
57
49
|
|
|
58
50
|
### v3.2.9 - 26-09-2025
|
|
59
51
|
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.combineConfiguration = combineConfiguration;
|
|
8
7
|
exports.getApplicationConfig = getApplicationConfig;
|
|
9
|
-
|
|
8
|
+
exports.getRunStage = getRunStage;
|
|
10
9
|
var _logger = require("../../../utils/logger");
|
|
11
10
|
var _configFileNameProvider = require("../helpers/configFileNameProvider");
|
|
12
11
|
var _mergeObjects = require("../helpers/mergeObjects");
|
|
13
12
|
var _fs = require("fs");
|
|
14
|
-
const Configuration = require("./Configuration");
|
|
15
13
|
function combineConfiguration(defaultConfig, userConfiguration) {
|
|
16
14
|
let configurationObj = {};
|
|
17
15
|
Object.keys(userConfiguration).forEach(configKey => {
|
|
@@ -26,10 +24,10 @@ function combineConfiguration(defaultConfig, userConfiguration) {
|
|
|
26
24
|
});
|
|
27
25
|
return (0, _mergeObjects.mergeObjects)(defaultConfig, configurationObj);
|
|
28
26
|
}
|
|
29
|
-
function getApplicationConfig(mode) {
|
|
27
|
+
function getApplicationConfig(stage, mode) {
|
|
30
28
|
let filePath = "";
|
|
31
29
|
try {
|
|
32
|
-
filePath =
|
|
30
|
+
filePath = (0, _configFileNameProvider.getUATFileName)(stage, mode);
|
|
33
31
|
if (!(0, _fs.existsSync)(filePath)) {
|
|
34
32
|
throw new Error("Exception while getting the uat file from the application - " + filePath);
|
|
35
33
|
}
|
|
@@ -40,4 +38,8 @@ function getApplicationConfig(mode) {
|
|
|
40
38
|
_logger.Logger.error(err);
|
|
41
39
|
return {};
|
|
42
40
|
}
|
|
41
|
+
}
|
|
42
|
+
function getRunStage() {
|
|
43
|
+
const stage = process.env.stage;
|
|
44
|
+
return stage || 'uat';
|
|
43
45
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
class configConstants {
|
|
8
|
+
static DEFAULT_CONFIG_DIR = 'default';
|
|
9
|
+
static BETA_DIR = 'beta';
|
|
10
|
+
static ACTOR_DIR = 'actors';
|
|
11
|
+
static UAT_CONFIG_FILE = 'uat.config.js';
|
|
12
|
+
static INDEX_FILE = 'index.js';
|
|
13
|
+
static SETTINGS_FILE = 'settings.json';
|
|
14
|
+
static TEST_SUMMARY_FILE = 'test-summary.json';
|
|
15
|
+
static STAGE_CONFIG_MAP_FILE = 'uat/conf_path_map.properties';
|
|
16
|
+
}
|
|
17
|
+
exports.default = configConstants;
|
|
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.CUSTOM_COMMANDS = void 0;
|
|
7
|
-
const CUSTOM_COMMANDS = exports.CUSTOM_COMMANDS = ['mode', 'tags', 'edition', 'browsers', 'filePath', 'headless', 'modules', 'isTearDown'];
|
|
7
|
+
const CUSTOM_COMMANDS = exports.CUSTOM_COMMANDS = ['stage', 'mode', 'tags', 'edition', 'browsers', 'filePath', 'headless', 'modules', 'isTearDown'];
|
|
@@ -17,19 +17,20 @@ function setEnvironmentVariables(configJSON) {
|
|
|
17
17
|
}
|
|
18
18
|
function addHelperLogsForEnvInitialization() {
|
|
19
19
|
_logger.Logger.log(_logger.Logger.INFO_TYPE, `Mode under which test cases should run has not been specified in args.`);
|
|
20
|
-
_logger.Logger.log(_logger.Logger.INFO_TYPE, `Please specify --mode='dev/
|
|
20
|
+
_logger.Logger.log(_logger.Logger.INFO_TYPE, `Please specify --mode='dev/ci/cd/devautomation' while running ZDTestingFramework test`);
|
|
21
21
|
_logger.Logger.log(_logger.Logger.INFO_TYPE, `Going to use default mode as dev`);
|
|
22
22
|
}
|
|
23
|
-
function initializeEnvConfig(mode, isAuthMode) {
|
|
23
|
+
function initializeEnvConfig(stage, mode, isAuthMode) {
|
|
24
|
+
if (!mode) {
|
|
25
|
+
addHelperLogsForEnvInitialization();
|
|
26
|
+
mode = 'dev';
|
|
27
|
+
}
|
|
28
|
+
const configFilePath = (0, _fs.readFileSync)(_path.default.resolve(process.cwd(), `./${(0, _configFileNameProvider.getEnvConfigFilePath)(stage, mode)}`));
|
|
24
29
|
try {
|
|
25
|
-
|
|
26
|
-
addHelperLogsForEnvInitialization();
|
|
27
|
-
mode = 'dev';
|
|
28
|
-
}
|
|
29
|
-
const configFile = (0, _fs.readFileSync)(_path.default.resolve(process.cwd(), `./${(0, _configFileNameProvider.getEnvConfigFilePath)(mode)}`));
|
|
30
|
-
const configJSON = JSON.parse(configFile);
|
|
30
|
+
const configJSON = JSON.parse(configFilePath);
|
|
31
31
|
setEnvironmentVariables({
|
|
32
32
|
...configJSON,
|
|
33
|
+
stage,
|
|
33
34
|
mode
|
|
34
35
|
});
|
|
35
36
|
if (isAuthMode) {
|
|
@@ -38,6 +39,6 @@ function initializeEnvConfig(mode, isAuthMode) {
|
|
|
38
39
|
}
|
|
39
40
|
} catch (err) {
|
|
40
41
|
_logger.Logger.error(err);
|
|
41
|
-
throw new Error(`Config File Not Exists. Please provide a
|
|
42
|
+
throw new Error(`Config File Not Exists. Please provide a ${configFilePath} to initialize the environment variables`);
|
|
42
43
|
}
|
|
43
44
|
}
|
|
@@ -13,7 +13,9 @@ exports.isCI = isCI;
|
|
|
13
13
|
exports.isDevelopmentSetup = isDevelopmentSetup;
|
|
14
14
|
var _path = _interopRequireDefault(require("path"));
|
|
15
15
|
var _fs = require("fs");
|
|
16
|
-
var
|
|
16
|
+
var _configPathResolver = require("../configPathResolver");
|
|
17
|
+
var _ConfigurationHelper = require("./../../configuration/ConfigurationHelper");
|
|
18
|
+
var _configConstants = _interopRequireDefault(require("../../constants/configConstants"));
|
|
17
19
|
/* eslint-disable global-require */
|
|
18
20
|
function getRunMode() {
|
|
19
21
|
let {
|
|
@@ -30,19 +32,18 @@ function isDevelopmentSetup() {
|
|
|
30
32
|
return mode === 'DEV' || mode === 'dev';
|
|
31
33
|
}
|
|
32
34
|
function getDefaultActorConf() {
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
const
|
|
37
|
-
const filePath = _path.default.join(uatDirectory, modeSettingsFile);
|
|
35
|
+
const stage = (0, _ConfigurationHelper.getRunStage)();
|
|
36
|
+
const stagePath = (0, _configPathResolver.getConfigPath)(stage);
|
|
37
|
+
const modeSettingsFile = `${stagePath}/${getRunMode()}/${_configConstants.default.SETTINGS_FILE}`;
|
|
38
|
+
const filePath = _path.default.join(_path.default.resolve(process.cwd(), modeSettingsFile));
|
|
38
39
|
try {
|
|
39
40
|
if (!(0, _fs.existsSync)(filePath)) {
|
|
40
|
-
const defaultSettingsFile = _path.default.join(
|
|
41
|
+
const defaultSettingsFile = _path.default.join(_path.default.resolve(process.cwd(), `${stagePath}/${_configConstants.default.DEFAULT_CONFIG_DIR}/${_configConstants.default.SETTINGS_FILE}`));
|
|
41
42
|
return require(defaultSettingsFile);
|
|
42
43
|
}
|
|
43
44
|
return require(filePath);
|
|
44
45
|
} catch (error) {
|
|
45
|
-
throw new Error(`${
|
|
46
|
+
throw new Error(`${filePath} file missing.`);
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
49
|
function getDefaultActor() {
|
|
@@ -53,18 +54,17 @@ function getDefaultActor() {
|
|
|
53
54
|
return getUserForSelectedEditionAndProfile(edition, profile);
|
|
54
55
|
}
|
|
55
56
|
function getListOfActors(betaFeature) {
|
|
56
|
-
const {
|
|
57
|
-
uatDirectory
|
|
58
|
-
} = (0, _readConfigFile.generateConfigFromFile)();
|
|
59
57
|
const mode = getRunMode();
|
|
60
|
-
|
|
58
|
+
const stage = (0, _ConfigurationHelper.getRunStage)();
|
|
59
|
+
const stagePath = (0, _configPathResolver.getConfigPath)(stage);
|
|
60
|
+
let configFile = _path.default.join(_path.default.resolve(process.cwd(), `${stagePath}/${mode}/${_configConstants.default.ACTOR_DIR}/${_configConstants.default.INDEX_FILE}`));
|
|
61
61
|
let betaReference = mode;
|
|
62
62
|
if (!(0, _fs.existsSync)(configFile)) {
|
|
63
|
-
configFile = _path.default.join(
|
|
63
|
+
configFile = _path.default.join(_path.default.resolve(process.cwd(), `${stagePath}/${_configConstants.default.DEFAULT_CONFIG_DIR}/${_configConstants.default.ACTOR_DIR}/${_configConstants.default.INDEX_FILE}`));
|
|
64
64
|
betaReference = "default";
|
|
65
65
|
}
|
|
66
66
|
if (betaFeature) {
|
|
67
|
-
configFile = _path.default.join(
|
|
67
|
+
configFile = _path.default.join(_path.default.resolve(process.cwd(), `${stagePath}/${betaReference}/${_configConstants.default.ACTOR_DIR}/${_configConstants.default.BETA_DIR}/${betaFeature}/${_configConstants.default.INDEX_FILE}`));
|
|
68
68
|
if (!(0, _fs.existsSync)(configFile)) {
|
|
69
69
|
throw new Error(`There is no beta feature configured with the name "${betaFeature}"`);
|
|
70
70
|
}
|
|
@@ -41,8 +41,7 @@ async function executeDefaultLoginSteps(context, testInfo, testDetails, testPort
|
|
|
41
41
|
}
|
|
42
42
|
try {
|
|
43
43
|
const projectName = testInfo.project.name;
|
|
44
|
-
|
|
45
|
-
testDetails.authFilePrefix = authFileName;
|
|
44
|
+
testDetails.authFilePrefix = process.env.authFilePrefix;
|
|
46
45
|
if (testPortalDetails && projectName !== 'setup' && projectName !== 'cleanup') {
|
|
47
46
|
await context.clearCookies();
|
|
48
47
|
await (0, _auth.performLoginSteps)(testDetails, async testInfo => {
|
|
@@ -19,16 +19,14 @@ async function performLoginSteps(testInfo, isLoggedIn, loginSteps) {
|
|
|
19
19
|
email
|
|
20
20
|
} = testInfo;
|
|
21
21
|
let authFileName;
|
|
22
|
-
if (
|
|
23
|
-
authFileName = email
|
|
24
|
-
|
|
25
|
-
authFileName = authFilePrefix;
|
|
22
|
+
if (authFilePrefix) {
|
|
23
|
+
authFileName = `${authFilePrefix}-${email}`;
|
|
24
|
+
process.env.authFilePrefix = authFilePrefix;
|
|
26
25
|
} else {
|
|
27
|
-
authFileName =
|
|
26
|
+
authFileName = `${email}`;
|
|
28
27
|
}
|
|
29
|
-
process.env.authFileName = authFileName;
|
|
30
28
|
const authFile = _path.default.resolve(_path.default.join((0, _checkAuthCookies.getAuthFileDirectory)(), `${authFileName}-cookies.json`));
|
|
31
|
-
const lockFileName = authFileName
|
|
29
|
+
const lockFileName = `${authFileName}`.replace(/[@.]/g, '_');
|
|
32
30
|
const fileMutex = new _fileMutex.default((0, _checkAuthDirectory.getLockDirectoryPath)(), lockFileName, _fileMutexConfig.fileDeletionTimeoutConfig);
|
|
33
31
|
let loginUsingCookie = false;
|
|
34
32
|
try {
|
|
@@ -10,22 +10,29 @@ exports.getUATFileName = getUATFileName;
|
|
|
10
10
|
var _path = _interopRequireDefault(require("path"));
|
|
11
11
|
var _fs = _interopRequireDefault(require("fs"));
|
|
12
12
|
var _auth = require("./auth");
|
|
13
|
-
|
|
13
|
+
var _ConfigurationHelper = require("./../configuration/ConfigurationHelper");
|
|
14
|
+
var _configPathResolver = require("./configPathResolver");
|
|
15
|
+
var _configConstants = _interopRequireDefault(require("../constants/configConstants"));
|
|
16
|
+
function getUATFileName(stage, mode) {
|
|
17
|
+
stage = stage || (0, _ConfigurationHelper.getRunStage)();
|
|
14
18
|
mode = mode || (0, _auth.getRunMode)();
|
|
15
|
-
const
|
|
19
|
+
const stagePath = (0, _configPathResolver.getConfigPath)(stage);
|
|
20
|
+
const uatConfFilePath = _path.default.resolve(process.cwd(), `${stagePath}/${mode}/${_configConstants.default.UAT_CONFIG_FILE}`);
|
|
16
21
|
if (_fs.default.existsSync(uatConfFilePath)) {
|
|
17
22
|
return uatConfFilePath;
|
|
18
23
|
}
|
|
19
|
-
|
|
24
|
+
;
|
|
25
|
+
return _path.default.resolve(process.cwd(), `${stagePath}/${_configConstants.default.DEFAULT_CONFIG_DIR}/${_configConstants.default.UAT_CONFIG_FILE}`);
|
|
20
26
|
}
|
|
21
|
-
function getEnvConfigFilePath(mode) {
|
|
22
|
-
const
|
|
27
|
+
function getEnvConfigFilePath(stage, mode) {
|
|
28
|
+
const stagePath = (0, _configPathResolver.getConfigPath)(stage);
|
|
29
|
+
const confFilePath = `${stagePath}/${mode}/${_configConstants.default.SETTINGS_FILE}`;
|
|
23
30
|
// TODO: Actors Mode as config
|
|
24
31
|
if (_fs.default.existsSync(confFilePath)) {
|
|
25
|
-
return
|
|
32
|
+
return confFilePath;
|
|
26
33
|
}
|
|
27
|
-
return
|
|
34
|
+
return `${stagePath}/${_configConstants.default.DEFAULT_CONFIG_DIR}/${_configConstants.default.SETTINGS_FILE}`;
|
|
28
35
|
}
|
|
29
36
|
function getReportFileName() {
|
|
30
|
-
return
|
|
37
|
+
return `${_configConstants.default.TEST_SUMMARY_FILE}`;
|
|
31
38
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.getConfigPath = getConfigPath;
|
|
8
|
+
var _fs = _interopRequireDefault(require("fs"));
|
|
9
|
+
var _path = _interopRequireDefault(require("path"));
|
|
10
|
+
var _propertiesReader = _interopRequireDefault(require("properties-reader"));
|
|
11
|
+
var _logger = require("../../../utils/logger");
|
|
12
|
+
var _configConstants = _interopRequireDefault(require("../constants/configConstants"));
|
|
13
|
+
//This function reads a properties file and returns the entire properties
|
|
14
|
+
|
|
15
|
+
function readPropertiesFile(relativeFilePath) {
|
|
16
|
+
const filePath = _path.default.resolve(process.cwd(), relativeFilePath);
|
|
17
|
+
let properties;
|
|
18
|
+
if (_fs.default.existsSync(filePath)) {
|
|
19
|
+
properties = (0, _propertiesReader.default)(filePath);
|
|
20
|
+
} else {
|
|
21
|
+
// we have to remove this logic after adding all the projects with proper config files
|
|
22
|
+
_logger.Logger.log(_logger.Logger.INFO_TYPE, `Properties file ${filePath} not found. Using default configurations.`);
|
|
23
|
+
properties = (0, _propertiesReader.default)();
|
|
24
|
+
properties.set('uat', 'uat/conf');
|
|
25
|
+
}
|
|
26
|
+
return properties;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// This function return the value for the passed arguments key
|
|
30
|
+
|
|
31
|
+
function getConfigPath(stage) {
|
|
32
|
+
const props = readPropertiesFile(_configConstants.default.STAGE_CONFIG_MAP_FILE);
|
|
33
|
+
const configPath = props.get(stage);
|
|
34
|
+
if (!configPath) {
|
|
35
|
+
_logger.Logger.log(_logger.Logger.FAILURE_TYPE, `No config mapping found for stage: "${stage}"`);
|
|
36
|
+
}
|
|
37
|
+
return configPath;
|
|
38
|
+
}
|
|
@@ -16,9 +16,14 @@ var _mergeObjects = require("./helpers/mergeObjects");
|
|
|
16
16
|
var _Configuration = _interopRequireDefault(require("./configuration/Configuration"));
|
|
17
17
|
var _UserArgs = _interopRequireDefault(require("./configuration/UserArgs"));
|
|
18
18
|
var _ConfigurationHelper = require("./configuration/ConfigurationHelper");
|
|
19
|
+
var _auth = require("./helpers/auth");
|
|
19
20
|
let cachedConfig = null;
|
|
20
21
|
function getPrimaryCookiePath() {
|
|
21
|
-
const
|
|
22
|
+
const {
|
|
23
|
+
email
|
|
24
|
+
} = (0, _auth.getDefaultActor)();
|
|
25
|
+
const authFilePrefix = process.env.authFilePrefix;
|
|
26
|
+
let authFileName = authFilePrefix ? `${authFilePrefix}-${email}` : `${email}`;
|
|
22
27
|
return `uat/playwright/.auth/${authFileName}-cookies.json`;
|
|
23
28
|
}
|
|
24
29
|
function getDefaultConfig() {
|
|
@@ -115,15 +120,16 @@ function combineDefaultConfigWithUserConfig(userConfiguration) {
|
|
|
115
120
|
*/
|
|
116
121
|
|
|
117
122
|
function getConfigFilePath() {
|
|
118
|
-
return
|
|
123
|
+
return (0, _configFileNameProvider.getUATFileName)();
|
|
119
124
|
}
|
|
120
125
|
function generateConfigFromFile() {
|
|
121
126
|
if (cachedConfig === null) {
|
|
122
127
|
// Getting the default config's from framework
|
|
123
128
|
const uatConfig = new _Configuration.default(getDefaultConfig());
|
|
124
129
|
// overriding the application config's from project
|
|
125
|
-
const appConfig = new _Configuration.default((0, _ConfigurationHelper.getApplicationConfig)());
|
|
126
130
|
const userArgConfig = new _Configuration.default(_UserArgs.default.parseToObject(process.argv.slice(2)));
|
|
131
|
+
const stage = userArgConfig.get("stage");
|
|
132
|
+
const appConfig = new _Configuration.default((0, _ConfigurationHelper.getApplicationConfig)(stage));
|
|
127
133
|
// overriding the user config's from CLI
|
|
128
134
|
uatConfig.addAll(appConfig);
|
|
129
135
|
uatConfig.addAll(userArgConfig);
|
|
@@ -86,7 +86,8 @@ function main() {
|
|
|
86
86
|
// overriding the application config's from project
|
|
87
87
|
const userArgConfig = new _Configuration.default(_UserArgs.default.parseToObject(process.argv.slice(2)));
|
|
88
88
|
const mode = userArgConfig.get("mode");
|
|
89
|
-
|
|
89
|
+
const stage = userArgConfig.get("stage");
|
|
90
|
+
uatConfig.addAll(new _Configuration.default((0, _ConfigurationHelper.getApplicationConfig)(stage, mode)));
|
|
90
91
|
// overriding the user config's from CLI
|
|
91
92
|
uatConfig.addAll(userArgConfig);
|
|
92
93
|
const modules = uatConfig.get('modules');
|
|
@@ -95,6 +96,7 @@ function main() {
|
|
|
95
96
|
//We need to change this process.env variable to pass the module name in future.
|
|
96
97
|
process.env.modules = modules;
|
|
97
98
|
process.env.tearDown = tearDown;
|
|
99
|
+
process.env.stage = stage;
|
|
98
100
|
const {
|
|
99
101
|
isAuthMode,
|
|
100
102
|
editionOrder,
|
|
@@ -102,7 +104,7 @@ function main() {
|
|
|
102
104
|
bddMode = false,
|
|
103
105
|
headless = false
|
|
104
106
|
} = uatConfig.getAll();
|
|
105
|
-
(0, _envInitializer.initializeEnvConfig)(mode, isAuthMode);
|
|
107
|
+
(0, _envInitializer.initializeEnvConfig)(stage, mode, isAuthMode);
|
|
106
108
|
|
|
107
109
|
//This is only used for pass the user arguments to need places in legacy code. We need to rewamp that also.
|
|
108
110
|
const userArgsObject = userArgConfig.getAll();
|
package/build/index.d.ts
CHANGED
package/build/index.js
CHANGED
|
@@ -4,31 +4,72 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
var _fs = require("fs");
|
|
5
5
|
var _path = _interopRequireDefault(require("path"));
|
|
6
6
|
var _configFileNameProvider = require("../../../../../core/playwright/helpers/configFileNameProvider");
|
|
7
|
+
var _configPathResolver = require("../../../../../core/playwright/helpers/configPathResolver");
|
|
7
8
|
jest.mock('fs');
|
|
8
|
-
jest.mock('path')
|
|
9
|
+
jest.mock('path', () => ({
|
|
10
|
+
resolve: jest.fn()
|
|
11
|
+
}));
|
|
12
|
+
jest.mock("../../../../../core/playwright/helpers/configPathResolver", () => ({
|
|
13
|
+
getConfigPath: jest.fn()
|
|
14
|
+
}));
|
|
9
15
|
const mockCwd = '/mock/current/directory';
|
|
10
16
|
_path.default.resolve = jest.fn();
|
|
11
17
|
process.cwd = jest.fn(() => mockCwd);
|
|
12
18
|
describe('getUATFileName', () => {
|
|
13
19
|
beforeEach(() => {
|
|
14
20
|
jest.clearAllMocks();
|
|
21
|
+
_path.default.resolve.mockImplementation((...segments) => segments.join('/'));
|
|
15
22
|
});
|
|
16
|
-
test('return
|
|
23
|
+
test('should return pipeline-matched config path when file exists', () => {
|
|
24
|
+
const stage = 'uat';
|
|
17
25
|
const mode = 'cd';
|
|
18
|
-
|
|
26
|
+
_configPathResolver.getConfigPath.mockReturnValue(`${stage}/conf`);
|
|
19
27
|
_fs.existsSync.mockReturnValue(true);
|
|
20
|
-
|
|
21
|
-
const result = (0, _configFileNameProvider.getUATFileName)(mode);
|
|
22
|
-
expect(
|
|
23
|
-
expect(
|
|
28
|
+
const expected = `${process.cwd()}/${stage}/conf/${mode}/uat.config.js`;
|
|
29
|
+
const result = (0, _configFileNameProvider.getUATFileName)(stage, mode);
|
|
30
|
+
expect(_configPathResolver.getConfigPath).toHaveBeenCalledWith(stage);
|
|
31
|
+
expect(_fs.existsSync).toHaveBeenCalledWith(expected);
|
|
32
|
+
expect(result).toBe(expected);
|
|
24
33
|
});
|
|
25
|
-
test('
|
|
26
|
-
const mode = '
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
|
|
34
|
+
test('should use default stage and mode when not provided', () => {
|
|
35
|
+
const mode = 'dev';
|
|
36
|
+
const stageConfigPath = 'uat/conf';
|
|
37
|
+
const expectedPath = `${mockCwd}/${stageConfigPath}/${mode}/uat.config.js`;
|
|
38
|
+
_fs.existsSync.mockReturnValue(true);
|
|
30
39
|
const result = (0, _configFileNameProvider.getUATFileName)(mode);
|
|
31
40
|
expect(_fs.existsSync).toHaveBeenCalledWith(`${mockCwd}/uat/conf/${mode}/uat.config.js`);
|
|
32
|
-
expect(result).toBe(
|
|
41
|
+
expect(result).toBe(expectedPath);
|
|
42
|
+
});
|
|
43
|
+
test('should return the default config files for pipeline matched files not exists', () => {
|
|
44
|
+
const mockStage = 'uat';
|
|
45
|
+
const mockMode = 'ci';
|
|
46
|
+
const stageConfigPath = 'uat/conf';
|
|
47
|
+
const nonExistingPath = `${mockCwd}/${stageConfigPath}/${mockMode}/uat.config.js`;
|
|
48
|
+
const expectedDefaultPath = `${mockCwd}/${mockStage}/conf/default/uat.config.js`;
|
|
49
|
+
_configPathResolver.getConfigPath.mockReturnValue(stageConfigPath);
|
|
50
|
+
_fs.existsSync.mockReturnValue(false);
|
|
51
|
+
const result = (0, _configFileNameProvider.getUATFileName)(mockStage, mockMode);
|
|
52
|
+
expect(_fs.existsSync).toHaveBeenCalledWith(nonExistingPath);
|
|
53
|
+
expect(result).toBe(expectedDefaultPath);
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
describe('getEnvConfigFilePath', () => {
|
|
57
|
+
beforeEach(() => {
|
|
58
|
+
jest.clearAllMocks();
|
|
59
|
+
_path.default.resolve.mockImplementation((...segments) => segments.join('/'));
|
|
60
|
+
});
|
|
61
|
+
test('should return conf file path when file exists', () => {
|
|
62
|
+
_configPathResolver.getConfigPath.mockReturnValue('uat/conf');
|
|
63
|
+
_fs.existsSync.mockReturnValue(true);
|
|
64
|
+
const result = (0, _configFileNameProvider.getEnvConfigFilePath)('uat', 'cd');
|
|
65
|
+
expect(_configPathResolver.getConfigPath).toHaveBeenCalledWith('uat');
|
|
66
|
+
expect(_fs.existsSync).toHaveBeenCalled();
|
|
67
|
+
expect(result).toBe('uat/conf/cd/settings.json');
|
|
68
|
+
});
|
|
69
|
+
test('should return default path when file does not exist', () => {
|
|
70
|
+
_configPathResolver.getConfigPath.mockReturnValue('uat/conf');
|
|
71
|
+
_fs.existsSync.mockReturnValue(false);
|
|
72
|
+
const result = (0, _configFileNameProvider.getEnvConfigFilePath)('uat', 'ci');
|
|
73
|
+
expect(result).toBe('uat/conf/default/settings.json');
|
|
33
74
|
});
|
|
34
75
|
});
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
var _fs = _interopRequireDefault(require("fs"));
|
|
5
|
+
var _path = _interopRequireDefault(require("path"));
|
|
6
|
+
var _propertiesReader = _interopRequireDefault(require("properties-reader"));
|
|
7
|
+
var _configPathResolver = require("../../../../../core/playwright/helpers/configPathResolver");
|
|
8
|
+
var _logger = require("../../../../../utils/logger");
|
|
9
|
+
var _configConstants = _interopRequireDefault(require("../../../../../core/playwright/constants/configConstants"));
|
|
10
|
+
jest.mock('fs');
|
|
11
|
+
jest.mock('path');
|
|
12
|
+
jest.mock('properties-reader');
|
|
13
|
+
jest.mock('../../../../../utils/logger', () => ({
|
|
14
|
+
Logger: {
|
|
15
|
+
log: jest.fn(),
|
|
16
|
+
INFO_TYPE: 'info',
|
|
17
|
+
FAILURE_TYPE: 'failure'
|
|
18
|
+
}
|
|
19
|
+
}));
|
|
20
|
+
describe('getConfigPath', () => {
|
|
21
|
+
const mockProps = {
|
|
22
|
+
get: jest.fn(),
|
|
23
|
+
set: jest.fn()
|
|
24
|
+
};
|
|
25
|
+
beforeEach(() => {
|
|
26
|
+
jest.clearAllMocks();
|
|
27
|
+
_propertiesReader.default.mockReturnValue(mockProps);
|
|
28
|
+
_path.default.resolve.mockImplementation((...args) => args.join('/'));
|
|
29
|
+
});
|
|
30
|
+
test('should return config path when properties file exists and has mapping', () => {
|
|
31
|
+
_fs.default.existsSync.mockReturnValue(true);
|
|
32
|
+
mockProps.get.mockReturnValue('uat/conf');
|
|
33
|
+
const result = (0, _configPathResolver.getConfigPath)('uat');
|
|
34
|
+
expect(_fs.default.existsSync).toHaveBeenCalledWith(expect.stringContaining(_configConstants.default.STAGE_CONFIG_MAP_FILE));
|
|
35
|
+
expect(_propertiesReader.default).toHaveBeenCalled();
|
|
36
|
+
expect(mockProps.get).toHaveBeenCalledWith('uat');
|
|
37
|
+
expect(result).toBe('uat/conf');
|
|
38
|
+
expect(_logger.Logger.log).not.toHaveBeenCalledWith(_logger.Logger.FAILURE_TYPE, expect.any(String));
|
|
39
|
+
});
|
|
40
|
+
test('should log info and use default mapping if file does not exist', () => {
|
|
41
|
+
_fs.default.existsSync.mockReturnValue(false);
|
|
42
|
+
mockProps.get.mockImplementation(key => key === 'uat' ? 'uat/conf' : undefined);
|
|
43
|
+
const result = (0, _configPathResolver.getConfigPath)('uat');
|
|
44
|
+
expect(_logger.Logger.log).toHaveBeenCalledWith(_logger.Logger.INFO_TYPE, expect.stringContaining('not found'));
|
|
45
|
+
expect(mockProps.set).toHaveBeenCalledWith('uat', 'uat/conf');
|
|
46
|
+
expect(result).toBe('uat/conf');
|
|
47
|
+
});
|
|
48
|
+
test('should log failure if config mapping not found for stage', () => {
|
|
49
|
+
_fs.default.existsSync.mockReturnValue(true);
|
|
50
|
+
mockProps.get.mockReturnValue(undefined);
|
|
51
|
+
const result = (0, _configPathResolver.getConfigPath)('stageX');
|
|
52
|
+
expect(_logger.Logger.log).toHaveBeenCalledWith(_logger.Logger.FAILURE_TYPE, expect.stringContaining('stageX'));
|
|
53
|
+
expect(result).toBeUndefined();
|
|
54
|
+
});
|
|
55
|
+
});
|
|
@@ -1,80 +1,83 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
var _fs = require("fs");
|
|
4
|
+
var _fs = _interopRequireDefault(require("fs"));
|
|
5
5
|
var _path = _interopRequireDefault(require("path"));
|
|
6
|
+
var _getUsers = require("../../../../../core/playwright/helpers/auth/getUsers");
|
|
7
|
+
var _configPathResolver = require("../../../../../core/playwright/helpers/configPathResolver");
|
|
6
8
|
jest.mock('fs');
|
|
7
9
|
jest.mock('path');
|
|
8
|
-
jest.mock('../../../../../core/playwright/
|
|
9
|
-
|
|
10
|
-
uatDirectory: '/test/directory'
|
|
11
|
-
})),
|
|
12
|
-
getRunMode: jest.fn(() => 'dev')
|
|
10
|
+
jest.mock('../../../../../core/playwright/helpers/configPathResolver', () => ({
|
|
11
|
+
getConfigPath: jest.fn()
|
|
13
12
|
}));
|
|
14
|
-
const {
|
|
15
|
-
getListOfActors
|
|
16
|
-
} = require('../../../../../core/playwright/helpers/auth/getUsers');
|
|
17
13
|
describe('getListOfActors', () => {
|
|
14
|
+
const stageConfig = 'uat/conf';
|
|
15
|
+
const mode = 'dev';
|
|
16
|
+
const stage = 'uat';
|
|
18
17
|
beforeEach(() => {
|
|
19
18
|
jest.clearAllMocks();
|
|
20
19
|
_path.default.join.mockImplementation((...args) => args.join('/'));
|
|
20
|
+
_path.default.resolve.mockImplementation((...args) => args.join('/'));
|
|
21
|
+
_configPathResolver.getConfigPath.mockReturnValue('uat/conf');
|
|
21
22
|
});
|
|
22
23
|
test('throws an error when config file cannot be loaded', () => {
|
|
23
|
-
_fs.existsSync.mockReturnValueOnce(true);
|
|
24
|
-
|
|
25
|
-
jest.mock('/test/directory/conf/dev/actors/index.js', () => {
|
|
24
|
+
_fs.default.existsSync.mockReturnValueOnce(true);
|
|
25
|
+
jest.mock('/uat/conf/dev/actors/index.js', () => {
|
|
26
26
|
throw new Error('Loading error');
|
|
27
27
|
}, {
|
|
28
28
|
virtual: true
|
|
29
29
|
});
|
|
30
|
-
expect(() => getListOfActors()).toThrow(
|
|
30
|
+
expect(() => (0, _getUsers.getListOfActors)()).toThrow(`Error loading actor configuration from ${_path.default.join(_path.default.resolve(process.cwd(), 'uat/conf/dev/actors/index.js'))}`);
|
|
31
31
|
});
|
|
32
32
|
test('throws an error when beta feature config does not exist', () => {
|
|
33
|
-
_fs.existsSync.mockReturnValueOnce(true) // Main config file exists
|
|
33
|
+
_fs.default.existsSync.mockReturnValueOnce(true) // Main config file exists
|
|
34
34
|
.mockReturnValueOnce(false); // Beta feature config does not exist in either path
|
|
35
35
|
|
|
36
36
|
const betaFeature = 'nonExistentFeature';
|
|
37
|
-
expect(() => getListOfActors(betaFeature)).toThrow(`There is no beta feature configured with the name "${betaFeature}"`);
|
|
37
|
+
expect(() => (0, _getUsers.getListOfActors)(betaFeature)).toThrow(`There is no beta feature configured with the name "${betaFeature}"`);
|
|
38
38
|
});
|
|
39
|
-
test('loads main configuration when betaFeature is not provided and main config
|
|
40
|
-
_fs.existsSync.mockReturnValueOnce(true);
|
|
41
|
-
|
|
39
|
+
test('loads main configuration when betaFeature is not provided and main config exists', () => {
|
|
40
|
+
_fs.default.existsSync.mockReturnValueOnce(true);
|
|
41
|
+
const file = _path.default.join(_path.default.resolve(process.cwd(), `${stageConfig}/${mode}/actors/index.js`));
|
|
42
|
+
jest.doMock(file, () => ({
|
|
42
43
|
actors: []
|
|
43
44
|
}), {
|
|
44
45
|
virtual: true
|
|
45
46
|
});
|
|
46
|
-
const result = getListOfActors();
|
|
47
|
+
const result = (0, _getUsers.getListOfActors)();
|
|
47
48
|
expect(result).toEqual({
|
|
48
49
|
actors: []
|
|
49
50
|
});
|
|
50
51
|
});
|
|
51
52
|
test('falls back to default configuration if main config file does not exist', () => {
|
|
52
|
-
_fs.existsSync.mockReturnValueOnce(false)
|
|
53
|
-
|
|
53
|
+
_fs.default.existsSync.mockReturnValueOnce(false) // Main config file missing
|
|
54
|
+
.mockReturnValueOnce(true); // Beta feature config exists
|
|
55
|
+
|
|
56
|
+
const defaultConfigFile = _path.default.join(_path.default.resolve(process.cwd(), `${stage}/conf/default/actors/index.js`));
|
|
57
|
+
jest.doMock(defaultConfigFile, () => ({
|
|
54
58
|
actors: []
|
|
55
59
|
}), {
|
|
56
60
|
virtual: true
|
|
57
61
|
});
|
|
58
|
-
const result = getListOfActors();
|
|
62
|
+
const result = (0, _getUsers.getListOfActors)();
|
|
59
63
|
expect(result).toEqual({
|
|
60
64
|
actors: []
|
|
61
65
|
});
|
|
62
66
|
});
|
|
63
67
|
test('loads beta feature configuration when betaFeature is provided', () => {
|
|
64
|
-
_fs.existsSync.mockReturnValueOnce(true) // Main config file exists
|
|
68
|
+
_fs.default.existsSync.mockReturnValueOnce(true) // Main config file exists
|
|
65
69
|
.mockReturnValueOnce(true); // Beta feature config exists
|
|
66
70
|
|
|
67
71
|
const betaFeature = 'parentchild';
|
|
68
|
-
const betaFeaturePath =
|
|
72
|
+
const betaFeaturePath = _path.default.join(_path.default.resolve(process.cwd(), `${stageConfig}/${mode}/actors/beta/${betaFeature}/index.js`));
|
|
69
73
|
jest.doMock(betaFeaturePath, () => ({
|
|
70
74
|
betaActors: []
|
|
71
75
|
}), {
|
|
72
76
|
virtual: true
|
|
73
77
|
});
|
|
74
|
-
const result = getListOfActors(betaFeature);
|
|
78
|
+
const result = (0, _getUsers.getListOfActors)(betaFeature);
|
|
75
79
|
expect(result).toEqual({
|
|
76
80
|
betaActors: []
|
|
77
81
|
});
|
|
78
|
-
expect(_path.default.join).toHaveBeenCalledWith('/test/directory', `conf/dev/actors/beta/${betaFeature}/index.js`);
|
|
79
82
|
});
|
|
80
83
|
});
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/testinglibrary",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.19",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@zohodesk/testinglibrary",
|
|
9
|
-
"version": "3.2.
|
|
9
|
+
"version": "3.2.19",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
@@ -16,8 +16,6 @@
|
|
|
16
16
|
"@playwright/test": "1.53.2",
|
|
17
17
|
"@reportportal/agent-js-playwright": "5.1.11",
|
|
18
18
|
"@testing-library/jest-dom": "5.11.9",
|
|
19
|
-
"@testing-library/react": "11.2.7",
|
|
20
|
-
"@testing-library/react-hooks": "7.0.2",
|
|
21
19
|
"babel-jest": "29.6.2",
|
|
22
20
|
"babel-plugin-transform-dynamic-import": "2.1.0",
|
|
23
21
|
"fast-glob": "3.3.1",
|
|
@@ -26,6 +24,7 @@
|
|
|
26
24
|
"msw": "1.2.3",
|
|
27
25
|
"playwright": "1.53.2",
|
|
28
26
|
"playwright-bdd": "8.3.1",
|
|
27
|
+
"properties-reader": "2.3.0",
|
|
29
28
|
"supports-color": "8.1.1"
|
|
30
29
|
},
|
|
31
30
|
"bin": {
|
|
@@ -101,6 +100,13 @@
|
|
|
101
100
|
"node": ">= 6"
|
|
102
101
|
}
|
|
103
102
|
},
|
|
103
|
+
"node_modules/@babel/cli/node_modules/convert-source-map": {
|
|
104
|
+
"version": "1.9.0",
|
|
105
|
+
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz",
|
|
106
|
+
"integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==",
|
|
107
|
+
"dev": true,
|
|
108
|
+
"license": "MIT"
|
|
109
|
+
},
|
|
104
110
|
"node_modules/@babel/code-frame": {
|
|
105
111
|
"version": "7.27.1",
|
|
106
112
|
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz",
|
|
@@ -154,6 +160,12 @@
|
|
|
154
160
|
"url": "https://opencollective.com/babel"
|
|
155
161
|
}
|
|
156
162
|
},
|
|
163
|
+
"node_modules/@babel/core/node_modules/convert-source-map": {
|
|
164
|
+
"version": "1.9.0",
|
|
165
|
+
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz",
|
|
166
|
+
"integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==",
|
|
167
|
+
"license": "MIT"
|
|
168
|
+
},
|
|
157
169
|
"node_modules/@babel/generator": {
|
|
158
170
|
"version": "7.28.5",
|
|
159
171
|
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.5.tgz",
|
|
@@ -3331,12 +3343,6 @@
|
|
|
3331
3343
|
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
|
3332
3344
|
}
|
|
3333
3345
|
},
|
|
3334
|
-
"node_modules/@jest/reporters/node_modules/convert-source-map": {
|
|
3335
|
-
"version": "2.0.0",
|
|
3336
|
-
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
|
|
3337
|
-
"integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
|
|
3338
|
-
"license": "MIT"
|
|
3339
|
-
},
|
|
3340
3346
|
"node_modules/@jest/reporters/node_modules/istanbul-lib-instrument": {
|
|
3341
3347
|
"version": "6.0.3",
|
|
3342
3348
|
"resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz",
|
|
@@ -3505,12 +3511,6 @@
|
|
|
3505
3511
|
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
|
|
3506
3512
|
}
|
|
3507
3513
|
},
|
|
3508
|
-
"node_modules/@jest/transform/node_modules/convert-source-map": {
|
|
3509
|
-
"version": "2.0.0",
|
|
3510
|
-
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
|
|
3511
|
-
"integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
|
|
3512
|
-
"license": "MIT"
|
|
3513
|
-
},
|
|
3514
3514
|
"node_modules/@jest/transform/node_modules/slash": {
|
|
3515
3515
|
"version": "3.0.0",
|
|
3516
3516
|
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
|
|
@@ -3775,19 +3775,6 @@
|
|
|
3775
3775
|
"node": ">=10"
|
|
3776
3776
|
}
|
|
3777
3777
|
},
|
|
3778
|
-
"node_modules/@reportportal/client-javascript/node_modules/uuid": {
|
|
3779
|
-
"version": "9.0.1",
|
|
3780
|
-
"resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz",
|
|
3781
|
-
"integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==",
|
|
3782
|
-
"funding": [
|
|
3783
|
-
"https://github.com/sponsors/broofa",
|
|
3784
|
-
"https://github.com/sponsors/ctavan"
|
|
3785
|
-
],
|
|
3786
|
-
"license": "MIT",
|
|
3787
|
-
"bin": {
|
|
3788
|
-
"uuid": "dist/bin/uuid"
|
|
3789
|
-
}
|
|
3790
|
-
},
|
|
3791
3778
|
"node_modules/@sinclair/typebox": {
|
|
3792
3779
|
"version": "0.27.8",
|
|
3793
3780
|
"resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz",
|
|
@@ -3821,25 +3808,6 @@
|
|
|
3821
3808
|
"node": ">=14"
|
|
3822
3809
|
}
|
|
3823
3810
|
},
|
|
3824
|
-
"node_modules/@testing-library/dom": {
|
|
3825
|
-
"version": "7.31.2",
|
|
3826
|
-
"resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-7.31.2.tgz",
|
|
3827
|
-
"integrity": "sha512-3UqjCpey6HiTZT92vODYLPxTBWlM8ZOOjr3LX5F37/VRipW2M1kX6I/Cm4VXzteZqfGfagg8yXywpcOgQBlNsQ==",
|
|
3828
|
-
"license": "MIT",
|
|
3829
|
-
"dependencies": {
|
|
3830
|
-
"@babel/code-frame": "^7.10.4",
|
|
3831
|
-
"@babel/runtime": "^7.12.5",
|
|
3832
|
-
"@types/aria-query": "^4.2.0",
|
|
3833
|
-
"aria-query": "^4.2.2",
|
|
3834
|
-
"chalk": "^4.1.0",
|
|
3835
|
-
"dom-accessibility-api": "^0.5.6",
|
|
3836
|
-
"lz-string": "^1.4.4",
|
|
3837
|
-
"pretty-format": "^26.6.2"
|
|
3838
|
-
},
|
|
3839
|
-
"engines": {
|
|
3840
|
-
"node": ">=10"
|
|
3841
|
-
}
|
|
3842
|
-
},
|
|
3843
3811
|
"node_modules/@testing-library/jest-dom": {
|
|
3844
3812
|
"version": "5.11.9",
|
|
3845
3813
|
"resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-5.11.9.tgz",
|
|
@@ -3886,52 +3854,6 @@
|
|
|
3886
3854
|
"node": ">=8"
|
|
3887
3855
|
}
|
|
3888
3856
|
},
|
|
3889
|
-
"node_modules/@testing-library/react": {
|
|
3890
|
-
"version": "11.2.7",
|
|
3891
|
-
"resolved": "https://registry.npmjs.org/@testing-library/react/-/react-11.2.7.tgz",
|
|
3892
|
-
"integrity": "sha512-tzRNp7pzd5QmbtXNG/mhdcl7Awfu/Iz1RaVHY75zTdOkmHCuzMhRL83gWHSgOAcjS3CCbyfwUHMZgRJb4kAfpA==",
|
|
3893
|
-
"license": "MIT",
|
|
3894
|
-
"dependencies": {
|
|
3895
|
-
"@babel/runtime": "^7.12.5",
|
|
3896
|
-
"@testing-library/dom": "^7.28.1"
|
|
3897
|
-
},
|
|
3898
|
-
"engines": {
|
|
3899
|
-
"node": ">=10"
|
|
3900
|
-
},
|
|
3901
|
-
"peerDependencies": {
|
|
3902
|
-
"react": "*",
|
|
3903
|
-
"react-dom": "*"
|
|
3904
|
-
}
|
|
3905
|
-
},
|
|
3906
|
-
"node_modules/@testing-library/react-hooks": {
|
|
3907
|
-
"version": "7.0.2",
|
|
3908
|
-
"resolved": "https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-7.0.2.tgz",
|
|
3909
|
-
"integrity": "sha512-dYxpz8u9m4q1TuzfcUApqi8iFfR6R0FaMbr2hjZJy1uC8z+bO/K4v8Gs9eogGKYQop7QsrBTFkv/BCF7MzD2Cg==",
|
|
3910
|
-
"license": "MIT",
|
|
3911
|
-
"dependencies": {
|
|
3912
|
-
"@babel/runtime": "^7.12.5",
|
|
3913
|
-
"@types/react": ">=16.9.0",
|
|
3914
|
-
"@types/react-dom": ">=16.9.0",
|
|
3915
|
-
"@types/react-test-renderer": ">=16.9.0",
|
|
3916
|
-
"react-error-boundary": "^3.1.0"
|
|
3917
|
-
},
|
|
3918
|
-
"engines": {
|
|
3919
|
-
"node": ">=12"
|
|
3920
|
-
},
|
|
3921
|
-
"peerDependencies": {
|
|
3922
|
-
"react": ">=16.9.0",
|
|
3923
|
-
"react-dom": ">=16.9.0",
|
|
3924
|
-
"react-test-renderer": ">=16.9.0"
|
|
3925
|
-
},
|
|
3926
|
-
"peerDependenciesMeta": {
|
|
3927
|
-
"react-dom": {
|
|
3928
|
-
"optional": true
|
|
3929
|
-
},
|
|
3930
|
-
"react-test-renderer": {
|
|
3931
|
-
"optional": true
|
|
3932
|
-
}
|
|
3933
|
-
}
|
|
3934
|
-
},
|
|
3935
3857
|
"node_modules/@tootallnate/once": {
|
|
3936
3858
|
"version": "2.0.0",
|
|
3937
3859
|
"resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz",
|
|
@@ -3941,12 +3863,6 @@
|
|
|
3941
3863
|
"node": ">= 10"
|
|
3942
3864
|
}
|
|
3943
3865
|
},
|
|
3944
|
-
"node_modules/@types/aria-query": {
|
|
3945
|
-
"version": "4.2.2",
|
|
3946
|
-
"resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-4.2.2.tgz",
|
|
3947
|
-
"integrity": "sha512-HnYpAE1Y6kRyKM/XkEuiRQhTHvkzMBurTHnpFLYLBGPIylZNPs9jJcuOOYWxPLJCSEtmZT0Y8rHDokKN7rRTig==",
|
|
3948
|
-
"license": "MIT"
|
|
3949
|
-
},
|
|
3950
3866
|
"node_modules/@types/babel__core": {
|
|
3951
3867
|
"version": "7.20.5",
|
|
3952
3868
|
"resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
|
|
@@ -4148,33 +4064,6 @@
|
|
|
4148
4064
|
"integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==",
|
|
4149
4065
|
"license": "MIT"
|
|
4150
4066
|
},
|
|
4151
|
-
"node_modules/@types/react": {
|
|
4152
|
-
"version": "19.2.7",
|
|
4153
|
-
"resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.7.tgz",
|
|
4154
|
-
"integrity": "sha512-MWtvHrGZLFttgeEj28VXHxpmwYbor/ATPYbBfSFZEIRK0ecCFLl2Qo55z52Hss+UV9CRN7trSeq1zbgx7YDWWg==",
|
|
4155
|
-
"license": "MIT",
|
|
4156
|
-
"dependencies": {
|
|
4157
|
-
"csstype": "^3.2.2"
|
|
4158
|
-
}
|
|
4159
|
-
},
|
|
4160
|
-
"node_modules/@types/react-dom": {
|
|
4161
|
-
"version": "19.2.3",
|
|
4162
|
-
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz",
|
|
4163
|
-
"integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==",
|
|
4164
|
-
"license": "MIT",
|
|
4165
|
-
"peerDependencies": {
|
|
4166
|
-
"@types/react": "^19.2.0"
|
|
4167
|
-
}
|
|
4168
|
-
},
|
|
4169
|
-
"node_modules/@types/react-test-renderer": {
|
|
4170
|
-
"version": "19.1.0",
|
|
4171
|
-
"resolved": "https://registry.npmjs.org/@types/react-test-renderer/-/react-test-renderer-19.1.0.tgz",
|
|
4172
|
-
"integrity": "sha512-XD0WZrHqjNrxA/MaR9O22w/RNidWR9YZmBdRGI7wcnWGrv/3dA8wKCJ8m63Sn+tLJhcjmuhOi629N66W6kgWzQ==",
|
|
4173
|
-
"license": "MIT",
|
|
4174
|
-
"dependencies": {
|
|
4175
|
-
"@types/react": "*"
|
|
4176
|
-
}
|
|
4177
|
-
},
|
|
4178
4067
|
"node_modules/@types/set-cookie-parser": {
|
|
4179
4068
|
"version": "2.4.10",
|
|
4180
4069
|
"resolved": "https://registry.npmjs.org/@types/set-cookie-parser/-/set-cookie-parser-2.4.10.tgz",
|
|
@@ -5256,9 +5145,9 @@
|
|
|
5256
5145
|
"license": "MIT"
|
|
5257
5146
|
},
|
|
5258
5147
|
"node_modules/convert-source-map": {
|
|
5259
|
-
"version": "
|
|
5260
|
-
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-
|
|
5261
|
-
"integrity": "sha512-
|
|
5148
|
+
"version": "2.0.0",
|
|
5149
|
+
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
|
|
5150
|
+
"integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
|
|
5262
5151
|
"license": "MIT"
|
|
5263
5152
|
},
|
|
5264
5153
|
"node_modules/cookie": {
|
|
@@ -5383,12 +5272,6 @@
|
|
|
5383
5272
|
"integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==",
|
|
5384
5273
|
"license": "MIT"
|
|
5385
5274
|
},
|
|
5386
|
-
"node_modules/csstype": {
|
|
5387
|
-
"version": "3.2.3",
|
|
5388
|
-
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
|
|
5389
|
-
"integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
|
|
5390
|
-
"license": "MIT"
|
|
5391
|
-
},
|
|
5392
5275
|
"node_modules/data-urls": {
|
|
5393
5276
|
"version": "3.0.2",
|
|
5394
5277
|
"resolved": "https://registry.npmjs.org/data-urls/-/data-urls-3.0.2.tgz",
|
|
@@ -5612,12 +5495,6 @@
|
|
|
5612
5495
|
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
|
|
5613
5496
|
}
|
|
5614
5497
|
},
|
|
5615
|
-
"node_modules/dom-accessibility-api": {
|
|
5616
|
-
"version": "0.5.16",
|
|
5617
|
-
"resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz",
|
|
5618
|
-
"integrity": "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==",
|
|
5619
|
-
"license": "MIT"
|
|
5620
|
-
},
|
|
5621
5498
|
"node_modules/domexception": {
|
|
5622
5499
|
"version": "4.0.0",
|
|
5623
5500
|
"resolved": "https://registry.npmjs.org/domexception/-/domexception-4.0.0.tgz",
|
|
@@ -9545,15 +9422,6 @@
|
|
|
9545
9422
|
"node": ">=12"
|
|
9546
9423
|
}
|
|
9547
9424
|
},
|
|
9548
|
-
"node_modules/lz-string": {
|
|
9549
|
-
"version": "1.5.0",
|
|
9550
|
-
"resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.5.0.tgz",
|
|
9551
|
-
"integrity": "sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==",
|
|
9552
|
-
"license": "MIT",
|
|
9553
|
-
"bin": {
|
|
9554
|
-
"lz-string": "bin/bin.js"
|
|
9555
|
-
}
|
|
9556
|
-
},
|
|
9557
9425
|
"node_modules/make-dir": {
|
|
9558
9426
|
"version": "2.1.0",
|
|
9559
9427
|
"resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",
|
|
@@ -9990,9 +9858,9 @@
|
|
|
9990
9858
|
}
|
|
9991
9859
|
},
|
|
9992
9860
|
"node_modules/nwsapi": {
|
|
9993
|
-
"version": "2.2.
|
|
9994
|
-
"resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.
|
|
9995
|
-
"integrity": "sha512-
|
|
9861
|
+
"version": "2.2.23",
|
|
9862
|
+
"resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.23.tgz",
|
|
9863
|
+
"integrity": "sha512-7wfH4sLbt4M0gCDzGE6vzQBo0bfTKjU7Sfpqy/7gs1qBfYz2vEJH6vXcBKpO3+6Yu1telwd0t9HpyOoLEQQbIQ==",
|
|
9996
9864
|
"license": "MIT"
|
|
9997
9865
|
},
|
|
9998
9866
|
"node_modules/object-assign": {
|
|
@@ -10637,55 +10505,6 @@
|
|
|
10637
10505
|
"node": ">= 0.8.0"
|
|
10638
10506
|
}
|
|
10639
10507
|
},
|
|
10640
|
-
"node_modules/pretty-format": {
|
|
10641
|
-
"version": "26.6.2",
|
|
10642
|
-
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
|
|
10643
|
-
"integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
|
|
10644
|
-
"license": "MIT",
|
|
10645
|
-
"dependencies": {
|
|
10646
|
-
"@jest/types": "^26.6.2",
|
|
10647
|
-
"ansi-regex": "^5.0.0",
|
|
10648
|
-
"ansi-styles": "^4.0.0",
|
|
10649
|
-
"react-is": "^17.0.1"
|
|
10650
|
-
},
|
|
10651
|
-
"engines": {
|
|
10652
|
-
"node": ">= 10"
|
|
10653
|
-
}
|
|
10654
|
-
},
|
|
10655
|
-
"node_modules/pretty-format/node_modules/@jest/types": {
|
|
10656
|
-
"version": "26.6.2",
|
|
10657
|
-
"resolved": "https://registry.npmjs.org/@jest/types/-/types-26.6.2.tgz",
|
|
10658
|
-
"integrity": "sha512-fC6QCp7Sc5sX6g8Tvbmj4XUTbyrik0akgRy03yjXbQaBWWNWGE7SGtJk98m0N8nzegD/7SggrUlivxo5ax4KWQ==",
|
|
10659
|
-
"license": "MIT",
|
|
10660
|
-
"dependencies": {
|
|
10661
|
-
"@types/istanbul-lib-coverage": "^2.0.0",
|
|
10662
|
-
"@types/istanbul-reports": "^3.0.0",
|
|
10663
|
-
"@types/node": "*",
|
|
10664
|
-
"@types/yargs": "^15.0.0",
|
|
10665
|
-
"chalk": "^4.0.0"
|
|
10666
|
-
},
|
|
10667
|
-
"engines": {
|
|
10668
|
-
"node": ">= 10.14.2"
|
|
10669
|
-
}
|
|
10670
|
-
},
|
|
10671
|
-
"node_modules/pretty-format/node_modules/@types/yargs": {
|
|
10672
|
-
"version": "15.0.20",
|
|
10673
|
-
"resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.20.tgz",
|
|
10674
|
-
"integrity": "sha512-KIkX+/GgfFitlASYCGoSF+T4XRXhOubJLhkLVtSfsRTe9jWMmuM2g28zQ41BtPTG7TRBb2xHW+LCNVE9QR/vsg==",
|
|
10675
|
-
"license": "MIT",
|
|
10676
|
-
"dependencies": {
|
|
10677
|
-
"@types/yargs-parser": "*"
|
|
10678
|
-
}
|
|
10679
|
-
},
|
|
10680
|
-
"node_modules/pretty-format/node_modules/ansi-regex": {
|
|
10681
|
-
"version": "5.0.1",
|
|
10682
|
-
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
|
|
10683
|
-
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
|
|
10684
|
-
"license": "MIT",
|
|
10685
|
-
"engines": {
|
|
10686
|
-
"node": ">=8"
|
|
10687
|
-
}
|
|
10688
|
-
},
|
|
10689
10508
|
"node_modules/progress": {
|
|
10690
10509
|
"version": "2.0.3",
|
|
10691
10510
|
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
|
|
@@ -10708,6 +10527,34 @@
|
|
|
10708
10527
|
"node": ">= 6"
|
|
10709
10528
|
}
|
|
10710
10529
|
},
|
|
10530
|
+
"node_modules/properties-reader": {
|
|
10531
|
+
"version": "2.3.0",
|
|
10532
|
+
"resolved": "https://registry.npmjs.org/properties-reader/-/properties-reader-2.3.0.tgz",
|
|
10533
|
+
"integrity": "sha512-z597WicA7nDZxK12kZqHr2TcvwNU1GCfA5UwfDY/HDp3hXPoPlb5rlEx9bwGTiJnc0OqbBTkU975jDToth8Gxw==",
|
|
10534
|
+
"license": "MIT",
|
|
10535
|
+
"dependencies": {
|
|
10536
|
+
"mkdirp": "^1.0.4"
|
|
10537
|
+
},
|
|
10538
|
+
"engines": {
|
|
10539
|
+
"node": ">=14"
|
|
10540
|
+
},
|
|
10541
|
+
"funding": {
|
|
10542
|
+
"type": "github",
|
|
10543
|
+
"url": "https://github.com/steveukx/properties?sponsor=1"
|
|
10544
|
+
}
|
|
10545
|
+
},
|
|
10546
|
+
"node_modules/properties-reader/node_modules/mkdirp": {
|
|
10547
|
+
"version": "1.0.4",
|
|
10548
|
+
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
|
|
10549
|
+
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
|
|
10550
|
+
"license": "MIT",
|
|
10551
|
+
"bin": {
|
|
10552
|
+
"mkdirp": "bin/cmd.js"
|
|
10553
|
+
},
|
|
10554
|
+
"engines": {
|
|
10555
|
+
"node": ">=10"
|
|
10556
|
+
}
|
|
10557
|
+
},
|
|
10711
10558
|
"node_modules/property-expr": {
|
|
10712
10559
|
"version": "2.0.6",
|
|
10713
10560
|
"resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.6.tgz",
|
|
@@ -10784,9 +10631,9 @@
|
|
|
10784
10631
|
"license": "MIT"
|
|
10785
10632
|
},
|
|
10786
10633
|
"node_modules/react": {
|
|
10787
|
-
"version": "19.2.
|
|
10788
|
-
"resolved": "https://registry.npmjs.org/react/-/react-19.2.
|
|
10789
|
-
"integrity": "sha512-
|
|
10634
|
+
"version": "19.2.1",
|
|
10635
|
+
"resolved": "https://registry.npmjs.org/react/-/react-19.2.1.tgz",
|
|
10636
|
+
"integrity": "sha512-DGrYcCWK7tvYMnWh79yrPHt+vdx9tY+1gPZa7nJQtO/p8bLTDaHp4dzwEhQB7pZ4Xe3ok4XKuEPrVuc+wlpkmw==",
|
|
10790
10637
|
"license": "MIT",
|
|
10791
10638
|
"peer": true,
|
|
10792
10639
|
"engines": {
|
|
@@ -10794,40 +10641,18 @@
|
|
|
10794
10641
|
}
|
|
10795
10642
|
},
|
|
10796
10643
|
"node_modules/react-dom": {
|
|
10797
|
-
"version": "19.2.
|
|
10798
|
-
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.
|
|
10799
|
-
"integrity": "sha512-
|
|
10644
|
+
"version": "19.2.1",
|
|
10645
|
+
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.1.tgz",
|
|
10646
|
+
"integrity": "sha512-ibrK8llX2a4eOskq1mXKu/TGZj9qzomO+sNfO98M6d9zIPOEhlBkMkBUBLd1vgS0gQsLDBzA+8jJBVXDnfHmJg==",
|
|
10800
10647
|
"license": "MIT",
|
|
10801
10648
|
"peer": true,
|
|
10802
10649
|
"dependencies": {
|
|
10803
10650
|
"scheduler": "^0.27.0"
|
|
10804
10651
|
},
|
|
10805
10652
|
"peerDependencies": {
|
|
10806
|
-
"react": "^19.2.
|
|
10807
|
-
}
|
|
10808
|
-
},
|
|
10809
|
-
"node_modules/react-error-boundary": {
|
|
10810
|
-
"version": "3.1.4",
|
|
10811
|
-
"resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-3.1.4.tgz",
|
|
10812
|
-
"integrity": "sha512-uM9uPzZJTF6wRQORmSrvOIgt4lJ9MC1sNgEOj2XGsDTRE4kmpWxg7ENK9EWNKJRMAOY9z0MuF4yIfl6gp4sotA==",
|
|
10813
|
-
"license": "MIT",
|
|
10814
|
-
"dependencies": {
|
|
10815
|
-
"@babel/runtime": "^7.12.5"
|
|
10816
|
-
},
|
|
10817
|
-
"engines": {
|
|
10818
|
-
"node": ">=10",
|
|
10819
|
-
"npm": ">=6"
|
|
10820
|
-
},
|
|
10821
|
-
"peerDependencies": {
|
|
10822
|
-
"react": ">=16.13.1"
|
|
10653
|
+
"react": "^19.2.1"
|
|
10823
10654
|
}
|
|
10824
10655
|
},
|
|
10825
|
-
"node_modules/react-is": {
|
|
10826
|
-
"version": "17.0.2",
|
|
10827
|
-
"resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
|
|
10828
|
-
"integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
|
|
10829
|
-
"license": "MIT"
|
|
10830
|
-
},
|
|
10831
10656
|
"node_modules/read-package-up": {
|
|
10832
10657
|
"version": "11.0.0",
|
|
10833
10658
|
"resolved": "https://registry.npmjs.org/read-package-up/-/read-package-up-11.0.0.tgz",
|
|
@@ -12253,6 +12078,19 @@
|
|
|
12253
12078
|
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
|
|
12254
12079
|
"license": "MIT"
|
|
12255
12080
|
},
|
|
12081
|
+
"node_modules/uuid": {
|
|
12082
|
+
"version": "9.0.1",
|
|
12083
|
+
"resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz",
|
|
12084
|
+
"integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==",
|
|
12085
|
+
"funding": [
|
|
12086
|
+
"https://github.com/sponsors/broofa",
|
|
12087
|
+
"https://github.com/sponsors/ctavan"
|
|
12088
|
+
],
|
|
12089
|
+
"license": "MIT",
|
|
12090
|
+
"bin": {
|
|
12091
|
+
"uuid": "dist/bin/uuid"
|
|
12092
|
+
}
|
|
12093
|
+
},
|
|
12256
12094
|
"node_modules/v8-to-istanbul": {
|
|
12257
12095
|
"version": "9.3.0",
|
|
12258
12096
|
"resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz",
|
|
@@ -12267,12 +12105,6 @@
|
|
|
12267
12105
|
"node": ">=10.12.0"
|
|
12268
12106
|
}
|
|
12269
12107
|
},
|
|
12270
|
-
"node_modules/v8-to-istanbul/node_modules/convert-source-map": {
|
|
12271
|
-
"version": "2.0.0",
|
|
12272
|
-
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
|
|
12273
|
-
"integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
|
|
12274
|
-
"license": "MIT"
|
|
12275
|
-
},
|
|
12276
12108
|
"node_modules/v8flags": {
|
|
12277
12109
|
"version": "3.2.0",
|
|
12278
12110
|
"resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.2.0.tgz",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/testinglibrary",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.19",
|
|
4
4
|
"main": "./build/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"postinstall": "node bin/postinstall.js",
|
|
@@ -26,8 +26,6 @@
|
|
|
26
26
|
"@playwright/test": "1.53.2",
|
|
27
27
|
"@reportportal/agent-js-playwright": "5.1.11",
|
|
28
28
|
"@testing-library/jest-dom": "5.11.9",
|
|
29
|
-
"@testing-library/react": "11.2.7",
|
|
30
|
-
"@testing-library/react-hooks": "7.0.2",
|
|
31
29
|
"babel-jest": "29.6.2",
|
|
32
30
|
"babel-plugin-transform-dynamic-import": "2.1.0",
|
|
33
31
|
"fast-glob": "3.3.1",
|
|
@@ -36,6 +34,7 @@
|
|
|
36
34
|
"msw": "1.2.3",
|
|
37
35
|
"playwright": "1.53.2",
|
|
38
36
|
"playwright-bdd": "8.3.1",
|
|
37
|
+
"properties-reader": "2.3.0",
|
|
39
38
|
"supports-color": "8.1.1"
|
|
40
39
|
},
|
|
41
40
|
"bin": {
|