@zohodesk/testinglibrary 3.2.11 → 3.2.12
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {createBdd } from '@zohodesk/testinglibrary';
|
|
2
2
|
import { executeRpcRequest , entityIdReConstructor } from '../helpers/rpcRequestHelper';
|
|
3
|
-
import jp from 'jsonpath';
|
|
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 = jp.query(searchObj, jsonPath);
|
|
57
|
+
const result = null;//jp.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}`);
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/testinglibrary",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.12",
|
|
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.12",
|
|
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.4.94-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",
|
|
@@ -4150,6 +4151,41 @@
|
|
|
4150
4151
|
"node": ">=10.0.0"
|
|
4151
4152
|
}
|
|
4152
4153
|
},
|
|
4154
|
+
"node_modules/@zohodesk/testinglibrary": {
|
|
4155
|
+
"version": "0.4.94-n18-experimental",
|
|
4156
|
+
"resolved": "file:zohodesk-testinglibrary-0.4.94-n18-experimental.tgz",
|
|
4157
|
+
"integrity": "sha512-j3qvzjwDOGWqBmq3giNwXHnl5wm7FoXnm0LrK5G13HWB1e+RGVL59Ilhno55ROfraoq8Iyvs2nn7v6Na9G3Tzg==",
|
|
4158
|
+
"hasInstallScript": true,
|
|
4159
|
+
"license": "ISC",
|
|
4160
|
+
"dependencies": {
|
|
4161
|
+
"@babel/code-frame": "7.27.1",
|
|
4162
|
+
"@babel/preset-react": "7.22.5",
|
|
4163
|
+
"@cucumber/cucumber": "11.3.0",
|
|
4164
|
+
"@playwright/test": "1.53.2",
|
|
4165
|
+
"@reportportal/agent-js-playwright": "5.1.11",
|
|
4166
|
+
"@testing-library/jest-dom": "5.11.9",
|
|
4167
|
+
"@testing-library/react": "11.2.7",
|
|
4168
|
+
"@testing-library/react-hooks": "7.0.2",
|
|
4169
|
+
"babel-jest": "29.6.2",
|
|
4170
|
+
"babel-plugin-transform-dynamic-import": "2.1.0",
|
|
4171
|
+
"fast-glob": "3.3.1",
|
|
4172
|
+
"jest": "29.6.2",
|
|
4173
|
+
"jest-environment-jsdom": "29.6.2",
|
|
4174
|
+
"jsonpath": "1.1.1",
|
|
4175
|
+
"msw": "1.2.3",
|
|
4176
|
+
"playwright": "1.53.2",
|
|
4177
|
+
"playwright-bdd": "8.3.1",
|
|
4178
|
+
"supports-color": "8.1.1"
|
|
4179
|
+
},
|
|
4180
|
+
"bin": {
|
|
4181
|
+
"ZDTestingFramework": "bin/cli.js"
|
|
4182
|
+
},
|
|
4183
|
+
"peerDependencies": {
|
|
4184
|
+
"eslint": "*",
|
|
4185
|
+
"react": "*",
|
|
4186
|
+
"react-dom": "*"
|
|
4187
|
+
}
|
|
4188
|
+
},
|
|
4153
4189
|
"node_modules/@zxing/text-encoding": {
|
|
4154
4190
|
"version": "0.9.0",
|
|
4155
4191
|
"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": "3.2.
|
|
3
|
+
"version": "3.2.12",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"@testing-library/jest-dom": "5.11.9",
|
|
31
31
|
"@testing-library/react": "11.2.7",
|
|
32
32
|
"@testing-library/react-hooks": "7.0.2",
|
|
33
|
+
"@zohodesk/testinglibrary": "file:zohodesk-testinglibrary-0.4.94-n18-experimental.tgz",
|
|
33
34
|
"babel-jest": "29.6.2",
|
|
34
35
|
"babel-plugin-transform-dynamic-import": "2.1.0",
|
|
35
36
|
"fast-glob": "3.3.1",
|
|
@@ -38,8 +39,8 @@
|
|
|
38
39
|
"jsonpath": "1.1.1",
|
|
39
40
|
"msw": "1.2.3",
|
|
40
41
|
"playwright": "1.53.2",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
42
|
+
"playwright-bdd": "8.3.1",
|
|
43
|
+
"supports-color": "8.1.1"
|
|
43
44
|
},
|
|
44
45
|
"bin": {
|
|
45
46
|
"ZDTestingFramework": "./bin/cli.js"
|
|
Binary file
|