@zohodesk/testinglibrary 0.1.8-stb-bdd-v16 → 0.1.8-stb-bdd-v18

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.
@@ -23,9 +23,16 @@ const {
23
23
  // In house BDD testing. so, use playwright test
24
24
  let base = _test.test;
25
25
  const buildInFixtures = (0, _builtInFixtures.default)(bddMode);
26
+ var $customFixtures = {};
27
+ if (!bddMode) {
28
+ $customFixtures = {
29
+ $tags: ({}, use) => use([])
30
+ };
31
+ }
26
32
  const test = exports.test = base.extend({
27
33
  ...buildInFixtures,
28
- ...userFixtures
34
+ ...userFixtures,
35
+ ...$customFixtures
29
36
  });
30
37
 
31
38
  // const { Given, When, Then } = createBdd();
@@ -36,7 +36,7 @@ const projects = (0, _configUtils.getProjects)({
36
36
  // const testDir = getTestDir(bddMode, process.cwd(), { featureFilesFolder, stepDefinitionsFolder });
37
37
  var testDir = _path.default.resolve(process.cwd(), 'uat', '.feature-gen');
38
38
  if (!bddMode) {
39
- testDir = _path.default.resolve(process.cwd(), 'uat', 'moudles', 'playwright-testcase');
39
+ testDir = _path.default.resolve(process.cwd(), 'uat', 'playwright-TestCase');
40
40
  }
41
41
  const testOptions = (0, _configUtils.getTestUseOptions)({
42
42
  trace,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/testinglibrary",
3
- "version": "0.1.8-stb-bdd-v13",
3
+ "version": "0.1.8-stb-bdd-v16",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
@@ -2333,9 +2333,9 @@
2333
2333
  "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA=="
2334
2334
  },
2335
2335
  "acorn": {
2336
- "version": "8.11.2",
2337
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
2338
- "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w=="
2336
+ "version": "8.11.3",
2337
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz",
2338
+ "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg=="
2339
2339
  },
2340
2340
  "acorn-globals": {
2341
2341
  "version": "7.0.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/testinglibrary",
3
- "version": "0.1.8-stb-bdd-v16",
3
+ "version": "0.1.8-stb-bdd-v18",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {
@@ -14,8 +14,9 @@
14
14
  },
15
15
  "exports": {
16
16
  ".": "./build/index.js",
17
- "./decorators": "./build/decorators.js"
17
+ "./decoraors": "./build/decorators.js"
18
18
  },
19
+ "type": "commonjs",
19
20
  "keywords": [],
20
21
  "author": "",
21
22
  "license": "ISC",
@@ -49,6 +50,7 @@
49
50
  "@babel/polyfill": "7.12.1",
50
51
  "@babel/preset-env": "7.22.15",
51
52
  "@babel/runtime": "7.22.15",
53
+ "acorn": "^8.11.3",
52
54
  "commander": "^11.0.0"
53
55
  }
54
56
  }