@serenity-js/webdriverio-8 3.31.13 → 3.31.15
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 +19 -0
- package/README.md +15 -15
- package/package.json +13 -13
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.31.15](https://github.com/serenity-js/serenity-js/compare/v3.31.14...v3.31.15) (2025-05-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @serenity-js/webdriverio-8
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.31.14](https://github.com/serenity-js/serenity-js/compare/v3.31.13...v3.31.14) (2025-04-28)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **deps:** update rest dependencies ([6331afb](https://github.com/serenity-js/serenity-js/commit/6331afbe32c439808b317d497043dd6deb513801))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [3.31.13](https://github.com/serenity-js/serenity-js/compare/v3.31.12...v3.31.13) (2025-03-20)
|
|
7
26
|
|
|
8
27
|
|
package/README.md
CHANGED
|
@@ -35,13 +35,13 @@ npm install --save-dev @serenity-js/core @serenity-js/web @serenity-js/webdriver
|
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
Learn more about Serenity/JS modules:
|
|
38
|
-
- [`@serenity-js/core`](/api/core/)
|
|
39
|
-
- [`@serenity-js/web`](/api/web/)
|
|
40
|
-
- [`@serenity-js/webdriverio-8`](/api/webdriverio-8/)
|
|
41
|
-
- [`@serenity-js/assertions`](/api/assertions/)
|
|
42
|
-
- [`@serenity-js/rest`](/api/rest/)
|
|
43
|
-
- [`@serenity-js/console-reporter`](/api/console-reporter/)
|
|
44
|
-
- [`@serenity-js/serenity-bdd`](/api/serenity-bdd/)
|
|
38
|
+
- [`@serenity-js/core`](https://serenity-js.org/api/core/)
|
|
39
|
+
- [`@serenity-js/web`](https://serenity-js.org/api/web/)
|
|
40
|
+
- [`@serenity-js/webdriverio-8`](https://serenity-js.org/api/webdriverio-8/)
|
|
41
|
+
- [`@serenity-js/assertions`](https://serenity-js.org/api/assertions/)
|
|
42
|
+
- [`@serenity-js/rest`](https://serenity-js.org/api/rest/)
|
|
43
|
+
- [`@serenity-js/console-reporter`](https://serenity-js.org/api/console-reporter/)
|
|
44
|
+
- [`@serenity-js/serenity-bdd`](https://serenity-js.org/api/serenity-bdd/)
|
|
45
45
|
|
|
46
46
|
If you prefer to review a reference implementation first, clone a [Serenity/JS Project Template](https://serenity-js.org/handbook/project-templates/) for your preferred test runner.
|
|
47
47
|
|
|
@@ -123,21 +123,21 @@ export const config: WebdriverIOConfig = {
|
|
|
123
123
|
```
|
|
124
124
|
|
|
125
125
|
Learn more about:
|
|
126
|
-
- [Serenity/JS Cucumber configuration options](/api/cucumber-adapter/interface/CucumberConfig/)
|
|
127
|
-
- [Serenity/JS Jasmine configuration options](/api/jasmine-adapter/interface/JasmineConfig/)
|
|
128
|
-
- [Serenity/JS Mocha configuration options](/api/mocha-adapter/interface/MochaConfig/)
|
|
126
|
+
- [Serenity/JS Cucumber configuration options](https://serenity-js.org/api/cucumber-adapter/interface/CucumberConfig/)
|
|
127
|
+
- [Serenity/JS Jasmine configuration options](https://serenity-js.org/api/jasmine-adapter/interface/JasmineConfig/)
|
|
128
|
+
- [Serenity/JS Mocha configuration options](https://serenity-js.org/api/mocha-adapter/interface/MochaConfig/)
|
|
129
129
|
- [WebdriverIO configuration file](https://webdriver.io/docs/configurationfile/)
|
|
130
130
|
|
|
131
131
|
### 3. Generating Serenity BDD reports and living documentation
|
|
132
132
|
|
|
133
133
|
[Serenity BDD reports and living documentation](https://serenity-bdd.github.io/docs/reporting/the_serenity_reports) are generated by [Serenity BDD CLI](https://github.com/serenity-bdd/serenity-core/tree/main/serenity-cli),
|
|
134
|
-
a Java program provided by the [`@serenity-js/serenity-bdd`](/api/serenity-bdd/) module.
|
|
134
|
+
a Java program provided by the [`@serenity-js/serenity-bdd`](https://serenity-js.org/api/serenity-bdd/) module.
|
|
135
135
|
|
|
136
136
|
To produce Serenity BDD reports, your test suite must:
|
|
137
|
-
- produce intermediate Serenity BDD `.json` reports, by registering [`SerenityBDDReporter`](/api/serenity-bdd/class/SerenityBDDReporter/) as per the [configuration instructions](#configuring-serenityjs)
|
|
137
|
+
- produce intermediate Serenity BDD `.json` reports, by registering [`SerenityBDDReporter`](https://serenity-js.org/api/serenity-bdd/class/SerenityBDDReporter/) as per the [configuration instructions](#2-configuring-serenityjs)
|
|
138
138
|
- invoke the Serenity BDD CLI when you want to produce the report, by calling `serenity-bdd run`
|
|
139
139
|
|
|
140
|
-
The pattern used by all the [Serenity/JS Project Templates](/handbook/project-templates/) relies
|
|
140
|
+
The pattern used by all the [Serenity/JS Project Templates](https://serenity-js.org/handbook/project-templates/) relies
|
|
141
141
|
on using the following Node modules:
|
|
142
142
|
- [`npm-failsafe`](https://www.npmjs.com/package/npm-failsafe) to run the reporting process even if the test suite itself has failed (which is precisely when you need test reports the most...).
|
|
143
143
|
- [`rimraf`](https://www.npmjs.com/package/rimraf) as a convenience method to remove any test reports left over from the previous run
|
|
@@ -154,8 +154,8 @@ on using the following Node modules:
|
|
|
154
154
|
```
|
|
155
155
|
|
|
156
156
|
To learn more about the `SerenityBDDReporter`, please consult:
|
|
157
|
-
- installation instructions in [`@serenity-js/serenity-bdd` documentation](/api/serenity-bdd/),
|
|
158
|
-
- configuration examples in [`SerenityBDDReporter` API docs](/api/serenity-bdd/class/SerenityBDDReporter/),
|
|
157
|
+
- installation instructions in [`@serenity-js/serenity-bdd` documentation](https://serenity-js.org/api/serenity-bdd/),
|
|
158
|
+
- configuration examples in [`SerenityBDDReporter` API docs](https://serenity-js.org/api/serenity-bdd/class/SerenityBDDReporter/),
|
|
159
159
|
- [Serenity/JS examples on GitHub](https://github.com/serenity-js/serenity-js/tree/main/examples).
|
|
160
160
|
|
|
161
161
|
### 4. Writing a test scenario
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serenity-js/webdriverio-8",
|
|
3
|
-
"version": "3.31.
|
|
3
|
+
"version": "3.31.15",
|
|
4
4
|
"description": "Adapter that integrates @serenity-js/web with WebdriverIO 8, enabling Serenity/JS reporting and using the Screenplay Pattern to write web and mobile test scenarios",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Jan Molak",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"node": "^18.12 || ^20 || ^22"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@serenity-js/core": "3.31.
|
|
78
|
-
"@serenity-js/rest": "3.31.
|
|
79
|
-
"@serenity-js/web": "3.31.
|
|
77
|
+
"@serenity-js/core": "3.31.15",
|
|
78
|
+
"@serenity-js/rest": "3.31.15",
|
|
79
|
+
"@serenity-js/web": "3.31.15",
|
|
80
80
|
"@wdio/reporter": "8.43.0",
|
|
81
81
|
"deepmerge": "4.3.1",
|
|
82
82
|
"tiny-types": "1.23.0"
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"@serenity-js/cucumber": "^3.0.0",
|
|
86
86
|
"@serenity-js/jasmine": "^3.0.0",
|
|
87
87
|
"@serenity-js/mocha": "^3.0.0",
|
|
88
|
-
"@wdio/cli": "^8.
|
|
89
|
-
"webdriverio": "^8.
|
|
88
|
+
"@wdio/cli": "^8.44.1",
|
|
89
|
+
"webdriverio": "^8.44.1"
|
|
90
90
|
},
|
|
91
91
|
"peerDependenciesMeta": {
|
|
92
92
|
"@serenity-js/cucumber": {
|
|
@@ -102,21 +102,21 @@
|
|
|
102
102
|
"devDependencies": {
|
|
103
103
|
"@integration/testing-tools": "3.0.0",
|
|
104
104
|
"@types/mocha": "10.0.10",
|
|
105
|
-
"@wdio/cli": "8.
|
|
105
|
+
"@wdio/cli": "8.44.1",
|
|
106
106
|
"@wdio/devtools-service": "8.42.0",
|
|
107
107
|
"@wdio/dot-reporter": "8.43.0",
|
|
108
|
-
"@wdio/local-runner": "8.
|
|
108
|
+
"@wdio/local-runner": "8.44.1",
|
|
109
109
|
"@wdio/spec-reporter": "8.43.0",
|
|
110
110
|
"@wdio/types": "8.41.0",
|
|
111
|
-
"axios": "1.
|
|
111
|
+
"axios": "1.9.0",
|
|
112
112
|
"c8": "10.1.3",
|
|
113
113
|
"cross-env": "7.0.3",
|
|
114
|
-
"mocha": "11.
|
|
114
|
+
"mocha": "11.2.2",
|
|
115
115
|
"mocha-multi": "1.1.7",
|
|
116
116
|
"mocha-testdata": "1.2.0",
|
|
117
|
-
"puppeteer-core": "24.
|
|
117
|
+
"puppeteer-core": "24.8.0",
|
|
118
118
|
"start-server-and-test": "2.0.11",
|
|
119
|
-
"webdriverio": "8.
|
|
119
|
+
"webdriverio": "8.44.1"
|
|
120
120
|
},
|
|
121
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "680b076ed752553dd781b9c1b84f890df5fc16b8"
|
|
122
122
|
}
|