@zohodesk/testinglibrary 0.4.100-n18-experimental → 0.4.101-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 +13 -13
- package/build/common/data-generator/steps/DataGeneratorStepsHelper.js +3 -1
- package/build/common/searchFake/steps/searchFake.spec.js +3 -3
- package/build/core/dataGenerator/DataGenerator.js +0 -9
- package/build/core/playwright/helpers/auth/getUsers.js +2 -1
- package/build/core/playwright/helpers/thirdPartyLib.js +13 -0
- package/build/core/playwright/setup/custom-reporter.js +0 -3
- package/build/test/Test.js +13 -0
- package/build/utils/logger.js +1 -1
- package/npm-shrinkwrap.json +175 -255
- package/package.json +3 -4
- package/build/core/playwright/setup/lastRunUpdater.js +0 -80
- package/test-results/.last-run.json +0 -4
- package/unit_reports/unit-report.html +0 -260
package/.gitlab-ci.yml
CHANGED
|
@@ -188,19 +188,19 @@ uat-data_generator:
|
|
|
188
188
|
paths:
|
|
189
189
|
- examples/uat/playwright-report
|
|
190
190
|
|
|
191
|
-
uat-search_indexing:
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
191
|
+
# uat-search_indexing:
|
|
192
|
+
# stage: uat
|
|
193
|
+
# script:
|
|
194
|
+
# - cd examples
|
|
195
|
+
# - npm install $(npm pack ../../testing-framework | tail -1)
|
|
196
|
+
# - output=$(npm run uat-search_indexing)
|
|
197
|
+
# - echo "$output"
|
|
198
|
+
# - node ../ValidateUATReport.js examples
|
|
199
|
+
|
|
200
|
+
# artifacts:
|
|
201
|
+
# when: always
|
|
202
|
+
# paths:
|
|
203
|
+
# - examples/uat/playwright-report
|
|
204
204
|
|
|
205
205
|
|
|
206
206
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { test } from '@zohodesk/testinglibrary';
|
|
2
2
|
import DataGenerator from '@zohodesk/testinglibrary/DataGenerator';
|
|
3
|
+
import {getUserForSelectedEditionAndProfile} from '@zohodesk/testinglibrary/helpers'
|
|
3
4
|
|
|
4
5
|
const dataGenerator = new DataGenerator();
|
|
5
6
|
|
|
@@ -9,7 +10,8 @@ export async function generateAndCacheTestData(executionContext, type, identifie
|
|
|
9
10
|
const scenarioName = testInfo.title.split('/').pop() || 'Unknown Scenario';
|
|
10
11
|
|
|
11
12
|
if (profile) {
|
|
12
|
-
|
|
13
|
+
const { edition, orgName: portal, beta } = executionContext.actorInfo;
|
|
14
|
+
actorInfo = await getUserForSelectedEditionAndProfile(edition, profile, beta, portal);
|
|
13
15
|
} else {
|
|
14
16
|
actorInfo = executionContext.actorInfo;
|
|
15
17
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {createBdd
|
|
1
|
+
import {createBdd} from '@zohodesk/testinglibrary';
|
|
2
|
+
import { jsonpath } from '@zohodesk/testinglibrary/thirdPartyHelper';
|
|
2
3
|
import { executeRpcRequest , entityIdReConstructor } from '../helpers/rpcRequestHelper';
|
|
3
|
-
// import jp from 'jsonpath';
|
|
4
4
|
|
|
5
5
|
const { Given } = createBdd();
|
|
6
6
|
|
|
@@ -54,7 +54,7 @@ Given('a search entity using {string}', async ({page,cacheLayer}, reference,data
|
|
|
54
54
|
entityIdValue = searchObj;
|
|
55
55
|
} else {
|
|
56
56
|
const jsonPath = searchEntity?.startsWith?.('$') ? searchEntity : `$.${searchEntity}`;
|
|
57
|
-
const result =
|
|
57
|
+
const result = jsonpath.query(searchObj, jsonPath);
|
|
58
58
|
|
|
59
59
|
if (!result || result.length === 0) {
|
|
60
60
|
throw new Error(`JSONPath query '${jsonPath}' returned no results from cache object for reference: ${reference}`);
|
|
@@ -47,15 +47,6 @@ class DataGenerator {
|
|
|
47
47
|
throw error;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
async getDataGenUserExecutionContext(edition, profile) {
|
|
51
|
-
try {
|
|
52
|
-
const dataGenUserDetails = await (0, _helpers.getUserForSelectedEditionAndProfile)(edition, profile);
|
|
53
|
-
return dataGenUserDetails;
|
|
54
|
-
} catch (error) {
|
|
55
|
-
console.error('Error occurred while fetching data generation user details: ', error);
|
|
56
|
-
throw error;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
50
|
}
|
|
60
51
|
async function _getGenerator(testInfo, generatorName) {
|
|
61
52
|
let generator = null;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
Object.defineProperty(exports, "jsonpath", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return _jsonpath.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
var _jsonpath = _interopRequireDefault(require("jsonpath"));
|
|
@@ -11,7 +11,6 @@ var _fileUtils = require("../../../utils/fileUtils");
|
|
|
11
11
|
var _readConfigFile = require("../readConfigFile");
|
|
12
12
|
var _logger = require("../../../utils/logger");
|
|
13
13
|
var _configFileNameProvider = require("../helpers/configFileNameProvider");
|
|
14
|
-
var _lastRunUpdater = _interopRequireDefault(require("./lastRunUpdater"));
|
|
15
14
|
class JSONSummaryReporter {
|
|
16
15
|
constructor() {
|
|
17
16
|
this.durationInMS = -1;
|
|
@@ -124,8 +123,6 @@ class JSONSummaryReporter {
|
|
|
124
123
|
(0, _fileUtils.writeFileContents)(_path.default.join(reportPath, './', (0, _configFileNameProvider.getReportFileName)()), JSON.stringify(this, null, ' '));
|
|
125
124
|
}
|
|
126
125
|
onExit() {
|
|
127
|
-
// Update .last-run.json with aborted tests due to timing out or interruption
|
|
128
|
-
(0, _lastRunUpdater.default)();
|
|
129
126
|
const shouldClearLastLine = this._open !== 'always' || this._open !== 'on-failure';
|
|
130
127
|
if (shouldClearLastLine) {
|
|
131
128
|
/**Below code is to replace the playwright default report commond with abstraction tool command */
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
delete require.cache[require.resolve('../core/playwright/runner/Runner')];
|
|
4
|
+
function test() {
|
|
5
|
+
const inputString = "@hc";
|
|
6
|
+
const selectedTag = ["@hc_1234"].reverse().find(tag => tag.startsWith(inputString));
|
|
7
|
+
let tagInput = null;
|
|
8
|
+
if (selectedTag) {
|
|
9
|
+
tagInput = selectedTag.split(`${inputString}_`).pop().toLowerCase();
|
|
10
|
+
}
|
|
11
|
+
console.log(tagInput);
|
|
12
|
+
}
|
|
13
|
+
test();
|
package/build/utils/logger.js
CHANGED
|
@@ -22,7 +22,7 @@ class LoggerImpl {
|
|
|
22
22
|
info() {}
|
|
23
23
|
log(type, message) {
|
|
24
24
|
const color = this.colors[type];
|
|
25
|
-
this.consoleLogger.log(`${color[0]}${message}${color[1]}
|
|
25
|
+
this.consoleLogger.log(`${color[0]}${message}${color[1]}`);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
const Logger = exports.Logger = new LoggerImpl();
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/testinglibrary",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.101-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.101-n18-experimental",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
"fast-glob": "3.3.1",
|
|
24
24
|
"jest": "29.6.2",
|
|
25
25
|
"jest-environment-jsdom": "29.6.2",
|
|
26
|
-
"jsonpath": "1.1.1",
|
|
27
26
|
"msw": "1.2.3",
|
|
28
27
|
"playwright": "1.53.2",
|
|
29
28
|
"playwright-bdd": "8.3.1",
|
|
@@ -2450,6 +2449,43 @@
|
|
|
2450
2449
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
|
2451
2450
|
}
|
|
2452
2451
|
},
|
|
2452
|
+
"node_modules/@eslint/plugin-kit/node_modules/levn": {
|
|
2453
|
+
"version": "0.4.1",
|
|
2454
|
+
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
|
|
2455
|
+
"integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
|
|
2456
|
+
"license": "MIT",
|
|
2457
|
+
"peer": true,
|
|
2458
|
+
"dependencies": {
|
|
2459
|
+
"prelude-ls": "^1.2.1",
|
|
2460
|
+
"type-check": "~0.4.0"
|
|
2461
|
+
},
|
|
2462
|
+
"engines": {
|
|
2463
|
+
"node": ">= 0.8.0"
|
|
2464
|
+
}
|
|
2465
|
+
},
|
|
2466
|
+
"node_modules/@eslint/plugin-kit/node_modules/prelude-ls": {
|
|
2467
|
+
"version": "1.2.1",
|
|
2468
|
+
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
|
|
2469
|
+
"integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
|
|
2470
|
+
"license": "MIT",
|
|
2471
|
+
"peer": true,
|
|
2472
|
+
"engines": {
|
|
2473
|
+
"node": ">= 0.8.0"
|
|
2474
|
+
}
|
|
2475
|
+
},
|
|
2476
|
+
"node_modules/@eslint/plugin-kit/node_modules/type-check": {
|
|
2477
|
+
"version": "0.4.0",
|
|
2478
|
+
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
|
|
2479
|
+
"integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
|
|
2480
|
+
"license": "MIT",
|
|
2481
|
+
"peer": true,
|
|
2482
|
+
"dependencies": {
|
|
2483
|
+
"prelude-ls": "^1.2.1"
|
|
2484
|
+
},
|
|
2485
|
+
"engines": {
|
|
2486
|
+
"node": ">= 0.8.0"
|
|
2487
|
+
}
|
|
2488
|
+
},
|
|
2453
2489
|
"node_modules/@humanfs/core": {
|
|
2454
2490
|
"version": "0.19.1",
|
|
2455
2491
|
"resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
|
|
@@ -2503,12 +2539,12 @@
|
|
|
2503
2539
|
}
|
|
2504
2540
|
},
|
|
2505
2541
|
"node_modules/@inquirer/external-editor": {
|
|
2506
|
-
"version": "1.0.
|
|
2507
|
-
"resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.
|
|
2508
|
-
"integrity": "sha512-
|
|
2542
|
+
"version": "1.0.2",
|
|
2543
|
+
"resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.2.tgz",
|
|
2544
|
+
"integrity": "sha512-yy9cOoBnx58TlsPrIxauKIFQTiyH+0MK4e97y4sV9ERbI+zDxw7i2hxHLCIEGIE/8PPvDxGhgzIOTSOWcs6/MQ==",
|
|
2509
2545
|
"license": "MIT",
|
|
2510
2546
|
"dependencies": {
|
|
2511
|
-
"chardet": "^2.1.
|
|
2547
|
+
"chardet": "^2.1.0",
|
|
2512
2548
|
"iconv-lite": "^0.7.0"
|
|
2513
2549
|
},
|
|
2514
2550
|
"engines": {
|
|
@@ -4052,9 +4088,9 @@
|
|
|
4052
4088
|
"license": "MIT"
|
|
4053
4089
|
},
|
|
4054
4090
|
"node_modules/@types/node": {
|
|
4055
|
-
"version": "24.
|
|
4056
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.
|
|
4057
|
-
"integrity": "sha512-
|
|
4091
|
+
"version": "24.9.1",
|
|
4092
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.9.1.tgz",
|
|
4093
|
+
"integrity": "sha512-QoiaXANRkSXK6p0Duvt56W208du4P9Uye9hWLWgGMDTEoKPhuenzNcC4vGUmrNkiOKTlIrBoyNQYNpSwfEZXSg==",
|
|
4058
4094
|
"license": "MIT",
|
|
4059
4095
|
"dependencies": {
|
|
4060
4096
|
"undici-types": "~7.16.0"
|
|
@@ -4449,9 +4485,9 @@
|
|
|
4449
4485
|
}
|
|
4450
4486
|
},
|
|
4451
4487
|
"node_modules/axios": {
|
|
4452
|
-
"version": "1.13.
|
|
4453
|
-
"resolved": "https://registry.npmjs.org/axios/-/axios-1.13.
|
|
4454
|
-
"integrity": "sha512-
|
|
4488
|
+
"version": "1.13.0",
|
|
4489
|
+
"resolved": "https://registry.npmjs.org/axios/-/axios-1.13.0.tgz",
|
|
4490
|
+
"integrity": "sha512-zt40Pz4zcRXra9CVV31KeyofwiNvAbJ5B6YPz9pMJ+yOSLikvPT4Yi5LjfgjRa9CawVYBaD1JQzIVcIvBejKeA==",
|
|
4455
4491
|
"license": "MIT",
|
|
4456
4492
|
"dependencies": {
|
|
4457
4493
|
"follow-redirects": "^1.15.6",
|
|
@@ -4686,9 +4722,9 @@
|
|
|
4686
4722
|
"license": "MIT"
|
|
4687
4723
|
},
|
|
4688
4724
|
"node_modules/baseline-browser-mapping": {
|
|
4689
|
-
"version": "2.8.
|
|
4690
|
-
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.
|
|
4691
|
-
"integrity": "sha512-
|
|
4725
|
+
"version": "2.8.20",
|
|
4726
|
+
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.20.tgz",
|
|
4727
|
+
"integrity": "sha512-JMWsdF+O8Orq3EMukbUN1QfbLK9mX2CkUmQBcW2T0s8OmdAUL5LLM/6wFwSrqXzlXB13yhyK9gTKS1rIizOduQ==",
|
|
4692
4728
|
"license": "Apache-2.0",
|
|
4693
4729
|
"bin": {
|
|
4694
4730
|
"baseline-browser-mapping": "dist/cli.js"
|
|
@@ -4877,9 +4913,9 @@
|
|
|
4877
4913
|
}
|
|
4878
4914
|
},
|
|
4879
4915
|
"node_modules/caniuse-lite": {
|
|
4880
|
-
"version": "1.0.
|
|
4881
|
-
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.
|
|
4882
|
-
"integrity": "sha512-
|
|
4916
|
+
"version": "1.0.30001751",
|
|
4917
|
+
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001751.tgz",
|
|
4918
|
+
"integrity": "sha512-A0QJhug0Ly64Ii3eIqHu5X51ebln3k4yTUkY1j8drqpWHVreg/VLijN48cZ1bYPiqOQuqpkIKnzr/Ul8V+p6Cw==",
|
|
4883
4919
|
"funding": [
|
|
4884
4920
|
{
|
|
4885
4921
|
"type": "opencollective",
|
|
@@ -4945,9 +4981,9 @@
|
|
|
4945
4981
|
}
|
|
4946
4982
|
},
|
|
4947
4983
|
"node_modules/chardet": {
|
|
4948
|
-
"version": "2.1.
|
|
4949
|
-
"resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.
|
|
4950
|
-
"integrity": "sha512-
|
|
4984
|
+
"version": "2.1.0",
|
|
4985
|
+
"resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.0.tgz",
|
|
4986
|
+
"integrity": "sha512-bNFETTG/pM5ryzQ9Ad0lJOTa6HWD/YsScAR3EnCPZRPlQh77JocYktSHOUHelyhm8IARL+o4c4F1bP5KVOjiRA==",
|
|
4951
4987
|
"license": "MIT"
|
|
4952
4988
|
},
|
|
4953
4989
|
"node_modules/chokidar": {
|
|
@@ -5435,7 +5471,8 @@
|
|
|
5435
5471
|
"version": "0.1.4",
|
|
5436
5472
|
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
|
|
5437
5473
|
"integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
|
|
5438
|
-
"license": "MIT"
|
|
5474
|
+
"license": "MIT",
|
|
5475
|
+
"peer": true
|
|
5439
5476
|
},
|
|
5440
5477
|
"node_modules/deepmerge": {
|
|
5441
5478
|
"version": "4.3.1",
|
|
@@ -5569,9 +5606,9 @@
|
|
|
5569
5606
|
"license": "MIT"
|
|
5570
5607
|
},
|
|
5571
5608
|
"node_modules/electron-to-chromium": {
|
|
5572
|
-
"version": "1.5.
|
|
5573
|
-
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.
|
|
5574
|
-
"integrity": "sha512-
|
|
5609
|
+
"version": "1.5.240",
|
|
5610
|
+
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.240.tgz",
|
|
5611
|
+
"integrity": "sha512-OBwbZjWgrCOH+g6uJsA2/7Twpas2OlepS9uvByJjR2datRDuKGYeD+nP8lBBks2qnB7bGJNHDUx7c/YLaT3QMQ==",
|
|
5575
5612
|
"license": "ISC"
|
|
5576
5613
|
},
|
|
5577
5614
|
"node_modules/emittery": {
|
|
@@ -5771,16 +5808,12 @@
|
|
|
5771
5808
|
}
|
|
5772
5809
|
},
|
|
5773
5810
|
"node_modules/escape-string-regexp": {
|
|
5774
|
-
"version": "
|
|
5775
|
-
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-
|
|
5776
|
-
"integrity": "sha512-
|
|
5811
|
+
"version": "1.0.5",
|
|
5812
|
+
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
|
|
5813
|
+
"integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
|
|
5777
5814
|
"license": "MIT",
|
|
5778
|
-
"peer": true,
|
|
5779
5815
|
"engines": {
|
|
5780
|
-
"node": ">=
|
|
5781
|
-
},
|
|
5782
|
-
"funding": {
|
|
5783
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
5816
|
+
"node": ">=0.8.0"
|
|
5784
5817
|
}
|
|
5785
5818
|
},
|
|
5786
5819
|
"node_modules/escodegen": {
|
|
@@ -5894,6 +5927,19 @@
|
|
|
5894
5927
|
"url": "https://opencollective.com/eslint"
|
|
5895
5928
|
}
|
|
5896
5929
|
},
|
|
5930
|
+
"node_modules/eslint/node_modules/escape-string-regexp": {
|
|
5931
|
+
"version": "4.0.0",
|
|
5932
|
+
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
|
|
5933
|
+
"integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
|
|
5934
|
+
"license": "MIT",
|
|
5935
|
+
"peer": true,
|
|
5936
|
+
"engines": {
|
|
5937
|
+
"node": ">=10"
|
|
5938
|
+
},
|
|
5939
|
+
"funding": {
|
|
5940
|
+
"url": "https://github.com/sponsors/sindresorhus"
|
|
5941
|
+
}
|
|
5942
|
+
},
|
|
5897
5943
|
"node_modules/eslint/node_modules/find-up": {
|
|
5898
5944
|
"version": "5.0.0",
|
|
5899
5945
|
"resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
|
|
@@ -5924,6 +5970,20 @@
|
|
|
5924
5970
|
"node": ">=10.13.0"
|
|
5925
5971
|
}
|
|
5926
5972
|
},
|
|
5973
|
+
"node_modules/eslint/node_modules/levn": {
|
|
5974
|
+
"version": "0.4.1",
|
|
5975
|
+
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
|
|
5976
|
+
"integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
|
|
5977
|
+
"license": "MIT",
|
|
5978
|
+
"peer": true,
|
|
5979
|
+
"dependencies": {
|
|
5980
|
+
"prelude-ls": "^1.2.1",
|
|
5981
|
+
"type-check": "~0.4.0"
|
|
5982
|
+
},
|
|
5983
|
+
"engines": {
|
|
5984
|
+
"node": ">= 0.8.0"
|
|
5985
|
+
}
|
|
5986
|
+
},
|
|
5927
5987
|
"node_modules/eslint/node_modules/locate-path": {
|
|
5928
5988
|
"version": "6.0.0",
|
|
5929
5989
|
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
|
|
@@ -5940,6 +6000,24 @@
|
|
|
5940
6000
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
5941
6001
|
}
|
|
5942
6002
|
},
|
|
6003
|
+
"node_modules/eslint/node_modules/optionator": {
|
|
6004
|
+
"version": "0.9.4",
|
|
6005
|
+
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
|
|
6006
|
+
"integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
|
|
6007
|
+
"license": "MIT",
|
|
6008
|
+
"peer": true,
|
|
6009
|
+
"dependencies": {
|
|
6010
|
+
"deep-is": "^0.1.3",
|
|
6011
|
+
"fast-levenshtein": "^2.0.6",
|
|
6012
|
+
"levn": "^0.4.1",
|
|
6013
|
+
"prelude-ls": "^1.2.1",
|
|
6014
|
+
"type-check": "^0.4.0",
|
|
6015
|
+
"word-wrap": "^1.2.5"
|
|
6016
|
+
},
|
|
6017
|
+
"engines": {
|
|
6018
|
+
"node": ">= 0.8.0"
|
|
6019
|
+
}
|
|
6020
|
+
},
|
|
5943
6021
|
"node_modules/eslint/node_modules/p-locate": {
|
|
5944
6022
|
"version": "5.0.0",
|
|
5945
6023
|
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
|
|
@@ -5956,6 +6034,29 @@
|
|
|
5956
6034
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
5957
6035
|
}
|
|
5958
6036
|
},
|
|
6037
|
+
"node_modules/eslint/node_modules/prelude-ls": {
|
|
6038
|
+
"version": "1.2.1",
|
|
6039
|
+
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
|
|
6040
|
+
"integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
|
|
6041
|
+
"license": "MIT",
|
|
6042
|
+
"peer": true,
|
|
6043
|
+
"engines": {
|
|
6044
|
+
"node": ">= 0.8.0"
|
|
6045
|
+
}
|
|
6046
|
+
},
|
|
6047
|
+
"node_modules/eslint/node_modules/type-check": {
|
|
6048
|
+
"version": "0.4.0",
|
|
6049
|
+
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
|
|
6050
|
+
"integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
|
|
6051
|
+
"license": "MIT",
|
|
6052
|
+
"peer": true,
|
|
6053
|
+
"dependencies": {
|
|
6054
|
+
"prelude-ls": "^1.2.1"
|
|
6055
|
+
},
|
|
6056
|
+
"engines": {
|
|
6057
|
+
"node": ">= 0.8.0"
|
|
6058
|
+
}
|
|
6059
|
+
},
|
|
5959
6060
|
"node_modules/espree": {
|
|
5960
6061
|
"version": "10.4.0",
|
|
5961
6062
|
"resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz",
|
|
@@ -6201,7 +6302,8 @@
|
|
|
6201
6302
|
"version": "2.0.6",
|
|
6202
6303
|
"resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
|
|
6203
6304
|
"integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
|
|
6204
|
-
"license": "MIT"
|
|
6305
|
+
"license": "MIT",
|
|
6306
|
+
"peer": true
|
|
6205
6307
|
},
|
|
6206
6308
|
"node_modules/fastq": {
|
|
6207
6309
|
"version": "1.19.1",
|
|
@@ -6236,15 +6338,6 @@
|
|
|
6236
6338
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
6237
6339
|
}
|
|
6238
6340
|
},
|
|
6239
|
-
"node_modules/figures/node_modules/escape-string-regexp": {
|
|
6240
|
-
"version": "1.0.5",
|
|
6241
|
-
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
|
|
6242
|
-
"integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
|
|
6243
|
-
"license": "MIT",
|
|
6244
|
-
"engines": {
|
|
6245
|
-
"node": ">=0.8.0"
|
|
6246
|
-
}
|
|
6247
|
-
},
|
|
6248
6341
|
"node_modules/file-entry-cache": {
|
|
6249
6342
|
"version": "8.0.0",
|
|
6250
6343
|
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
|
|
@@ -6423,6 +6516,20 @@
|
|
|
6423
6516
|
"integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
|
|
6424
6517
|
"license": "ISC"
|
|
6425
6518
|
},
|
|
6519
|
+
"node_modules/fsevents": {
|
|
6520
|
+
"version": "2.3.3",
|
|
6521
|
+
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
|
|
6522
|
+
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
|
|
6523
|
+
"hasInstallScript": true,
|
|
6524
|
+
"license": "MIT",
|
|
6525
|
+
"optional": true,
|
|
6526
|
+
"os": [
|
|
6527
|
+
"darwin"
|
|
6528
|
+
],
|
|
6529
|
+
"engines": {
|
|
6530
|
+
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
|
6531
|
+
}
|
|
6532
|
+
},
|
|
6426
6533
|
"node_modules/function-bind": {
|
|
6427
6534
|
"version": "1.1.2",
|
|
6428
6535
|
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
|
@@ -6663,9 +6770,9 @@
|
|
|
6663
6770
|
"license": "ISC"
|
|
6664
6771
|
},
|
|
6665
6772
|
"node_modules/graphql": {
|
|
6666
|
-
"version": "16.
|
|
6667
|
-
"resolved": "https://registry.npmjs.org/graphql/-/graphql-16.
|
|
6668
|
-
"integrity": "sha512-
|
|
6773
|
+
"version": "16.11.0",
|
|
6774
|
+
"resolved": "https://registry.npmjs.org/graphql/-/graphql-16.11.0.tgz",
|
|
6775
|
+
"integrity": "sha512-mS1lbMsxgQj6hge1XZ6p7GPhbrtFwUFYi3wRzXAC/FmYnyXMTvvI3td3rjmQ2u8ewXueaSvRPWaEcgVVOT9Jnw==",
|
|
6669
6776
|
"license": "MIT",
|
|
6670
6777
|
"engines": {
|
|
6671
6778
|
"node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0"
|
|
@@ -9294,29 +9401,6 @@
|
|
|
9294
9401
|
"node": ">=6"
|
|
9295
9402
|
}
|
|
9296
9403
|
},
|
|
9297
|
-
"node_modules/jsonpath": {
|
|
9298
|
-
"version": "1.1.1",
|
|
9299
|
-
"resolved": "https://registry.npmjs.org/jsonpath/-/jsonpath-1.1.1.tgz",
|
|
9300
|
-
"integrity": "sha512-l6Cg7jRpixfbgoWgkrl77dgEj8RPvND0wMH6TwQmi9Qs4TFfS9u5cUFnbeKTwj5ga5Y3BTGGNI28k117LJ009w==",
|
|
9301
|
-
"license": "MIT",
|
|
9302
|
-
"dependencies": {
|
|
9303
|
-
"esprima": "1.2.2",
|
|
9304
|
-
"static-eval": "2.0.2",
|
|
9305
|
-
"underscore": "1.12.1"
|
|
9306
|
-
}
|
|
9307
|
-
},
|
|
9308
|
-
"node_modules/jsonpath/node_modules/esprima": {
|
|
9309
|
-
"version": "1.2.2",
|
|
9310
|
-
"resolved": "https://registry.npmjs.org/esprima/-/esprima-1.2.2.tgz",
|
|
9311
|
-
"integrity": "sha512-+JpPZam9w5DuJ3Q67SqsMGtiHKENSMRVoxvArfJZK01/BfLEObtZ6orJa/MtoGNR/rfMgp5837T41PAmTwAv/A==",
|
|
9312
|
-
"bin": {
|
|
9313
|
-
"esparse": "bin/esparse.js",
|
|
9314
|
-
"esvalidate": "bin/esvalidate.js"
|
|
9315
|
-
},
|
|
9316
|
-
"engines": {
|
|
9317
|
-
"node": ">=0.4.0"
|
|
9318
|
-
}
|
|
9319
|
-
},
|
|
9320
9404
|
"node_modules/keyv": {
|
|
9321
9405
|
"version": "4.5.4",
|
|
9322
9406
|
"resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
|
|
@@ -9364,20 +9448,6 @@
|
|
|
9364
9448
|
"node": ">=6"
|
|
9365
9449
|
}
|
|
9366
9450
|
},
|
|
9367
|
-
"node_modules/levn": {
|
|
9368
|
-
"version": "0.4.1",
|
|
9369
|
-
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
|
|
9370
|
-
"integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
|
|
9371
|
-
"license": "MIT",
|
|
9372
|
-
"peer": true,
|
|
9373
|
-
"dependencies": {
|
|
9374
|
-
"prelude-ls": "^1.2.1",
|
|
9375
|
-
"type-check": "~0.4.0"
|
|
9376
|
-
},
|
|
9377
|
-
"engines": {
|
|
9378
|
-
"node": ">= 0.8.0"
|
|
9379
|
-
}
|
|
9380
|
-
},
|
|
9381
9451
|
"node_modules/lines-and-columns": {
|
|
9382
9452
|
"version": "1.2.4",
|
|
9383
9453
|
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
|
|
@@ -9862,9 +9932,9 @@
|
|
|
9862
9932
|
"license": "MIT"
|
|
9863
9933
|
},
|
|
9864
9934
|
"node_modules/node-releases": {
|
|
9865
|
-
"version": "2.0.
|
|
9866
|
-
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.
|
|
9867
|
-
"integrity": "sha512-
|
|
9935
|
+
"version": "2.0.26",
|
|
9936
|
+
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.26.tgz",
|
|
9937
|
+
"integrity": "sha512-S2M9YimhSjBSvYnlr5/+umAnPHE++ODwt5e2Ij6FoX45HA/s4vHdkDx1eax2pAPeAOqu4s9b7ppahsyEFdVqQA==",
|
|
9868
9938
|
"license": "MIT"
|
|
9869
9939
|
},
|
|
9870
9940
|
"node_modules/normalize-package-data": {
|
|
@@ -10019,24 +10089,6 @@
|
|
|
10019
10089
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
10020
10090
|
}
|
|
10021
10091
|
},
|
|
10022
|
-
"node_modules/optionator": {
|
|
10023
|
-
"version": "0.9.4",
|
|
10024
|
-
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
|
|
10025
|
-
"integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
|
|
10026
|
-
"license": "MIT",
|
|
10027
|
-
"peer": true,
|
|
10028
|
-
"dependencies": {
|
|
10029
|
-
"deep-is": "^0.1.3",
|
|
10030
|
-
"fast-levenshtein": "^2.0.6",
|
|
10031
|
-
"levn": "^0.4.1",
|
|
10032
|
-
"prelude-ls": "^1.2.1",
|
|
10033
|
-
"type-check": "^0.4.0",
|
|
10034
|
-
"word-wrap": "^1.2.5"
|
|
10035
|
-
},
|
|
10036
|
-
"engines": {
|
|
10037
|
-
"node": ">= 0.8.0"
|
|
10038
|
-
}
|
|
10039
|
-
},
|
|
10040
10092
|
"node_modules/ora": {
|
|
10041
10093
|
"version": "5.4.1",
|
|
10042
10094
|
"resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz",
|
|
@@ -10515,6 +10567,20 @@
|
|
|
10515
10567
|
"node": ">=18"
|
|
10516
10568
|
}
|
|
10517
10569
|
},
|
|
10570
|
+
"node_modules/playwright/node_modules/fsevents": {
|
|
10571
|
+
"version": "2.3.2",
|
|
10572
|
+
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
|
|
10573
|
+
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
|
|
10574
|
+
"hasInstallScript": true,
|
|
10575
|
+
"license": "MIT",
|
|
10576
|
+
"optional": true,
|
|
10577
|
+
"os": [
|
|
10578
|
+
"darwin"
|
|
10579
|
+
],
|
|
10580
|
+
"engines": {
|
|
10581
|
+
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
|
10582
|
+
}
|
|
10583
|
+
},
|
|
10518
10584
|
"node_modules/possible-typed-array-names": {
|
|
10519
10585
|
"version": "1.1.0",
|
|
10520
10586
|
"resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz",
|
|
@@ -10524,16 +10590,6 @@
|
|
|
10524
10590
|
"node": ">= 0.4"
|
|
10525
10591
|
}
|
|
10526
10592
|
},
|
|
10527
|
-
"node_modules/prelude-ls": {
|
|
10528
|
-
"version": "1.2.1",
|
|
10529
|
-
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
|
|
10530
|
-
"integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
|
|
10531
|
-
"license": "MIT",
|
|
10532
|
-
"peer": true,
|
|
10533
|
-
"engines": {
|
|
10534
|
-
"node": ">= 0.8.0"
|
|
10535
|
-
}
|
|
10536
|
-
},
|
|
10537
10593
|
"node_modules/pretty-format": {
|
|
10538
10594
|
"version": "26.6.2",
|
|
10539
10595
|
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
|
|
@@ -10605,34 +10661,6 @@
|
|
|
10605
10661
|
"node": ">= 6"
|
|
10606
10662
|
}
|
|
10607
10663
|
},
|
|
10608
|
-
"node_modules/properties-reader": {
|
|
10609
|
-
"version": "2.3.0",
|
|
10610
|
-
"resolved": "https://registry.npmjs.org/properties-reader/-/properties-reader-2.3.0.tgz",
|
|
10611
|
-
"integrity": "sha512-z597WicA7nDZxK12kZqHr2TcvwNU1GCfA5UwfDY/HDp3hXPoPlb5rlEx9bwGTiJnc0OqbBTkU975jDToth8Gxw==",
|
|
10612
|
-
"license": "MIT",
|
|
10613
|
-
"dependencies": {
|
|
10614
|
-
"mkdirp": "^1.0.4"
|
|
10615
|
-
},
|
|
10616
|
-
"engines": {
|
|
10617
|
-
"node": ">=14"
|
|
10618
|
-
},
|
|
10619
|
-
"funding": {
|
|
10620
|
-
"type": "github",
|
|
10621
|
-
"url": "https://github.com/steveukx/properties?sponsor=1"
|
|
10622
|
-
}
|
|
10623
|
-
},
|
|
10624
|
-
"node_modules/properties-reader/node_modules/mkdirp": {
|
|
10625
|
-
"version": "1.0.4",
|
|
10626
|
-
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
|
|
10627
|
-
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
|
|
10628
|
-
"license": "MIT",
|
|
10629
|
-
"bin": {
|
|
10630
|
-
"mkdirp": "bin/cmd.js"
|
|
10631
|
-
},
|
|
10632
|
-
"engines": {
|
|
10633
|
-
"node": ">=10"
|
|
10634
|
-
}
|
|
10635
|
-
},
|
|
10636
10664
|
"node_modules/property-expr": {
|
|
10637
10665
|
"version": "2.0.6",
|
|
10638
10666
|
"resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.6.tgz",
|
|
@@ -11230,9 +11258,9 @@
|
|
|
11230
11258
|
}
|
|
11231
11259
|
},
|
|
11232
11260
|
"node_modules/set-cookie-parser": {
|
|
11233
|
-
"version": "2.7.
|
|
11234
|
-
"resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.
|
|
11235
|
-
"integrity": "sha512-
|
|
11261
|
+
"version": "2.7.1",
|
|
11262
|
+
"resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.1.tgz",
|
|
11263
|
+
"integrity": "sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==",
|
|
11236
11264
|
"license": "MIT"
|
|
11237
11265
|
},
|
|
11238
11266
|
"node_modules/set-function-length": {
|
|
@@ -11510,96 +11538,6 @@
|
|
|
11510
11538
|
"integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==",
|
|
11511
11539
|
"license": "MIT"
|
|
11512
11540
|
},
|
|
11513
|
-
"node_modules/static-eval": {
|
|
11514
|
-
"version": "2.0.2",
|
|
11515
|
-
"resolved": "https://registry.npmjs.org/static-eval/-/static-eval-2.0.2.tgz",
|
|
11516
|
-
"integrity": "sha512-N/D219Hcr2bPjLxPiV+TQE++Tsmrady7TqAJugLy7Xk1EumfDWS/f5dtBbkRCGE7wKKXuYockQoj8Rm2/pVKyg==",
|
|
11517
|
-
"license": "MIT",
|
|
11518
|
-
"dependencies": {
|
|
11519
|
-
"escodegen": "^1.8.1"
|
|
11520
|
-
}
|
|
11521
|
-
},
|
|
11522
|
-
"node_modules/static-eval/node_modules/escodegen": {
|
|
11523
|
-
"version": "1.14.3",
|
|
11524
|
-
"resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz",
|
|
11525
|
-
"integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==",
|
|
11526
|
-
"license": "BSD-2-Clause",
|
|
11527
|
-
"dependencies": {
|
|
11528
|
-
"esprima": "^4.0.1",
|
|
11529
|
-
"estraverse": "^4.2.0",
|
|
11530
|
-
"esutils": "^2.0.2",
|
|
11531
|
-
"optionator": "^0.8.1"
|
|
11532
|
-
},
|
|
11533
|
-
"bin": {
|
|
11534
|
-
"escodegen": "bin/escodegen.js",
|
|
11535
|
-
"esgenerate": "bin/esgenerate.js"
|
|
11536
|
-
},
|
|
11537
|
-
"engines": {
|
|
11538
|
-
"node": ">=4.0"
|
|
11539
|
-
},
|
|
11540
|
-
"optionalDependencies": {
|
|
11541
|
-
"source-map": "~0.6.1"
|
|
11542
|
-
}
|
|
11543
|
-
},
|
|
11544
|
-
"node_modules/static-eval/node_modules/estraverse": {
|
|
11545
|
-
"version": "4.3.0",
|
|
11546
|
-
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
|
|
11547
|
-
"integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
|
|
11548
|
-
"license": "BSD-2-Clause",
|
|
11549
|
-
"engines": {
|
|
11550
|
-
"node": ">=4.0"
|
|
11551
|
-
}
|
|
11552
|
-
},
|
|
11553
|
-
"node_modules/static-eval/node_modules/levn": {
|
|
11554
|
-
"version": "0.3.0",
|
|
11555
|
-
"resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
|
|
11556
|
-
"integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==",
|
|
11557
|
-
"license": "MIT",
|
|
11558
|
-
"dependencies": {
|
|
11559
|
-
"prelude-ls": "~1.1.2",
|
|
11560
|
-
"type-check": "~0.3.2"
|
|
11561
|
-
},
|
|
11562
|
-
"engines": {
|
|
11563
|
-
"node": ">= 0.8.0"
|
|
11564
|
-
}
|
|
11565
|
-
},
|
|
11566
|
-
"node_modules/static-eval/node_modules/optionator": {
|
|
11567
|
-
"version": "0.8.3",
|
|
11568
|
-
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz",
|
|
11569
|
-
"integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==",
|
|
11570
|
-
"license": "MIT",
|
|
11571
|
-
"dependencies": {
|
|
11572
|
-
"deep-is": "~0.1.3",
|
|
11573
|
-
"fast-levenshtein": "~2.0.6",
|
|
11574
|
-
"levn": "~0.3.0",
|
|
11575
|
-
"prelude-ls": "~1.1.2",
|
|
11576
|
-
"type-check": "~0.3.2",
|
|
11577
|
-
"word-wrap": "~1.2.3"
|
|
11578
|
-
},
|
|
11579
|
-
"engines": {
|
|
11580
|
-
"node": ">= 0.8.0"
|
|
11581
|
-
}
|
|
11582
|
-
},
|
|
11583
|
-
"node_modules/static-eval/node_modules/prelude-ls": {
|
|
11584
|
-
"version": "1.1.2",
|
|
11585
|
-
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
|
|
11586
|
-
"integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==",
|
|
11587
|
-
"engines": {
|
|
11588
|
-
"node": ">= 0.8.0"
|
|
11589
|
-
}
|
|
11590
|
-
},
|
|
11591
|
-
"node_modules/static-eval/node_modules/type-check": {
|
|
11592
|
-
"version": "0.3.2",
|
|
11593
|
-
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",
|
|
11594
|
-
"integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==",
|
|
11595
|
-
"license": "MIT",
|
|
11596
|
-
"dependencies": {
|
|
11597
|
-
"prelude-ls": "~1.1.2"
|
|
11598
|
-
},
|
|
11599
|
-
"engines": {
|
|
11600
|
-
"node": ">= 0.8.0"
|
|
11601
|
-
}
|
|
11602
|
-
},
|
|
11603
11541
|
"node_modules/stop-iteration-iterator": {
|
|
11604
11542
|
"version": "1.1.0",
|
|
11605
11543
|
"resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz",
|
|
@@ -11961,19 +11899,6 @@
|
|
|
11961
11899
|
"integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
|
|
11962
11900
|
"license": "0BSD"
|
|
11963
11901
|
},
|
|
11964
|
-
"node_modules/type-check": {
|
|
11965
|
-
"version": "0.4.0",
|
|
11966
|
-
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
|
|
11967
|
-
"integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
|
|
11968
|
-
"license": "MIT",
|
|
11969
|
-
"peer": true,
|
|
11970
|
-
"dependencies": {
|
|
11971
|
-
"prelude-ls": "^1.2.1"
|
|
11972
|
-
},
|
|
11973
|
-
"engines": {
|
|
11974
|
-
"node": ">= 0.8.0"
|
|
11975
|
-
}
|
|
11976
|
-
},
|
|
11977
11902
|
"node_modules/type-detect": {
|
|
11978
11903
|
"version": "4.0.8",
|
|
11979
11904
|
"resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz",
|
|
@@ -12107,12 +12032,6 @@
|
|
|
12107
12032
|
"url": "https://github.com/sponsors/ljharb"
|
|
12108
12033
|
}
|
|
12109
12034
|
},
|
|
12110
|
-
"node_modules/underscore": {
|
|
12111
|
-
"version": "1.12.1",
|
|
12112
|
-
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.12.1.tgz",
|
|
12113
|
-
"integrity": "sha512-hEQt0+ZLDVUMhebKxL4x1BTtDY7bavVofhZ9KZ4aI26X9SRaE+Y3m83XUL1UP2jn8ynjndwCCpEHdUG+9pP1Tw==",
|
|
12114
|
-
"license": "MIT"
|
|
12115
|
-
},
|
|
12116
12035
|
"node_modules/undici-types": {
|
|
12117
12036
|
"version": "7.16.0",
|
|
12118
12037
|
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz",
|
|
@@ -12535,6 +12454,7 @@
|
|
|
12535
12454
|
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
|
|
12536
12455
|
"integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
|
|
12537
12456
|
"license": "MIT",
|
|
12457
|
+
"peer": true,
|
|
12538
12458
|
"engines": {
|
|
12539
12459
|
"node": ">=0.10.0"
|
|
12540
12460
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/testinglibrary",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.101-n18-experimental",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
},
|
|
15
15
|
"exports": {
|
|
16
16
|
".": "./build/index.js",
|
|
17
|
-
"./decorators": "./build/decorators.js",
|
|
18
17
|
"./helpers": "./build/core/playwright/helpers/auth/index.js",
|
|
19
|
-
"./DataGenerator": "./build/core/dataGenerator/DataGenerator.js"
|
|
18
|
+
"./DataGenerator": "./build/core/dataGenerator/DataGenerator.js",
|
|
19
|
+
"./thirdPartyHelper": "./build/core/playwright/helpers/thirdPartyLib.js"
|
|
20
20
|
},
|
|
21
21
|
"keywords": [],
|
|
22
22
|
"author": "",
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
"fast-glob": "3.3.1",
|
|
36
36
|
"jest": "29.6.2",
|
|
37
37
|
"jest-environment-jsdom": "29.6.2",
|
|
38
|
-
"jsonpath": "1.1.1",
|
|
39
38
|
"msw": "1.2.3",
|
|
40
39
|
"playwright": "1.53.2",
|
|
41
40
|
"playwright-bdd": "8.3.1",
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = mergeAbortedTestsIntoLastRun;
|
|
8
|
-
var _fs = _interopRequireDefault(require("fs"));
|
|
9
|
-
var _path = _interopRequireDefault(require("path"));
|
|
10
|
-
var _logger = require("../../../utils/logger");
|
|
11
|
-
var _fileUtils = require("../../../utils/fileUtils");
|
|
12
|
-
function mergeAbortedTestsIntoLastRun() {
|
|
13
|
-
let projectName = 'chromium',
|
|
14
|
-
resultsFile = _path.default.join(process.cwd(), 'uat', 'test-results', 'playwright-test-results.json'),
|
|
15
|
-
lastRunFile = _path.default.join(process.cwd(), 'uat', 'test-results', '.last-run.json');
|
|
16
|
-
try {
|
|
17
|
-
if (!_fs.default.existsSync(resultsFile)) {
|
|
18
|
-
_logger.Logger.log(_logger.Logger.FAILURE_TYPE, `No test results found at ${resultsFile}, skipping .last-run update.`);
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
let report;
|
|
22
|
-
try {
|
|
23
|
-
report = JSON.parse(_fs.default.readFileSync(resultsFile, 'utf-8'));
|
|
24
|
-
} catch (e) {
|
|
25
|
-
_logger.Logger.log(_logger.Logger.FAILURE_TYPE, `Failed to parse results file: ${resultsFile}`);
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
28
|
-
const abortedTests = new Set();
|
|
29
|
-
const isAbortedSpec = spec => {
|
|
30
|
-
const tags = Array.isArray(spec.tags) ? spec.tags : [];
|
|
31
|
-
// If no test satisfies all three, it returns false
|
|
32
|
-
return spec.tests.some(test => !tags.includes('skip') && test.projectName === projectName && test.status === 'skipped');
|
|
33
|
-
};
|
|
34
|
-
const traverseSuites = suite => {
|
|
35
|
-
if (suite.suites) {
|
|
36
|
-
for (const child of suite.suites) {
|
|
37
|
-
traverseSuites(child);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
if (suite.specs) {
|
|
41
|
-
for (const spec of suite.specs) {
|
|
42
|
-
if (isAbortedSpec(spec)) {
|
|
43
|
-
abortedTests.add(spec.id);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
if (Array.isArray(report.suites)) {
|
|
49
|
-
for (const suite of report.suites) {
|
|
50
|
-
traverseSuites(suite);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
let lastRunData = {
|
|
54
|
-
status: 'passed',
|
|
55
|
-
failedTests: []
|
|
56
|
-
};
|
|
57
|
-
if (_fs.default.existsSync(lastRunFile)) {
|
|
58
|
-
try {
|
|
59
|
-
const parsed = JSON.parse(_fs.default.readFileSync(lastRunFile, 'utf-8'));
|
|
60
|
-
lastRunData.status = parsed.status || lastRunData.status;
|
|
61
|
-
lastRunData.failedTests = Array.isArray(parsed.failedTests) ? parsed.failedTests : [];
|
|
62
|
-
} catch (e) {
|
|
63
|
-
_logger.Logger.log(_logger.Logger.FAILURE_TYPE, `Failed to parse existing last-run file: ${lastRunFile}. Rebuilding.`);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// Merge existing failed tests + aborted tests
|
|
68
|
-
const failedSet = new Set(lastRunData.failedTests);
|
|
69
|
-
for (const id of abortedTests) {
|
|
70
|
-
failedSet.add(id);
|
|
71
|
-
}
|
|
72
|
-
lastRunData.failedTests = [...failedSet];
|
|
73
|
-
lastRunData.status = failedSet.size > 0 ? 'failed' : lastRunData.status;
|
|
74
|
-
(0, _fileUtils.writeFileContents)(lastRunFile, JSON.stringify(lastRunData, null, 2));
|
|
75
|
-
_logger.Logger.log(_logger.Logger.INFO_TYPE, `Updated → → → ${abortedTests.size} aborted tests in .last-run.json file`);
|
|
76
|
-
return lastRunData;
|
|
77
|
-
} catch (err) {
|
|
78
|
-
_logger.Logger.log(_logger.Logger.FAILURE_TYPE, `Error updating .last-run.json: ${err.message}`);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
<html><head><meta charset="utf-8"/><title>Unit Report</title><style type="text/css">html,
|
|
2
|
-
body {
|
|
3
|
-
font-family: Arial, Helvetica, sans-serif;
|
|
4
|
-
font-size: 1rem;
|
|
5
|
-
margin: 0;
|
|
6
|
-
padding: 0;
|
|
7
|
-
color: #333;
|
|
8
|
-
}
|
|
9
|
-
body {
|
|
10
|
-
padding: 2rem 1rem;
|
|
11
|
-
font-size: 0.85rem;
|
|
12
|
-
}
|
|
13
|
-
.jesthtml-content {
|
|
14
|
-
margin: 0 auto;
|
|
15
|
-
max-width: 70rem;
|
|
16
|
-
}
|
|
17
|
-
header {
|
|
18
|
-
display: flex;
|
|
19
|
-
align-items: center;
|
|
20
|
-
}
|
|
21
|
-
#title {
|
|
22
|
-
margin: 0;
|
|
23
|
-
flex-grow: 1;
|
|
24
|
-
}
|
|
25
|
-
#logo {
|
|
26
|
-
height: 4rem;
|
|
27
|
-
}
|
|
28
|
-
#timestamp {
|
|
29
|
-
color: #777;
|
|
30
|
-
margin-top: 0.5rem;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/** SUMMARY */
|
|
34
|
-
#summary {
|
|
35
|
-
color: #333;
|
|
36
|
-
margin: 2rem 0;
|
|
37
|
-
display: flex;
|
|
38
|
-
font-family: monospace;
|
|
39
|
-
font-size: 1rem;
|
|
40
|
-
}
|
|
41
|
-
#summary > div {
|
|
42
|
-
margin-right: 2rem;
|
|
43
|
-
background: #eee;
|
|
44
|
-
padding: 1rem;
|
|
45
|
-
min-width: 15rem;
|
|
46
|
-
}
|
|
47
|
-
#summary > div:last-child {
|
|
48
|
-
margin-right: 0;
|
|
49
|
-
}
|
|
50
|
-
@media only screen and (max-width: 720px) {
|
|
51
|
-
#summary {
|
|
52
|
-
flex-direction: column;
|
|
53
|
-
}
|
|
54
|
-
#summary > div {
|
|
55
|
-
margin-right: 0;
|
|
56
|
-
margin-top: 2rem;
|
|
57
|
-
}
|
|
58
|
-
#summary > div:first-child {
|
|
59
|
-
margin-top: 0;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.summary-total {
|
|
64
|
-
font-weight: bold;
|
|
65
|
-
margin-bottom: 0.5rem;
|
|
66
|
-
}
|
|
67
|
-
.summary-passed {
|
|
68
|
-
color: #4f8a10;
|
|
69
|
-
border-left: 0.4rem solid #4f8a10;
|
|
70
|
-
padding-left: 0.5rem;
|
|
71
|
-
}
|
|
72
|
-
.summary-failed,
|
|
73
|
-
.summary-obsolete-snapshots {
|
|
74
|
-
color: #d8000c;
|
|
75
|
-
border-left: 0.4rem solid #d8000c;
|
|
76
|
-
padding-left: 0.5rem;
|
|
77
|
-
}
|
|
78
|
-
.summary-pending {
|
|
79
|
-
color: #9f6000;
|
|
80
|
-
border-left: 0.4rem solid #9f6000;
|
|
81
|
-
padding-left: 0.5rem;
|
|
82
|
-
}
|
|
83
|
-
.summary-empty {
|
|
84
|
-
color: #999;
|
|
85
|
-
border-left: 0.4rem solid #999;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.test-result {
|
|
89
|
-
padding: 1rem;
|
|
90
|
-
margin-bottom: 0.25rem;
|
|
91
|
-
}
|
|
92
|
-
.test-result:last-child {
|
|
93
|
-
border: 0;
|
|
94
|
-
}
|
|
95
|
-
.test-result.passed {
|
|
96
|
-
background-color: #dff2bf;
|
|
97
|
-
color: #4f8a10;
|
|
98
|
-
}
|
|
99
|
-
.test-result.failed {
|
|
100
|
-
background-color: #ffbaba;
|
|
101
|
-
color: #d8000c;
|
|
102
|
-
}
|
|
103
|
-
.test-result.pending {
|
|
104
|
-
background-color: #ffdf61;
|
|
105
|
-
color: #9f6000;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.test-info {
|
|
109
|
-
display: flex;
|
|
110
|
-
justify-content: space-between;
|
|
111
|
-
}
|
|
112
|
-
.test-suitename {
|
|
113
|
-
width: 20%;
|
|
114
|
-
text-align: left;
|
|
115
|
-
font-weight: bold;
|
|
116
|
-
word-break: break-word;
|
|
117
|
-
}
|
|
118
|
-
.test-title {
|
|
119
|
-
width: 40%;
|
|
120
|
-
text-align: left;
|
|
121
|
-
font-style: italic;
|
|
122
|
-
}
|
|
123
|
-
.test-status {
|
|
124
|
-
width: 20%;
|
|
125
|
-
text-align: right;
|
|
126
|
-
}
|
|
127
|
-
.test-duration {
|
|
128
|
-
width: 10%;
|
|
129
|
-
text-align: right;
|
|
130
|
-
font-size: 0.75rem;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.failureMessages {
|
|
134
|
-
padding: 0 1rem;
|
|
135
|
-
margin-top: 1rem;
|
|
136
|
-
border-top: 1px dashed #d8000c;
|
|
137
|
-
}
|
|
138
|
-
.failureMessages.suiteFailure {
|
|
139
|
-
border-top: none;
|
|
140
|
-
}
|
|
141
|
-
.failureMsg {
|
|
142
|
-
white-space: pre-wrap;
|
|
143
|
-
white-space: -moz-pre-wrap;
|
|
144
|
-
white-space: -pre-wrap;
|
|
145
|
-
white-space: -o-pre-wrap;
|
|
146
|
-
word-wrap: break-word;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.suite-container {
|
|
150
|
-
margin-bottom: 2rem;
|
|
151
|
-
}
|
|
152
|
-
.suite-container > input[type="checkbox"] {
|
|
153
|
-
position: absolute;
|
|
154
|
-
left: -100vw;
|
|
155
|
-
}
|
|
156
|
-
.suite-container label {
|
|
157
|
-
display: block;
|
|
158
|
-
}
|
|
159
|
-
.suite-container .suite-tests {
|
|
160
|
-
overflow-y: hidden;
|
|
161
|
-
height: 0;
|
|
162
|
-
}
|
|
163
|
-
.suite-container > input[type="checkbox"]:checked ~ .suite-tests {
|
|
164
|
-
height: auto;
|
|
165
|
-
overflow: visible;
|
|
166
|
-
}
|
|
167
|
-
.suite-info {
|
|
168
|
-
padding: 1rem;
|
|
169
|
-
background-color: #eee;
|
|
170
|
-
color: #777;
|
|
171
|
-
display: flex;
|
|
172
|
-
align-items: center;
|
|
173
|
-
margin-bottom: 0.25rem;
|
|
174
|
-
}
|
|
175
|
-
.suite-info:hover {
|
|
176
|
-
background-color: #ddd;
|
|
177
|
-
cursor: pointer;
|
|
178
|
-
}
|
|
179
|
-
.suite-info .suite-path {
|
|
180
|
-
word-break: break-all;
|
|
181
|
-
flex-grow: 1;
|
|
182
|
-
font-family: monospace;
|
|
183
|
-
font-size: 1rem;
|
|
184
|
-
}
|
|
185
|
-
.suite-info .suite-time {
|
|
186
|
-
margin-left: 0.5rem;
|
|
187
|
-
padding: 0.2rem 0.3rem;
|
|
188
|
-
font-size: 0.75rem;
|
|
189
|
-
}
|
|
190
|
-
.suite-info .suite-time.warn {
|
|
191
|
-
background-color: #d8000c;
|
|
192
|
-
color: #fff;
|
|
193
|
-
}
|
|
194
|
-
.suite-info:before {
|
|
195
|
-
content: "\2303";
|
|
196
|
-
display: inline-block;
|
|
197
|
-
margin-right: 0.5rem;
|
|
198
|
-
transform: rotate(0deg);
|
|
199
|
-
}
|
|
200
|
-
.suite-container > input[type="checkbox"]:checked ~ label .suite-info:before {
|
|
201
|
-
transform: rotate(180deg);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
/* CONSOLE LOGS */
|
|
205
|
-
.suite-consolelog {
|
|
206
|
-
margin-bottom: 0.25rem;
|
|
207
|
-
padding: 1rem;
|
|
208
|
-
background-color: #efefef;
|
|
209
|
-
}
|
|
210
|
-
.suite-consolelog-header {
|
|
211
|
-
font-weight: bold;
|
|
212
|
-
}
|
|
213
|
-
.suite-consolelog-item {
|
|
214
|
-
padding: 0.5rem;
|
|
215
|
-
}
|
|
216
|
-
.suite-consolelog-item pre {
|
|
217
|
-
margin: 0.5rem 0;
|
|
218
|
-
white-space: pre-wrap;
|
|
219
|
-
white-space: -moz-pre-wrap;
|
|
220
|
-
white-space: -pre-wrap;
|
|
221
|
-
white-space: -o-pre-wrap;
|
|
222
|
-
word-wrap: break-word;
|
|
223
|
-
}
|
|
224
|
-
.suite-consolelog-item-origin {
|
|
225
|
-
color: #777;
|
|
226
|
-
font-weight: bold;
|
|
227
|
-
}
|
|
228
|
-
.suite-consolelog-item-message {
|
|
229
|
-
color: #000;
|
|
230
|
-
font-size: 1rem;
|
|
231
|
-
padding: 0 0.5rem;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
/* OBSOLETE SNAPSHOTS */
|
|
235
|
-
.suite-obsolete-snapshots {
|
|
236
|
-
margin-bottom: 0.25rem;
|
|
237
|
-
padding: 1rem;
|
|
238
|
-
background-color: #ffbaba;
|
|
239
|
-
color: #d8000c;
|
|
240
|
-
}
|
|
241
|
-
.suite-obsolete-snapshots-header {
|
|
242
|
-
font-weight: bold;
|
|
243
|
-
}
|
|
244
|
-
.suite-obsolete-snapshots-item {
|
|
245
|
-
padding: 0.5rem;
|
|
246
|
-
}
|
|
247
|
-
.suite-obsolete-snapshots-item pre {
|
|
248
|
-
margin: 0.5rem 0;
|
|
249
|
-
white-space: pre-wrap;
|
|
250
|
-
white-space: -moz-pre-wrap;
|
|
251
|
-
white-space: -pre-wrap;
|
|
252
|
-
white-space: -o-pre-wrap;
|
|
253
|
-
word-wrap: break-word;
|
|
254
|
-
}
|
|
255
|
-
.suite-obsolete-snapshots-item-message {
|
|
256
|
-
color: #000;
|
|
257
|
-
font-size: 1rem;
|
|
258
|
-
padding: 0 0.5rem;
|
|
259
|
-
}
|
|
260
|
-
</style></head><body><div class="jesthtml-content"><header><h1 id="title">Unit Report</h1></header><div id="metadata-container"><div id="timestamp">Started: 2025-11-12 18:33:34</div><div id="summary"><div id="suite-summary"><div class="summary-total">Suites (13)</div><div class="summary-passed ">13 passed</div><div class="summary-failed summary-empty">0 failed</div><div class="summary-pending summary-empty">0 pending</div></div><div id="test-summary"><div class="summary-total">Tests (46)</div><div class="summary-passed ">46 passed</div><div class="summary-failed summary-empty">0 failed</div><div class="summary-pending summary-empty">0 pending</div></div></div></div><div id="suite-1" class="suite-container"><input id="collapsible-0" type="checkbox" class="toggle" checked="checked"/><label for="collapsible-0"><div class="suite-info"><div class="suite-path">/Users/muthu-19817/git/testing-framework/src/test/core/playwright/__tests__/tagProcessor.test.js</div><div class="suite-time">1.171s</div></div></label><div class="suite-tests"><div class="test-result passed"><div class="test-info"><div class="test-suitename">TagProcessor</div><div class="test-title">should return tagArgs if no edition is provided</div><div class="test-status">passed</div><div class="test-duration">0.009s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">TagProcessor</div><div class="test-title">should handle a single edition with <= operator</div><div class="test-status">passed</div><div class="test-duration">0.001s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">TagProcessor</div><div class="test-title">should handle a single edition with >= operator</div><div class="test-status">passed</div><div class="test-duration">0.001s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">TagProcessor</div><div class="test-title">should handle a single edition with < operator</div><div class="test-status">passed</div><div class="test-duration">0.001s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">TagProcessor</div><div class="test-title">should handle a single edition with > operator</div><div class="test-status">passed</div><div class="test-duration">0s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">TagProcessor</div><div class="test-title">should handle a single edition with no operator</div><div class="test-status">passed</div><div class="test-duration">0s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">TagProcessor</div><div class="test-title">should log a message if edition is not found</div><div class="test-status">passed</div><div class="test-duration">0.002s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">TagProcessor</div><div class="test-title">should handle multiple editions</div><div class="test-status">passed</div><div class="test-duration">0.001s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">TagProcessor</div><div class="test-title">should build tags correctly when tags are empty</div><div class="test-status">passed</div><div class="test-duration">0s</div></div></div></div></div><div id="suite-2" class="suite-container"><input id="collapsible-1" type="checkbox" class="toggle" checked="checked"/><label for="collapsible-1"><div class="suite-info"><div class="suite-path">/Users/muthu-19817/git/testing-framework/src/test/core/playwright/helpers/__tests__/additionalProfiles.test.js</div><div class="suite-time">1.606s</div></div></label><div class="suite-tests"><div class="test-result passed"><div class="test-info"><div class="test-suitename">additionalProfiles</div><div class="test-title">should return empty object when no additional profile tags are present</div><div class="test-status">passed</div><div class="test-duration">0.002s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">additionalProfiles</div><div class="test-title">should return additional profile actors when additional profile tags and editionInfo are present</div><div class="test-status">passed</div><div class="test-duration">0.001s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">additionalProfiles</div><div class="test-title">should return additional profile actors when all actor details are present</div><div class="test-status">passed</div><div class="test-duration">0.001s</div></div></div></div></div><div id="suite-3" class="suite-container"><input id="collapsible-2" type="checkbox" class="toggle" checked="checked"/><label for="collapsible-2"><div class="suite-info"><div class="suite-path">/Users/muthu-19817/git/testing-framework/src/test/core/playwright/helpers/__tests__/getUsers_ListOfActors.test.js</div><div class="suite-time">1.623s</div></div></label><div class="suite-tests"><div class="test-result passed"><div class="test-info"><div class="test-suitename">getListOfActors</div><div class="test-title">throws an error when config file cannot be loaded</div><div class="test-status">passed</div><div class="test-duration">0.045s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">getListOfActors</div><div class="test-title">throws an error when beta feature config does not exist</div><div class="test-status">passed</div><div class="test-duration">0.006s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">getListOfActors</div><div class="test-title">loads main configuration when betaFeature is not provided and main config exists</div><div class="test-status">passed</div><div class="test-duration">0.001s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">getListOfActors</div><div class="test-title">falls back to default configuration if main config file does not exist</div><div class="test-status">passed</div><div class="test-duration">0s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">getListOfActors</div><div class="test-title">loads beta feature configuration when betaFeature is provided</div><div class="test-status">passed</div><div class="test-duration">0s</div></div></div></div></div><div id="suite-4" class="suite-container"><input id="collapsible-3" type="checkbox" class="toggle" checked="checked"/><label for="collapsible-3"><div class="suite-info"><div class="suite-path">/Users/muthu-19817/git/testing-framework/src/test/core/playwright/helpers/__tests__/configFileNameProvider.test.js</div><div class="suite-time">1.593s</div></div></label><div class="suite-tests"><div class="test-result passed"><div class="test-info"><div class="test-suitename">getUATFileName</div><div class="test-title">should return pipeline-matched config path when file exists</div><div class="test-status">passed</div><div class="test-duration">0.003s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">getUATFileName</div><div class="test-title">should use default stage and mode when not provided</div><div class="test-status">passed</div><div class="test-duration">0s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">getUATFileName</div><div class="test-title">should return the default config files for pipeline matched files not exists</div><div class="test-status">passed</div><div class="test-duration">0.001s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">getEnvConfigFilePath</div><div class="test-title">should return conf file path when file exists</div><div class="test-status">passed</div><div class="test-duration">0s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">getEnvConfigFilePath</div><div class="test-title">should return default path when file does not exist</div><div class="test-status">passed</div><div class="test-duration">0.001s</div></div></div></div></div><div id="suite-5" class="suite-container"><input id="collapsible-4" type="checkbox" class="toggle" checked="checked"/><label for="collapsible-4"><div class="suite-info"><div class="suite-path">/Users/muthu-19817/git/testing-framework/src/test/core/playwright/helpers/__tests__/customFixturesHelper.test.js</div><div class="suite-time">1.59s</div></div></label><div class="suite-tests"><div class="test-result passed"><div class="test-info"><div class="test-suitename">getCustomAccountDetails</div><div class="test-title">returns selected user when any tag info is present</div><div class="test-status">passed</div><div class="test-duration">0.008s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">getCustomAccountDetails</div><div class="test-title">logs and returns undefined if getCustomAccountDetails function throws</div><div class="test-status">passed</div><div class="test-duration">0s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">getCustomAccountDetails</div><div class="test-title">returns default actor when no tag info is not provided</div><div class="test-status">passed</div><div class="test-duration">0.001s</div></div></div></div></div><div id="suite-6" class="suite-container"><input id="collapsible-5" type="checkbox" class="toggle" checked="checked"/><label for="collapsible-5"><div class="suite-info"><div class="suite-path">/Users/muthu-19817/git/testing-framework/src/test/core/playwright/configuration/__tests__/Configuration.test.js</div><div class="suite-time">0.133s</div></div></label><div class="suite-tests"><div class="test-result passed"><div class="test-info"><div class="test-suitename">Configuration Class</div><div class="test-title">should add new key-value pair to the configuration</div><div class="test-status">passed</div><div class="test-duration">0.002s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">Configuration Class</div><div class="test-title">should combine configurations correctly using addAll</div><div class="test-status">passed</div><div class="test-duration">0.004s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">Configuration Class</div><div class="test-title">should return correct value for a given key</div><div class="test-status">passed</div><div class="test-duration">0.001s</div></div></div></div></div><div id="suite-7" class="suite-container"><input id="collapsible-6" type="checkbox" class="toggle" checked="checked"/><label for="collapsible-6"><div class="suite-info"><div class="suite-path">/Users/muthu-19817/git/testing-framework/src/test/core/playwright/helpers/__tests__/configPathResolver.test.js</div><div class="suite-time">0.247s</div></div></label><div class="suite-tests"><div class="test-result passed"><div class="test-info"><div class="test-suitename">getConfigPath</div><div class="test-title">should return correct stageConfig when mapping exists</div><div class="test-status">passed</div><div class="test-duration">0.002s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">getConfigPath</div><div class="test-title">should log failure when stage mapping does not exist</div><div class="test-status">passed</div><div class="test-duration">0.001s</div></div></div></div></div><div id="suite-8" class="suite-container"><input id="collapsible-7" type="checkbox" class="toggle" checked="checked"/><label for="collapsible-7"><div class="suite-info"><div class="suite-path">/Users/muthu-19817/git/testing-framework/src/test/core/playwright/buildInFixtures/__tests__/executionContext.test.js</div><div class="suite-time">0.271s</div></div></label><div class="suite-tests"><div class="test-result passed"><div class="test-info"><div class="test-suitename">executionContext</div><div class="test-title">should pass actorInfo with details from getCustomAccountDetails to use</div><div class="test-status">passed</div><div class="test-duration">0.001s</div></div></div></div></div><div id="suite-9" class="suite-container"><input id="collapsible-8" type="checkbox" class="toggle" checked="checked"/><label for="collapsible-8"><div class="suite-info"><div class="suite-path">/Users/muthu-19817/git/testing-framework/examples/src/__tests__/App.test.js</div><div class="suite-time">0.18s</div></div></label><div class="suite-tests"><div class="test-result passed"><div class="test-info"><div class="test-suitename">example functions</div><div class="test-title">add function adds two numbers correctly</div><div class="test-status">passed</div><div class="test-duration">0s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">example functions</div><div class="test-title">greet function greets a person with their name</div><div class="test-status">passed</div><div class="test-duration">0s</div></div></div></div></div><div id="suite-10" class="suite-container"><input id="collapsible-9" type="checkbox" class="toggle" checked="checked"/><label for="collapsible-9"><div class="suite-info"><div class="suite-path">/Users/muthu-19817/git/testing-framework/src/test/core/playwright/helpers/__tests__/fileMutex.test.js</div><div class="suite-time">2.278s</div></div></label><div class="suite-tests"><div class="test-result passed"><div class="test-info"><div class="test-suitename">FileMutex > acquire</div><div class="test-title">should create the lock file if it does not exist</div><div class="test-status">passed</div><div class="test-duration">0.039s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">FileMutex > acquire</div><div class="test-title">should wait for lock file deletion if it exists</div><div class="test-status">passed</div><div class="test-duration">0.007s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">FileMutex > acquire</div><div class="test-title">should reject if watch timeout exceeds</div><div class="test-status">passed</div><div class="test-duration">1.018s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">FileMutex > release</div><div class="test-title">should delete the lock file if it exists</div><div class="test-status">passed</div><div class="test-duration">0s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">FileMutex > release</div><div class="test-title">should release lock by deleting lock file</div><div class="test-status">passed</div><div class="test-duration">0s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">FileMutex > release</div><div class="test-title">should not attempt to delete the lock file if it does not exist</div><div class="test-status">passed</div><div class="test-duration">0.001s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">FileMutex > release</div><div class="test-title">should log an error if deleting the lock file fails</div><div class="test-status">passed</div><div class="test-duration">0.004s</div></div></div></div></div><div id="suite-11" class="suite-container"><input id="collapsible-10" type="checkbox" class="toggle" checked="checked"/><label for="collapsible-10"><div class="suite-info"><div class="suite-path">/Users/muthu-19817/git/testing-framework/src/test/core/playwright/runner/__tests__/RunnerHelper.test.js</div><div class="suite-time">0.689s</div></div></label><div class="suite-tests"><div class="test-result passed"><div class="test-info"><div class="test-suitename">RunnerHelper > createRunner</div><div class="test-title">should throw error on invalid runner type</div><div class="test-status">passed</div><div class="test-duration">0.003s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">RunnerHelper > createRunner</div><div class="test-title">should create a valid runner class</div><div class="test-status">passed</div><div class="test-duration">0.001s</div></div></div></div></div><div id="suite-12" class="suite-container"><input id="collapsible-11" type="checkbox" class="toggle" checked="checked"/><label for="collapsible-11"><div class="suite-info"><div class="suite-path">/Users/muthu-19817/git/testing-framework/src/test/core/playwright/__tests__/validateFeature.test.js</div><div class="suite-time">2.306s</div></div></label><div class="suite-tests"><div class="test-result passed"><div class="test-info"><div class="test-suitename">validateFeatureFiles</div><div class="test-title">runPreprocessing with correct arguments and log success</div><div class="test-status">passed</div><div class="test-duration">0.007s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">validateFeatureFiles</div><div class="test-title">runPreprocessing with playwright conf</div><div class="test-status">passed</div><div class="test-duration">0.001s</div></div></div><div class="test-result passed"><div class="test-info"><div class="test-suitename">validateFeatureFiles</div><div class="test-title">error when runPreprocessing fails</div><div class="test-status">passed</div><div class="test-duration">0s</div></div></div></div></div><div id="suite-13" class="suite-container"><input id="collapsible-12" type="checkbox" class="toggle" checked="checked"/><label for="collapsible-12"><div class="suite-info"><div class="suite-path">/Users/muthu-19817/git/testing-framework/src/test/core/playwright/runner/__tests__/SpawnRunner.test.js</div><div class="suite-time">1.111s</div></div></label><div class="suite-tests"><div class="test-result passed"><div class="test-info"><div class="test-suitename">SpawnRunner > run</div><div class="test-title">should call runPreprocessing when bddMode is true</div><div class="test-status">passed</div><div class="test-duration">0.001s</div></div></div></div></div></div></body></html>
|