@zohodesk/testinglibrary 3.2.2 → 3.2.3

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.
@@ -79,14 +79,14 @@ function getPlaywrightConfig() {
79
79
  outputDir: _path.default.join(process.cwd(), 'uat', '.features-smoke-gen'),
80
80
  uatPath: _path.default.join(process.cwd(), 'uat', 'smokeTest')
81
81
  });
82
- return {
82
+ return [{
83
83
  name: 'smokeTest',
84
84
  testDir: smokeTestDir,
85
85
  use: {
86
86
  ...commonConfig
87
87
  },
88
88
  dependencies: dependencies
89
- };
89
+ }];
90
90
  }
91
91
  const playwrightConfig = {
92
92
  testDir,
@@ -104,11 +104,11 @@ function getPlaywrightConfig() {
104
104
  testMatch: /.*\.setup\.js/,
105
105
  testDir: _path.default.join(process.cwd(), 'uat'),
106
106
  teardown: 'cleanup'
107
- }, smokeTestProject, {
107
+ }, ...smokeTestProject, {
108
108
  name: 'cleanup',
109
109
  testMatch: /.*\.teardown\.js/,
110
110
  testDir: _path.default.join(process.cwd(), 'uat')
111
- }, ...projects] : [...projects, smokeTestProject],
111
+ }, ...projects] : [...projects, ...smokeTestProject],
112
112
  ...uatConfig
113
113
  };
114
114
  return playwrightConfig;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@zohodesk/testinglibrary",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@zohodesk/testinglibrary",
9
- "version": "3.2.2",
9
+ "version": "3.2.3",
10
10
  "hasInstallScript": true,
11
11
  "license": "ISC",
12
12
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/testinglibrary",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {