@zohodesk/testinglibrary 0.0.69-n20-experimental → 0.0.71-n20-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.
@@ -53,7 +53,6 @@ function getDefaultConfig() {
53
53
  testIdAttribute: 'data-testid',
54
54
  additionalPages: {},
55
55
  featureFilesFolder: 'feature-files',
56
- stepDefinitionsFolder: 'steps',
57
56
  testSetup: {},
58
57
  editionOrder: ['Free', 'Express', 'Standard', 'Professional', 'Enterprise']
59
58
  };
@@ -23,7 +23,8 @@ const {
23
23
  trace,
24
24
  video,
25
25
  testIdAttribute,
26
- viewport
26
+ viewport,
27
+ stepDefinitionsFolder
27
28
  } = uatConfig;
28
29
  function setupConfig() {
29
30
  const setupProject = new _Project.Project('setup');
@@ -38,7 +39,7 @@ function smokeTestConfig() {
38
39
  const smokeTestProject = new _Project.Project('smokeTest');
39
40
  const smokeTestDir = (0, _configUtils.getTestDir)(bddMode, {
40
41
  featureFilesFolder: _path.default.join(process.cwd(), _configConstants.default.TEST_SLICE_FOLDER, stage, 'smokeTest', '**', '*.feature'),
41
- stepDefinitionsFolder: _path.default.join(process.cwd(), _configConstants.default.TEST_SLICE_FOLDER, '**', '**', 'steps', '*.spec.js'),
42
+ stepDefinitionsFolder: _path.default.join(process.cwd(), _configConstants.default.TEST_SLICE_FOLDER, '**', '**', stepDefinitionsFolder, '*.spec.js'),
42
43
  outputDir: _path.default.join(process.cwd(), _configConstants.default.TEST_SLICE_FOLDER, stage, '.features-smoke-gen'),
43
44
  uatPath: _path.default.join(process.cwd(), _configConstants.default.TEST_SLICE_FOLDER, stage, 'smokeTest')
44
45
  });
@@ -29,7 +29,8 @@ const {
29
29
  customReporter,
30
30
  trace,
31
31
  video,
32
- testIdAttribute
32
+ testIdAttribute,
33
+ stepDefinitionsFolder
33
34
  } = uatConfig;
34
35
  const projects = (0, _configUtils.getProjects)({
35
36
  browsers,
@@ -64,7 +65,7 @@ const use = {
64
65
  };
65
66
  const testDir = (0, _configUtils.getTestDir)(bddMode, {
66
67
  featureFilesFolder: (0, _configUtils.getPathsForFeatureFiles)(process.cwd()),
67
- stepDefinitionsFolder: _path.default.join(process.cwd(), _configConstants.default.TEST_SLICE_FOLDER, '**', '**', 'steps', '*.spec.js'),
68
+ stepDefinitionsFolder: _path.default.join(process.cwd(), _configConstants.default.TEST_SLICE_FOLDER, '**', '**', stepDefinitionsFolder, '*.spec.js'),
68
69
  outputDir: _path.default.join(process.cwd(), _configConstants.default.TEST_SLICE_FOLDER, stage, '.features-gen'),
69
70
  uatPath: _path.default.join(process.cwd(), _configConstants.default.TEST_SLICE_FOLDER, stage)
70
71
  });
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@zohodesk/testinglibrary",
3
- "version": "0.0.69-n20-experimental",
3
+ "version": "0.0.71-n20-experimental",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@zohodesk/testinglibrary",
9
- "version": "0.0.69-n20-experimental",
9
+ "version": "0.0.71-n20-experimental",
10
10
  "hasInstallScript": true,
11
11
  "license": "ISC",
12
12
  "dependencies": {
@@ -3773,13 +3773,13 @@
3773
3773
  }
3774
3774
  },
3775
3775
  "node_modules/@napi-rs/wasm-runtime": {
3776
- "version": "1.1.4",
3777
- "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.4.tgz",
3778
- "integrity": "sha512-3NQNNgA1YSlJb/kMH1ildASP9HW7/7kYnRI2szWJaofaS1hWmbGI4H+d3+22aGzXXN9IJ+n+GiFVcGipJP18ow==",
3776
+ "version": "1.1.5",
3777
+ "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.5.tgz",
3778
+ "integrity": "sha512-AWPoBRJ9tsnVhor4sjO7rkni+7p+2IAEFj6cx06UgP10jkQHqay/36uRV/bFkgrh18D9vb4cr8Q0Pthskgzy+Q==",
3779
3779
  "license": "MIT",
3780
3780
  "optional": true,
3781
3781
  "dependencies": {
3782
- "@tybys/wasm-util": "^0.10.1"
3782
+ "@tybys/wasm-util": "^0.10.2"
3783
3783
  },
3784
3784
  "funding": {
3785
3785
  "type": "github",
@@ -4265,9 +4265,9 @@
4265
4265
  "peer": true
4266
4266
  },
4267
4267
  "node_modules/@types/node": {
4268
- "version": "25.9.2",
4269
- "resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.2.tgz",
4270
- "integrity": "sha512-G05zqtJhcDLb8uslf5EjCxXg9G1KQxiV8OS0R26IC//Eoyitzqe8z37I7cqvnZlrlSfgocQRfSn/AHBZJJFyGw==",
4268
+ "version": "25.9.3",
4269
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.3.tgz",
4270
+ "integrity": "sha512-603BddQMv3pUcr4U2dhujk83N2tTDVr/34wII2B6bJy6g+8WD6yUb11jszNs0gdi4PesVWl7ABt8nYMVpnLUcg==",
4271
4271
  "license": "MIT",
4272
4272
  "dependencies": {
4273
4273
  "undici-types": ">=7.24.0 <7.24.7"
@@ -5055,9 +5055,9 @@
5055
5055
  "license": "BSD-3-Clause"
5056
5056
  },
5057
5057
  "node_modules/acorn": {
5058
- "version": "8.16.0",
5059
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz",
5060
- "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==",
5058
+ "version": "8.17.0",
5059
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz",
5060
+ "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==",
5061
5061
  "license": "MIT",
5062
5062
  "bin": {
5063
5063
  "acorn": "bin/acorn"
@@ -5518,9 +5518,9 @@
5518
5518
  }
5519
5519
  },
5520
5520
  "node_modules/baseline-browser-mapping": {
5521
- "version": "2.10.34",
5522
- "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.34.tgz",
5523
- "integrity": "sha512-IMDedajPifLnHNY0X9n8hKxRTQ6/eTHwr5bDo04WnuqxyKw6LYtQywCuuqPZwhl3aBXMvQpJov42GLCwRRdQzw==",
5521
+ "version": "2.10.36",
5522
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.36.tgz",
5523
+ "integrity": "sha512-lVq/Df7LXlO79MVaaUHztSwWiG9oXoWHlgvNS51v8Dpd4+G4/VIy6qYePTw31nAVls33nUtnfezYeLkYAak9dg==",
5524
5524
  "license": "Apache-2.0",
5525
5525
  "bin": {
5526
5526
  "baseline-browser-mapping": "dist/cli.cjs"
@@ -5695,9 +5695,9 @@
5695
5695
  }
5696
5696
  },
5697
5697
  "node_modules/caniuse-lite": {
5698
- "version": "1.0.30001797",
5699
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001797.tgz",
5700
- "integrity": "sha512-l8xKG+gwAIExZGl9FrF7KUwuOmk6wbEPC9Xoy/RtnWv1XG0Q4LFlagaLpUv3Kiza3W/wm27zy0yWJEieYKAP6w==",
5698
+ "version": "1.0.30001799",
5699
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001799.tgz",
5700
+ "integrity": "sha512-hG1bReV+OUU+MOqK4t/ZWI0tZOyz3rqS9XuhOUz1cIcbwBKjOyJEJuw9ER5JuNyqxNk8u/JUVbGibBOL1yrjFw==",
5701
5701
  "funding": [
5702
5702
  {
5703
5703
  "type": "opencollective",
@@ -6623,9 +6623,9 @@
6623
6623
  "license": "MIT"
6624
6624
  },
6625
6625
  "node_modules/create-jest/node_modules/semver": {
6626
- "version": "7.8.2",
6627
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.2.tgz",
6628
- "integrity": "sha512-c8jsqUZm3omBOI66G90z1Dyw5z622G8oLG+omfsHBJf3CWQTlOcwOjvOG6wtiNfW6anKm/eA39LMwMtMez2TiQ==",
6626
+ "version": "7.8.4",
6627
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.4.tgz",
6628
+ "integrity": "sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==",
6629
6629
  "license": "ISC",
6630
6630
  "bin": {
6631
6631
  "semver": "bin/semver.js"
@@ -6996,9 +6996,9 @@
6996
6996
  }
6997
6997
  },
6998
6998
  "node_modules/electron-to-chromium": {
6999
- "version": "1.5.368",
7000
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.368.tgz",
7001
- "integrity": "sha512-7RckJJK4uESJF9PxvfMWd3TGqIiieUTG4HxnKaKuIpGbcr+r2ZEB3g2gAhCP3Fqm42vJSzLfgab9eva/C4/XVw==",
6999
+ "version": "1.5.372",
7000
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.372.tgz",
7001
+ "integrity": "sha512-M3yhbAlilnwqC8D21t28UCDGHyitShTmmLRU/H+b74P6Ski16Nb9HONYEaVpMj/pwC7BEo5B95FpjODLCWbtfA==",
7002
7002
  "license": "ISC"
7003
7003
  },
7004
7004
  "node_modules/emittery": {
@@ -7917,18 +7917,21 @@
7917
7917
  }
7918
7918
  },
7919
7919
  "node_modules/function.prototype.name": {
7920
- "version": "1.1.8",
7921
- "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.8.tgz",
7922
- "integrity": "sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==",
7920
+ "version": "1.2.0",
7921
+ "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.2.0.tgz",
7922
+ "integrity": "sha512-jObKIik1P2QjPHP5nz5BaOtUlfgS0fWo8IUByNXkM+o+02sJOi94em77GwJKQSJ3gfPHdgzLNrHc1uokV4P/ew==",
7923
7923
  "dev": true,
7924
7924
  "license": "MIT",
7925
7925
  "dependencies": {
7926
- "call-bind": "^1.0.8",
7927
- "call-bound": "^1.0.3",
7928
- "define-properties": "^1.2.1",
7926
+ "call-bind": "^1.0.9",
7927
+ "call-bound": "^1.0.4",
7928
+ "es-define-property": "^1.0.1",
7929
+ "es-errors": "^1.3.0",
7929
7930
  "functions-have-names": "^1.2.3",
7930
- "hasown": "^2.0.2",
7931
- "is-callable": "^1.2.7"
7931
+ "has-property-descriptors": "^1.0.2",
7932
+ "hasown": "^2.0.4",
7933
+ "is-callable": "^1.2.7",
7934
+ "is-document.all": "^1.0.0"
7932
7935
  },
7933
7936
  "engines": {
7934
7937
  "node": ">= 0.4"
@@ -8147,9 +8150,9 @@
8147
8150
  "license": "ISC"
8148
8151
  },
8149
8152
  "node_modules/graphql": {
8150
- "version": "16.14.1",
8151
- "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.14.1.tgz",
8152
- "integrity": "sha512-cQOsSMS/IrDz82PVyRDvf/Q1F/bRbBVjJlh+xYOkI1qw2bWRvWGiWc+m2O0d6l4Bt1fyY+8kzJ8JFWGJqNeDBg==",
8153
+ "version": "16.14.2",
8154
+ "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.14.2.tgz",
8155
+ "integrity": "sha512-Chq1s4CY7jmh8gO2qvLIJyfCDIN+EHLFW/9iShnp1z8FjBQMoodWP1kDC36VAMXXIvAjj4ARa7ntfAV2BrjsbA==",
8153
8156
  "license": "MIT",
8154
8157
  "engines": {
8155
8158
  "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0"
@@ -8610,6 +8613,22 @@
8610
8613
  "url": "https://github.com/sponsors/ljharb"
8611
8614
  }
8612
8615
  },
8616
+ "node_modules/is-document.all": {
8617
+ "version": "1.0.0",
8618
+ "resolved": "https://registry.npmjs.org/is-document.all/-/is-document.all-1.0.0.tgz",
8619
+ "integrity": "sha512-+XSoyS05OdBbhFuELhgTCpFNHkpBOJqtsZfUFFpe5QTw+9Sjbh8zitxhQkYAo6wV7e1Vb8cAPvpCk9jGam/82g==",
8620
+ "dev": true,
8621
+ "license": "MIT",
8622
+ "dependencies": {
8623
+ "call-bound": "^1.0.4"
8624
+ },
8625
+ "engines": {
8626
+ "node": ">= 0.4"
8627
+ },
8628
+ "funding": {
8629
+ "url": "https://github.com/sponsors/ljharb"
8630
+ }
8631
+ },
8613
8632
  "node_modules/is-extglob": {
8614
8633
  "version": "2.1.1",
8615
8634
  "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
@@ -8970,9 +8989,9 @@
8970
8989
  }
8971
8990
  },
8972
8991
  "node_modules/istanbul-lib-instrument/node_modules/semver": {
8973
- "version": "7.8.2",
8974
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.2.tgz",
8975
- "integrity": "sha512-c8jsqUZm3omBOI66G90z1Dyw5z622G8oLG+omfsHBJf3CWQTlOcwOjvOG6wtiNfW6anKm/eA39LMwMtMez2TiQ==",
8992
+ "version": "7.8.4",
8993
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.4.tgz",
8994
+ "integrity": "sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==",
8976
8995
  "license": "ISC",
8977
8996
  "bin": {
8978
8997
  "semver": "bin/semver.js"
@@ -9011,9 +9030,9 @@
9011
9030
  }
9012
9031
  },
9013
9032
  "node_modules/istanbul-lib-report/node_modules/semver": {
9014
- "version": "7.8.2",
9015
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.2.tgz",
9016
- "integrity": "sha512-c8jsqUZm3omBOI66G90z1Dyw5z622G8oLG+omfsHBJf3CWQTlOcwOjvOG6wtiNfW6anKm/eA39LMwMtMez2TiQ==",
9033
+ "version": "7.8.4",
9034
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.4.tgz",
9035
+ "integrity": "sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==",
9017
9036
  "license": "ISC",
9018
9037
  "bin": {
9019
9038
  "semver": "bin/semver.js"
@@ -10801,9 +10820,9 @@
10801
10820
  "license": "MIT"
10802
10821
  },
10803
10822
  "node_modules/jest-snapshot/node_modules/semver": {
10804
- "version": "7.8.2",
10805
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.2.tgz",
10806
- "integrity": "sha512-c8jsqUZm3omBOI66G90z1Dyw5z622G8oLG+omfsHBJf3CWQTlOcwOjvOG6wtiNfW6anKm/eA39LMwMtMez2TiQ==",
10823
+ "version": "7.8.4",
10824
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.4.tgz",
10825
+ "integrity": "sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==",
10807
10826
  "license": "ISC",
10808
10827
  "bin": {
10809
10828
  "semver": "bin/semver.js"
@@ -11826,9 +11845,9 @@
11826
11845
  "license": "MIT"
11827
11846
  },
11828
11847
  "node_modules/jest/node_modules/semver": {
11829
- "version": "7.8.2",
11830
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.2.tgz",
11831
- "integrity": "sha512-c8jsqUZm3omBOI66G90z1Dyw5z622G8oLG+omfsHBJf3CWQTlOcwOjvOG6wtiNfW6anKm/eA39LMwMtMez2TiQ==",
11848
+ "version": "7.8.4",
11849
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.4.tgz",
11850
+ "integrity": "sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==",
11832
11851
  "license": "ISC",
11833
11852
  "bin": {
11834
11853
  "semver": "bin/semver.js"
@@ -13649,14 +13668,14 @@
13649
13668
  }
13650
13669
  },
13651
13670
  "node_modules/side-channel": {
13652
- "version": "1.1.0",
13653
- "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz",
13654
- "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==",
13671
+ "version": "1.1.1",
13672
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz",
13673
+ "integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==",
13655
13674
  "license": "MIT",
13656
13675
  "dependencies": {
13657
13676
  "es-errors": "^1.3.0",
13658
- "object-inspect": "^1.13.3",
13659
- "side-channel-list": "^1.0.0",
13677
+ "object-inspect": "^1.13.4",
13678
+ "side-channel-list": "^1.0.1",
13660
13679
  "side-channel-map": "^1.0.1",
13661
13680
  "side-channel-weakmap": "^1.0.2"
13662
13681
  },
@@ -14310,9 +14329,9 @@
14310
14329
  }
14311
14330
  },
14312
14331
  "node_modules/ts-jest/node_modules/semver": {
14313
- "version": "7.8.2",
14314
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.2.tgz",
14315
- "integrity": "sha512-c8jsqUZm3omBOI66G90z1Dyw5z622G8oLG+omfsHBJf3CWQTlOcwOjvOG6wtiNfW6anKm/eA39LMwMtMez2TiQ==",
14332
+ "version": "7.8.4",
14333
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.4.tgz",
14334
+ "integrity": "sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==",
14316
14335
  "dev": true,
14317
14336
  "license": "ISC",
14318
14337
  "bin": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/testinglibrary",
3
- "version": "0.0.69-n20-experimental",
3
+ "version": "0.0.71-n20-experimental",
4
4
  "main": "./build/index.js",
5
5
  "scripts": {
6
6
  "postinstall": "node bin/postinstall.js",