@zohodesk/testinglibrary 0.5.4-n18-experimental → 0.5.6-n18-experimental
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.
|
@@ -19,6 +19,7 @@ async function performLoginSteps(testInfo, isLoggedIn, loginSteps) {
|
|
|
19
19
|
email
|
|
20
20
|
} = testInfo;
|
|
21
21
|
authFilePrefix = authFilePrefix ? authFilePrefix + email : email;
|
|
22
|
+
console.log("authFilePrefix", authFilePrefix);
|
|
22
23
|
process.env.authFilePrefix = authFilePrefix;
|
|
23
24
|
const authFile = _path.default.resolve(_path.default.join((0, _checkAuthCookies.getAuthFileDirectory)(), `${authFilePrefix}-cookies.json`));
|
|
24
25
|
const lockFileName = authFilePrefix.replace(/[@.]/g, '_');
|
|
@@ -35,6 +35,7 @@ function getBrowserConfig({
|
|
|
35
35
|
viewport,
|
|
36
36
|
storageState: isAuthMode ? (0, _readConfigFile.getAuthFilePath)(_path.default.resolve(process.cwd(), authFilePath)) : {}
|
|
37
37
|
};
|
|
38
|
+
console.log("authFilePath", authFilePath);
|
|
38
39
|
// Determine dependencies based on the mode and smoke test status
|
|
39
40
|
let dependencies = isAuthMode ? ['setup'] : [];
|
|
40
41
|
dependencies = isSmokeTest ? [...dependencies, 'smokeTest'] : dependencies;
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/testinglibrary",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6-n18-experimental",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@zohodesk/testinglibrary",
|
|
9
|
-
"version": "0.5.
|
|
9
|
+
"version": "0.5.6-n18-experimental",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"@testing-library/jest-dom": "5.11.9",
|
|
19
19
|
"@testing-library/react": "11.2.7",
|
|
20
20
|
"@testing-library/react-hooks": "7.0.2",
|
|
21
|
+
"@zohodesk/testinglibrary": "file:zohodesk-testinglibrary-0.5.4-n18-experimental.tgz",
|
|
21
22
|
"babel-jest": "29.6.2",
|
|
22
23
|
"babel-plugin-transform-dynamic-import": "2.1.0",
|
|
23
24
|
"fast-glob": "3.3.1",
|
|
@@ -4235,6 +4236,40 @@
|
|
|
4235
4236
|
"node": ">=10.0.0"
|
|
4236
4237
|
}
|
|
4237
4238
|
},
|
|
4239
|
+
"node_modules/@zohodesk/testinglibrary": {
|
|
4240
|
+
"version": "0.5.4-n18-experimental",
|
|
4241
|
+
"resolved": "file:zohodesk-testinglibrary-0.5.4-n18-experimental.tgz",
|
|
4242
|
+
"integrity": "sha512-Y1fW2IiqobcE15ZfYSOca8CZ+/9zxoWkqW+XlRQtwUEfETjMSkccn4fuvycAnje7yDib14Bh804gP1ufncWv5w==",
|
|
4243
|
+
"hasInstallScript": true,
|
|
4244
|
+
"license": "ISC",
|
|
4245
|
+
"dependencies": {
|
|
4246
|
+
"@babel/code-frame": "7.27.1",
|
|
4247
|
+
"@babel/preset-react": "7.22.5",
|
|
4248
|
+
"@cucumber/cucumber": "11.3.0",
|
|
4249
|
+
"@playwright/test": "1.53.2",
|
|
4250
|
+
"@reportportal/agent-js-playwright": "5.1.11",
|
|
4251
|
+
"@testing-library/jest-dom": "5.11.9",
|
|
4252
|
+
"@testing-library/react": "11.2.7",
|
|
4253
|
+
"@testing-library/react-hooks": "7.0.2",
|
|
4254
|
+
"babel-jest": "29.6.2",
|
|
4255
|
+
"babel-plugin-transform-dynamic-import": "2.1.0",
|
|
4256
|
+
"fast-glob": "3.3.1",
|
|
4257
|
+
"jest": "29.6.2",
|
|
4258
|
+
"jest-environment-jsdom": "29.6.2",
|
|
4259
|
+
"msw": "1.2.3",
|
|
4260
|
+
"playwright": "1.53.2",
|
|
4261
|
+
"playwright-bdd": "8.3.1",
|
|
4262
|
+
"supports-color": "8.1.1"
|
|
4263
|
+
},
|
|
4264
|
+
"bin": {
|
|
4265
|
+
"ZDTestingFramework": "bin/cli.js"
|
|
4266
|
+
},
|
|
4267
|
+
"peerDependencies": {
|
|
4268
|
+
"eslint": "*",
|
|
4269
|
+
"react": "*",
|
|
4270
|
+
"react-dom": "*"
|
|
4271
|
+
}
|
|
4272
|
+
},
|
|
4238
4273
|
"node_modules/@zxing/text-encoding": {
|
|
4239
4274
|
"version": "0.9.0",
|
|
4240
4275
|
"resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/testinglibrary",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6-n18-experimental",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"@testing-library/jest-dom": "5.11.9",
|
|
30
30
|
"@testing-library/react": "11.2.7",
|
|
31
31
|
"@testing-library/react-hooks": "7.0.2",
|
|
32
|
+
"@zohodesk/testinglibrary": "file:zohodesk-testinglibrary-0.5.4-n18-experimental.tgz",
|
|
32
33
|
"babel-jest": "29.6.2",
|
|
33
34
|
"babel-plugin-transform-dynamic-import": "2.1.0",
|
|
34
35
|
"fast-glob": "3.3.1",
|