@zohodesk/testinglibrary 0.4.71-n18-experimental → 0.4.73-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.
- package/.gitlab-ci.yml +14 -0
- package/build/core/playwright/builtInFixtures/page.js +3 -1
- package/build/core/playwright/helpers/additionalProfiles.js +18 -0
- package/build/core/playwright/helpers/auth/loginSteps.js +0 -1
- package/build/core/playwright/setup/config-creator.js +18 -2
- package/build/core/playwright/setup/config-utils.js +6 -1
- package/build/core/playwright/setup/qc-custom-reporter.js +143 -17
- package/npm-shrinkwrap.json +15 -15
- package/package.json +3 -3
package/.gitlab-ci.yml
CHANGED
|
@@ -146,4 +146,18 @@ uatconfigmodule:
|
|
|
146
146
|
paths:
|
|
147
147
|
- examples/uat/playwright-report
|
|
148
148
|
|
|
149
|
+
uat-smoketest:
|
|
150
|
+
stage: uat
|
|
151
|
+
script:
|
|
152
|
+
- cd examples
|
|
153
|
+
- npm install $(npm pack ../../testing-framework | tail -1)
|
|
154
|
+
- output=$(npm run uat-smoketest)
|
|
155
|
+
- echo "$output"
|
|
156
|
+
- node ../ValidateUATReport.js examples
|
|
157
|
+
|
|
158
|
+
artifacts:
|
|
159
|
+
when: always
|
|
160
|
+
paths:
|
|
161
|
+
- examples/uat/playwright-report
|
|
162
|
+
|
|
149
163
|
|
|
@@ -9,6 +9,8 @@ var _auth = require("../helpers/auth");
|
|
|
9
9
|
var _readConfigFile = require("../readConfigFile");
|
|
10
10
|
/* eslint-disable global-require */
|
|
11
11
|
|
|
12
|
+
//import { additionProfiles } from '../helpers/additionalProfiles';
|
|
13
|
+
|
|
12
14
|
function getTagInputFromSelectedTags(tags, inputString) {
|
|
13
15
|
const selectedTag = [...tags].reverse().find(tag => tag.startsWith(inputString));
|
|
14
16
|
let tagInput = null;
|
|
@@ -18,7 +20,7 @@ function getTagInputFromSelectedTags(tags, inputString) {
|
|
|
18
20
|
return tagInput;
|
|
19
21
|
}
|
|
20
22
|
function getCustomAccountDetails(tags) {
|
|
21
|
-
const tagsTobeFiltered = ['@profile', '@edition', '@beta', '@portal'];
|
|
23
|
+
const tagsTobeFiltered = ['@profile', '@edition', '@beta', '@portal', '@additional_profile'];
|
|
22
24
|
const filteredTags = tags.filter(tag => tagsTobeFiltered.some(prefix => tag.startsWith(prefix)));
|
|
23
25
|
if (filteredTags && filteredTags.length > 0) {
|
|
24
26
|
const portalInfo = getTagInputFromSelectedTags(filteredTags, '@portal');
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.additionProfiles = additionProfiles;
|
|
7
|
+
var _getUsers = require("./auth/getUsers");
|
|
8
|
+
function additionProfiles(tags, editionInfo, betaFeature, portalInfo) {
|
|
9
|
+
const additionalProfileTags = tags.filter(tag => tag.startsWith('@additional_profile_'));
|
|
10
|
+
let additionalProfileActors = [];
|
|
11
|
+
if (additionalProfileTags.length > 0 && editionInfo) {
|
|
12
|
+
additionalProfileActors = additionalProfileTags.map(tag => {
|
|
13
|
+
const additionalProfile = tag.replace('@additional_profile_', '');
|
|
14
|
+
return (0, _getUsers.getUserForSelectedEditionAndProfile)(editionInfo, additionalProfile, betaFeature, portalInfo);
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
return additionalProfileActors;
|
|
18
|
+
}
|
|
@@ -10,7 +10,6 @@ var _fileMutex = _interopRequireDefault(require("../fileMutex"));
|
|
|
10
10
|
var _fileMutexConfig = require("../../constants/fileMutexConfig");
|
|
11
11
|
var _checkAuthCookies = require("./checkAuthCookies");
|
|
12
12
|
var _checkAuthDirectory = require("../checkAuthDirectory");
|
|
13
|
-
var _fs = require("fs");
|
|
14
13
|
/* eslint-disable no-console */
|
|
15
14
|
|
|
16
15
|
async function performLoginSteps(testInfo, isLoggedIn, loginSteps) {
|
|
@@ -12,6 +12,7 @@ var _configUtils = require("./config-utils");
|
|
|
12
12
|
const uatConfig = (0, _readConfigFile.generateConfigFromFile)();
|
|
13
13
|
const {
|
|
14
14
|
browsers,
|
|
15
|
+
isSmokeTest,
|
|
15
16
|
trace,
|
|
16
17
|
video,
|
|
17
18
|
isAuthMode,
|
|
@@ -31,6 +32,7 @@ const {
|
|
|
31
32
|
const projects = (0, _configUtils.getProjects)({
|
|
32
33
|
browsers,
|
|
33
34
|
isAuthMode,
|
|
35
|
+
isSmokeTest,
|
|
34
36
|
authFilePath,
|
|
35
37
|
expectTimeout,
|
|
36
38
|
testTimeout,
|
|
@@ -61,7 +63,21 @@ if (customReporter) {
|
|
|
61
63
|
*
|
|
62
64
|
* @returns {import('@playwright/test').PlaywrightTestConfig}
|
|
63
65
|
*/
|
|
66
|
+
|
|
64
67
|
function getPlaywrightConfig() {
|
|
68
|
+
const commonConfig = {
|
|
69
|
+
storageState: isAuthMode ? (0, _readConfigFile.getAuthFilePath)(_path.default.resolve(process.cwd(), authFilePath)) : {}
|
|
70
|
+
};
|
|
71
|
+
const dependencies = isAuthMode ? ['setup'] : [];
|
|
72
|
+
const smokeTestProject = isSmokeTest ? {
|
|
73
|
+
name: 'smokeTest',
|
|
74
|
+
testMatch: /.*\.smokeTest\.js/,
|
|
75
|
+
testDir: _path.default.join(process.cwd(), 'uat'),
|
|
76
|
+
use: {
|
|
77
|
+
...commonConfig
|
|
78
|
+
},
|
|
79
|
+
dependencies: dependencies
|
|
80
|
+
} : {};
|
|
65
81
|
const playwrightConfig = {
|
|
66
82
|
testDir,
|
|
67
83
|
globalTimeout: globalTimeout || 3600000,
|
|
@@ -78,11 +94,11 @@ function getPlaywrightConfig() {
|
|
|
78
94
|
testMatch: /.*\.setup\.js/,
|
|
79
95
|
testDir: _path.default.join(process.cwd(), 'uat'),
|
|
80
96
|
teardown: 'cleanup'
|
|
81
|
-
}, {
|
|
97
|
+
}, smokeTestProject, {
|
|
82
98
|
name: 'cleanup',
|
|
83
99
|
testMatch: /.*\.teardown\.js/,
|
|
84
100
|
testDir: _path.default.join(process.cwd(), 'uat')
|
|
85
|
-
}, ...projects] : [...projects],
|
|
101
|
+
}, ...projects] : [...projects, smokeTestProject],
|
|
86
102
|
...uatConfig
|
|
87
103
|
};
|
|
88
104
|
return playwrightConfig;
|
|
@@ -19,9 +19,11 @@ var _fileUtils = require("../../../utils/fileUtils");
|
|
|
19
19
|
** Playwright project configuration
|
|
20
20
|
* @returns {import('@playwright/test').Project}
|
|
21
21
|
*/
|
|
22
|
+
|
|
22
23
|
function getBrowserConfig({
|
|
23
24
|
browserName,
|
|
24
25
|
isAuthMode,
|
|
26
|
+
isSmokeTest,
|
|
25
27
|
authFilePath,
|
|
26
28
|
expectTimeout,
|
|
27
29
|
testTimeout,
|
|
@@ -32,7 +34,8 @@ function getBrowserConfig({
|
|
|
32
34
|
viewport,
|
|
33
35
|
storageState: isAuthMode ? (0, _readConfigFile.getAuthFilePath)(_path.default.resolve(process.cwd(), authFilePath)) : {}
|
|
34
36
|
};
|
|
35
|
-
|
|
37
|
+
// Determine dependencies based on the mode and smoke test status
|
|
38
|
+
const dependencies = isSmokeTest ? isAuthMode ? ['setup', 'smokeTest'] : ['smokeTest'] : isAuthMode ? ['setup'] : [];
|
|
36
39
|
if (browser === 'chrome') {
|
|
37
40
|
return {
|
|
38
41
|
name: _browserTypes.BROWSER_PROJECT_MAPPING.CHROME,
|
|
@@ -99,6 +102,7 @@ function getBrowserConfig({
|
|
|
99
102
|
function getProjects({
|
|
100
103
|
browsers,
|
|
101
104
|
isAuthMode,
|
|
105
|
+
isSmokeTest,
|
|
102
106
|
authFilePath,
|
|
103
107
|
expectTimeout,
|
|
104
108
|
testTimeout,
|
|
@@ -107,6 +111,7 @@ function getProjects({
|
|
|
107
111
|
return browsers.map(browserName => getBrowserConfig({
|
|
108
112
|
browserName,
|
|
109
113
|
isAuthMode,
|
|
114
|
+
isSmokeTest,
|
|
110
115
|
authFilePath,
|
|
111
116
|
expectTimeout,
|
|
112
117
|
testTimeout,
|
|
@@ -8,6 +8,7 @@ exports.default = void 0;
|
|
|
8
8
|
var _fs = _interopRequireDefault(require("fs"));
|
|
9
9
|
var _path = _interopRequireDefault(require("path"));
|
|
10
10
|
var _codeFrame = require("@babel/code-frame");
|
|
11
|
+
var _JSONStream = _interopRequireDefault(require("JSONStream"));
|
|
11
12
|
class CustomJsonReporter {
|
|
12
13
|
constructor({
|
|
13
14
|
outputFile = 'test-results.json'
|
|
@@ -32,23 +33,12 @@ class CustomJsonReporter {
|
|
|
32
33
|
attachments: result.attachments,
|
|
33
34
|
startTime: result.startTime,
|
|
34
35
|
retry: result.retry,
|
|
35
|
-
stderr: result.stderr.map(err => (
|
|
36
|
-
|
|
37
|
-
})),
|
|
38
|
-
stdout: result.stdout.map(out => ({
|
|
39
|
-
text: out
|
|
40
|
-
})),
|
|
36
|
+
stderr: result.stderr.map(err => stdioEntry(err)),
|
|
37
|
+
stdout: result.stdout.map(out => stdioEntry(out)),
|
|
41
38
|
workerIndex: result.workerIndex,
|
|
42
39
|
duration: result.duration,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
stack,
|
|
46
|
-
snippet
|
|
47
|
-
}) => ({
|
|
48
|
-
message,
|
|
49
|
-
stack,
|
|
50
|
-
snippet
|
|
51
|
-
}))) ?? [],
|
|
40
|
+
error: result.error,
|
|
41
|
+
errors: (_result$errors = result.errors) === null || _result$errors === void 0 ? void 0 : _result$errors.map(processError),
|
|
52
42
|
steps: ((_result$steps = result.steps) === null || _result$steps === void 0 ? void 0 : _result$steps.map(step => extractMergedSteps(this.report.config.rootDir, step))) ?? []
|
|
53
43
|
};
|
|
54
44
|
const existingResults = this.testResultsById.get(key) ?? [];
|
|
@@ -60,7 +50,22 @@ class CustomJsonReporter {
|
|
|
60
50
|
const extracted = suite.suites.map(suite => extractMergedSuite(this.report.config.rootDir, suite, this.testResultsById));
|
|
61
51
|
this.report.suites.push(...extracted);
|
|
62
52
|
});
|
|
63
|
-
_fs.default.
|
|
53
|
+
const writableStream = _fs.default.createWriteStream(this.outputFile);
|
|
54
|
+
writableStream.write('{\n');
|
|
55
|
+
writableStream.write(` "config": ${JSON.stringify(this.report.config, null, 2)},\n`);
|
|
56
|
+
writableStream.write(' "suites": [\n');
|
|
57
|
+
for (let i = 0; i < this.report.suites.length; i++) {
|
|
58
|
+
const suite = this.report.suites[i];
|
|
59
|
+
let suiteStr = JSON.stringify(suite, null, 2).split('\n').map(line => ' ' + line).join('\n');
|
|
60
|
+
if (i < this.report.suites.length - 1) {
|
|
61
|
+
suiteStr += ',';
|
|
62
|
+
}
|
|
63
|
+
suiteStr += '\n';
|
|
64
|
+
writableStream.write(suiteStr);
|
|
65
|
+
}
|
|
66
|
+
writableStream.write(' ]\n');
|
|
67
|
+
writableStream.write('}\n');
|
|
68
|
+
writableStream.end();
|
|
64
69
|
console.log(`Custom JSON report written to: ${this.outputFile}`);
|
|
65
70
|
}
|
|
66
71
|
}
|
|
@@ -163,4 +168,125 @@ const parseLocation = (rootDir, {
|
|
|
163
168
|
file: isRelative ? _path.default.relative(rootDir, file) : file,
|
|
164
169
|
line,
|
|
165
170
|
column
|
|
166
|
-
} : {};
|
|
171
|
+
} : {};
|
|
172
|
+
const stdioEntry = s => typeof s === 'string' ? {
|
|
173
|
+
text: s
|
|
174
|
+
} : {
|
|
175
|
+
buffer: s.toString('base64')
|
|
176
|
+
};
|
|
177
|
+
const processError = error => {
|
|
178
|
+
const message = error.message || error.value || '';
|
|
179
|
+
const stack = error.stack;
|
|
180
|
+
if (!stack && !error.location) return {
|
|
181
|
+
message
|
|
182
|
+
};
|
|
183
|
+
const tokens = [];
|
|
184
|
+
const parsedStack = stack ? constructErrorStack(stack) : undefined;
|
|
185
|
+
tokens.push((parsedStack === null || parsedStack === void 0 ? void 0 : parsedStack.message) || message);
|
|
186
|
+
if (error.snippet) {
|
|
187
|
+
tokens.push('');
|
|
188
|
+
tokens.push(error.snippet);
|
|
189
|
+
}
|
|
190
|
+
if (parsedStack && parsedStack.stackLines.length) {
|
|
191
|
+
const dimmedStackLines = parsedStack.stackLines.split('\n').map(line => dimify(line));
|
|
192
|
+
tokens.push(dimmedStackLines.join('\n'));
|
|
193
|
+
}
|
|
194
|
+
let location = error.location;
|
|
195
|
+
if (parsedStack && !location) location = parsedStack.location;
|
|
196
|
+
if (error.cause) tokens.push(dimify('[cause]: ') + processError(error.cause).message);
|
|
197
|
+
return {
|
|
198
|
+
location,
|
|
199
|
+
message: tokens.join('\n')
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
const constructErrorStack = stack => parseErrorStack(stack, _path.default.sep, false);
|
|
203
|
+
const dimify = text => `\x1b[2m${text}\x1b[22m`;
|
|
204
|
+
const parseErrorStack = (stack, pathSeparator, showInternalStackFrames = false) => {
|
|
205
|
+
const lines = stack.split("\n");
|
|
206
|
+
let firstStackLineIndex = lines.findIndex(line => line.startsWith(" at "));
|
|
207
|
+
if (firstStackLineIndex === -1) firstStackLineIndex = lines.length;
|
|
208
|
+
const message = lines.slice(0, firstStackLineIndex).join("\n");
|
|
209
|
+
const stackStartIndex = indexLocator(stack, '\n', firstStackLineIndex) + 1 || 0;
|
|
210
|
+
const stackLinesString = stackStartIndex ? stack.slice(stackStartIndex) : '';
|
|
211
|
+
let location;
|
|
212
|
+
const stackLinesArr = stackLinesString.split('\n');
|
|
213
|
+
for (const line of stackLinesArr) {
|
|
214
|
+
const frame = parseStackFrame(line, pathSeparator, showInternalStackFrames);
|
|
215
|
+
if (!frame || !frame.file) continue;
|
|
216
|
+
if (isInNodeModules(frame.file, pathSeparator)) continue;
|
|
217
|
+
location = {
|
|
218
|
+
file: frame.file,
|
|
219
|
+
column: frame.column || 0,
|
|
220
|
+
line: frame.line || 0
|
|
221
|
+
};
|
|
222
|
+
break;
|
|
223
|
+
}
|
|
224
|
+
return {
|
|
225
|
+
message,
|
|
226
|
+
stackLines: stackLinesString,
|
|
227
|
+
location
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
const indexLocator = (str, pat, n) => {
|
|
231
|
+
let L = str.length,
|
|
232
|
+
i = -1;
|
|
233
|
+
while (n-- && i++ < L) {
|
|
234
|
+
i = str.indexOf(pat, i);
|
|
235
|
+
if (i < 0) break;
|
|
236
|
+
}
|
|
237
|
+
return i;
|
|
238
|
+
};
|
|
239
|
+
const isInNodeModules = (file, pathSeparator) => file.includes(`${pathSeparator}node_modules${pathSeparator}`);
|
|
240
|
+
const parseStackFrame = (text, pathSeparator, showInternalStackFrames) => {
|
|
241
|
+
const re = new RegExp("^(?:\\s*at )?(?:(new) )?(?:(.*?) \\()?(?:eval at ([^ ]+) \\((.+?):(\\d+):(\\d+)\\), )?(?:(.+?):(\\d+):(\\d+)|(native))(\\)?)$");
|
|
242
|
+
const methodRe = /^(.*?) \[as (.*?)\]$/;
|
|
243
|
+
const match = text && text.match(re);
|
|
244
|
+
if (!match) return null;
|
|
245
|
+
let fname = match[2];
|
|
246
|
+
let file = match[7];
|
|
247
|
+
if (!file) return null;
|
|
248
|
+
if (!showInternalStackFrames && (file.startsWith("internal") || file.startsWith("node:"))) return null;
|
|
249
|
+
const line = match[8];
|
|
250
|
+
const column = match[9];
|
|
251
|
+
const closeParen = match[11] === ")";
|
|
252
|
+
const frame = {
|
|
253
|
+
file: "",
|
|
254
|
+
line: 0,
|
|
255
|
+
column: 0
|
|
256
|
+
};
|
|
257
|
+
if (line) frame.line = Number(line);
|
|
258
|
+
if (column) frame.column = Number(column);
|
|
259
|
+
if (closeParen && file) {
|
|
260
|
+
let closes = 0;
|
|
261
|
+
for (let i = file.length - 1; i > 0; i--) {
|
|
262
|
+
if (file.charAt(i) === ")") {
|
|
263
|
+
closes++;
|
|
264
|
+
} else if (file.charAt(i) === "(" && file.charAt(i - 1) === " ") {
|
|
265
|
+
closes--;
|
|
266
|
+
if (closes === -1 && file.charAt(i - 1) === " ") {
|
|
267
|
+
const before = file.slice(0, i - 1);
|
|
268
|
+
const after = file.slice(i + 1);
|
|
269
|
+
file = after;
|
|
270
|
+
fname += ` (${before}`;
|
|
271
|
+
break;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
if (fname) {
|
|
277
|
+
const methodMatch = fname.match(methodRe);
|
|
278
|
+
if (methodMatch) fname = methodMatch[1];
|
|
279
|
+
}
|
|
280
|
+
if (file) {
|
|
281
|
+
if (file.startsWith("file://")) file = fileURLToPath(file, pathSeparator);
|
|
282
|
+
frame.file = file;
|
|
283
|
+
}
|
|
284
|
+
if (fname) frame.function = fname;
|
|
285
|
+
return frame;
|
|
286
|
+
};
|
|
287
|
+
const fileURLToPath = (fileUrl, pathSeparator) => {
|
|
288
|
+
if (!fileUrl.startsWith("file://")) return fileUrl;
|
|
289
|
+
let path = decodeURIComponent(fileUrl.slice(7));
|
|
290
|
+
if (path.startsWith("/") && /^[a-zA-Z]:/.test(path.slice(1))) path = path.slice(1);
|
|
291
|
+
return path.replace(/\//g, pathSeparator);
|
|
292
|
+
};
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/testinglibrary",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.73-n18-experimental",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@zohodesk/testinglibrary",
|
|
9
|
-
"version": "0.4.
|
|
9
|
+
"version": "0.4.73-n18-experimental",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@babel/code-frame": "7.27.1",
|
|
14
14
|
"@babel/preset-react": "7.22.5",
|
|
15
15
|
"@cucumber/cucumber": "11.3.0",
|
|
16
|
-
"@playwright/test": "1.53.
|
|
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
19
|
"@testing-library/react": "11.2.7",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"jest": "29.6.2",
|
|
25
25
|
"jest-environment-jsdom": "29.6.2",
|
|
26
26
|
"msw": "1.2.3",
|
|
27
|
-
"playwright": "1.53.
|
|
27
|
+
"playwright": "1.53.2",
|
|
28
28
|
"playwright-bdd": "8.3.1",
|
|
29
29
|
"supports-color": "8.1.1"
|
|
30
30
|
},
|
|
@@ -3087,12 +3087,12 @@
|
|
|
3087
3087
|
}
|
|
3088
3088
|
},
|
|
3089
3089
|
"node_modules/@playwright/test": {
|
|
3090
|
-
"version": "1.53.
|
|
3091
|
-
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.53.
|
|
3092
|
-
"integrity": "sha512-
|
|
3090
|
+
"version": "1.53.2",
|
|
3091
|
+
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.53.2.tgz",
|
|
3092
|
+
"integrity": "sha512-tEB2U5z74ebBeyfGNZ3Jfg29AnW+5HlWhvHtb/Mqco9pFdZU1ZLNdVb2UtB5CvmiilNr2ZfVH/qMmAROG/XTzw==",
|
|
3093
3093
|
"license": "Apache-2.0",
|
|
3094
3094
|
"dependencies": {
|
|
3095
|
-
"playwright": "1.53.
|
|
3095
|
+
"playwright": "1.53.2"
|
|
3096
3096
|
},
|
|
3097
3097
|
"bin": {
|
|
3098
3098
|
"playwright": "cli.js"
|
|
@@ -8655,12 +8655,12 @@
|
|
|
8655
8655
|
}
|
|
8656
8656
|
},
|
|
8657
8657
|
"node_modules/playwright": {
|
|
8658
|
-
"version": "1.53.
|
|
8659
|
-
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.53.
|
|
8660
|
-
"integrity": "sha512-
|
|
8658
|
+
"version": "1.53.2",
|
|
8659
|
+
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.53.2.tgz",
|
|
8660
|
+
"integrity": "sha512-6K/qQxVFuVQhRQhFsVZ9fGeatxirtrpPgxzBYWyZLEXJzqYwuL4fuNmfOfD5et1tJE4GScKyPNeLhZeRwuTU3A==",
|
|
8661
8661
|
"license": "Apache-2.0",
|
|
8662
8662
|
"dependencies": {
|
|
8663
|
-
"playwright-core": "1.53.
|
|
8663
|
+
"playwright-core": "1.53.2"
|
|
8664
8664
|
},
|
|
8665
8665
|
"bin": {
|
|
8666
8666
|
"playwright": "cli.js"
|
|
@@ -8812,9 +8812,9 @@
|
|
|
8812
8812
|
}
|
|
8813
8813
|
},
|
|
8814
8814
|
"node_modules/playwright-core": {
|
|
8815
|
-
"version": "1.53.
|
|
8816
|
-
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.53.
|
|
8817
|
-
"integrity": "sha512-
|
|
8815
|
+
"version": "1.53.2",
|
|
8816
|
+
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.53.2.tgz",
|
|
8817
|
+
"integrity": "sha512-ox/OytMy+2w1jcYEYlOo1Hhp8hZkLCximMTUTMBXjGUA1KoFfiSZ+DU+3a739jsPY0yoKH2TFy9S2fsJas8yAw==",
|
|
8818
8818
|
"license": "Apache-2.0",
|
|
8819
8819
|
"bin": {
|
|
8820
8820
|
"playwright-core": "cli.js"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/testinglibrary",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.73-n18-experimental",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@babel/code-frame": "7.27.1",
|
|
25
25
|
"@babel/preset-react": "7.22.5",
|
|
26
26
|
"@cucumber/cucumber": "11.3.0",
|
|
27
|
-
"@playwright/test": "1.53.
|
|
27
|
+
"@playwright/test": "1.53.2",
|
|
28
28
|
"@reportportal/agent-js-playwright": "5.1.11",
|
|
29
29
|
"@testing-library/jest-dom": "5.11.9",
|
|
30
30
|
"@testing-library/react": "11.2.7",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"jest": "29.6.2",
|
|
36
36
|
"jest-environment-jsdom": "29.6.2",
|
|
37
37
|
"msw": "1.2.3",
|
|
38
|
-
"playwright": "1.53.
|
|
38
|
+
"playwright": "1.53.2",
|
|
39
39
|
"supports-color": "8.1.1",
|
|
40
40
|
"playwright-bdd": "8.3.1"
|
|
41
41
|
},
|