@serenity-js/webdriverio 3.15.1 → 3.16.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.16.1](https://github.com/serenity-js/serenity-js/compare/v3.16.0...v3.16.1) (2024-02-03)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **core:** build with TypeScript 5.2 ([2f261ee](https://github.com/serenity-js/serenity-js/commit/2f261ee92ae4d75b1d5b576d30083c8ecacbcb95))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.16.0](https://github.com/serenity-js/serenity-js/compare/v3.15.1...v3.16.0) (2024-02-01)
18
+
19
+ **Note:** Version bump only for package @serenity-js/webdriverio
20
+
21
+
22
+
23
+
24
+
6
25
  ## [3.15.1](https://github.com/serenity-js/serenity-js/compare/v3.15.0...v3.15.1) (2024-01-19)
7
26
 
8
27
  **Note:** Version bump only for package @serenity-js/webdriverio
@@ -1,4 +1,4 @@
1
- /// <reference types="node" resolution-mode="require"/>
1
+ /// <reference types="node" />
2
2
  import 'webdriverio';
3
3
  import type { Serenity } from '@serenity-js/core';
4
4
  import type { ModuleLoader } from '@serenity-js/core/lib/io/index.js';
@@ -1,4 +1,4 @@
1
- /// <reference types="node" resolution-mode="require"/>
1
+ /// <reference types="node" />
2
2
  import type { Serenity } from '@serenity-js/core';
3
3
  import type { ModuleLoader, Path } from '@serenity-js/core/lib/io/index.js';
4
4
  import type { Capabilities } from '@wdio/types';
@@ -1,4 +1,4 @@
1
- /// <reference types="node" resolution-mode="require"/>
1
+ /// <reference types="node" />
2
2
  import type { Stage, StageCrewMember } from '@serenity-js/core';
3
3
  import type { DomainEvent } from '@serenity-js/core/lib/events/index.js';
4
4
  import type { Outcome } from '@serenity-js/core/lib/model/index.js';
package/lib/index.js CHANGED
@@ -10,6 +10,18 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
10
10
  if (k2 === undefined) k2 = k;
11
11
  o[k2] = m[k];
12
12
  }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
13
25
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
27
  };
@@ -21,7 +33,7 @@ const index_js_1 = require("@serenity-js/core/lib/io/index.js");
21
33
  */
22
34
  exports.default = {
23
35
  async init(cid, config, specs, capabilities, reporter) {
24
- const { WebdriverIOFrameworkAdapterFactory } = await import('./adapter/index.js');
36
+ const { WebdriverIOFrameworkAdapterFactory } = await Promise.resolve().then(() => __importStar(require('./adapter/index.js')));
25
37
  const adapterFactory = new WebdriverIOFrameworkAdapterFactory(core_1.serenity, new index_js_1.ModuleLoader(process.cwd()), index_js_1.Path.from(process.cwd()));
26
38
  return adapterFactory.init(cid, config, specs, capabilities, reporter);
27
39
  }
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA6C;AAC7C,gEAAuE;AAOvE;;GAEG;AACH,kBAAe;IACX,KAAK,CAAC,IAAI,CACN,GAAW,EACX,MAAyB,EACzB,KAAe,EACf,YAA2C,EAC3C,QAAmE;QAEnE,MAAM,EAAE,kCAAkC,EAAE,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,CAAC;QAElF,MAAM,cAAc,GAAG,IAAI,kCAAkC,CACzD,eAAQ,EACR,IAAI,uBAAY,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAC/B,eAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAC3B,CAAC;QAEF,OAAO,cAAc,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC;IAC3E,CAAC;CACJ,CAAC;AAEF,2CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAA6C;AAC7C,gEAAuE;AAOvE;;GAEG;AACH,kBAAe;IACX,KAAK,CAAC,IAAI,CACN,GAAW,EACX,MAAyB,EACzB,KAAe,EACf,YAA2C,EAC3C,QAAmE;QAEnE,MAAM,EAAE,kCAAkC,EAAE,GAAG,wDAAa,oBAAoB,GAAC,CAAC;QAElF,MAAM,cAAc,GAAG,IAAI,kCAAkC,CACzD,eAAQ,EACR,IAAI,uBAAY,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAC/B,eAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAC3B,CAAC;QAEF,OAAO,cAAc,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC;IAC3E,CAAC;CACJ,CAAC;AAEF,2CAAyB"}
@@ -1,4 +1,4 @@
1
- /// <reference types="node" resolution-mode="require"/>
1
+ /// <reference types="node" />
2
2
  import 'webdriverio';
3
3
  import type { CorrelationId } from '@serenity-js/core/lib/model/index.js';
4
4
  import type { Cookie, CookieData, ModalDialogHandler, PageElement, PageElements, Selector } from '@serenity-js/web';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serenity-js/webdriverio",
3
- "version": "3.15.1",
3
+ "version": "3.16.1",
4
4
  "description": "Serenity/JS reporter and Screenplay Pattern library for WebdriverIO",
5
5
  "author": {
6
6
  "name": "Jan Molak",
@@ -65,10 +65,10 @@
65
65
  "node": "^16.13 || ^18.12 || ^20"
66
66
  },
67
67
  "dependencies": {
68
- "@serenity-js/core": "3.15.1",
69
- "@serenity-js/rest": "3.15.1",
70
- "@serenity-js/web": "3.15.1",
71
- "@wdio/reporter": "8.28.6",
68
+ "@serenity-js/core": "3.16.1",
69
+ "@serenity-js/rest": "3.16.1",
70
+ "@serenity-js/web": "3.16.1",
71
+ "@wdio/reporter": "8.29.1",
72
72
  "deepmerge": "4.3.1",
73
73
  "tiny-types": "1.21.0"
74
74
  },
@@ -76,8 +76,8 @@
76
76
  "@serenity-js/cucumber": "^3.0.0",
77
77
  "@serenity-js/jasmine": "^3.0.0",
78
78
  "@serenity-js/mocha": "^3.0.0",
79
- "@wdio/cli": "^8.28.6",
80
- "webdriverio": "^8.28.6"
79
+ "@wdio/cli": "^8.29.7",
80
+ "webdriverio": "^8.29.7"
81
81
  },
82
82
  "peerDependenciesMeta": {
83
83
  "@serenity-js/cucumber": {
@@ -93,13 +93,13 @@
93
93
  "devDependencies": {
94
94
  "@integration/testing-tools": "3.0.0",
95
95
  "@types/mocha": "10.0.6",
96
- "@wdio/cli": "8.28.6",
97
- "@wdio/devtools-service": "8.28.6",
98
- "@wdio/dot-reporter": "8.28.6",
99
- "@wdio/local-runner": "8.28.7",
100
- "@wdio/spec-reporter": "8.28.6",
101
- "@wdio/types": "8.28.6",
102
- "axios": "1.6.5",
96
+ "@wdio/cli": "8.29.7",
97
+ "@wdio/devtools-service": "8.29.7",
98
+ "@wdio/dot-reporter": "8.29.1",
99
+ "@wdio/local-runner": "8.29.7",
100
+ "@wdio/spec-reporter": "8.29.7",
101
+ "@wdio/types": "8.29.1",
102
+ "axios": "1.6.7",
103
103
  "c8": "9.1.0",
104
104
  "cross-env": "7.0.3",
105
105
  "mocha": "10.2.0",
@@ -107,7 +107,7 @@
107
107
  "mocha-testdata": "1.2.0",
108
108
  "puppeteer-core": "20.9.0",
109
109
  "start-server-and-test": "2.0.3",
110
- "webdriverio": "8.28.6"
110
+ "webdriverio": "8.29.7"
111
111
  },
112
- "gitHead": "4df79de3820acd9fb18d76843feb0468c55c8e7f"
112
+ "gitHead": "1b1f01b834dc110b6edce2e50297136b4ad6959b"
113
113
  }