@serenity-js/core 3.31.12 → 3.31.14
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 +2 -3
- package/lib/screenplay/Interaction.d.ts +1 -1
- package/lib/screenplay/Interaction.js +1 -1
- package/lib/screenplay/Task.d.ts +1 -1
- package/lib/screenplay/Task.js +1 -1
- package/lib/screenplay/abilities/Ability.d.ts +2 -2
- package/lib/screenplay/abilities/Ability.js +2 -2
- package/package.json +4 -4
- package/src/screenplay/Interaction.ts +1 -1
- package/src/screenplay/Task.ts +1 -1
- package/src/screenplay/abilities/Ability.ts +2 -2
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.14](https://github.com/serenity-js/serenity-js/compare/v3.31.13...v3.31.14) (2025-04-28)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **deps:** update dependency typescript to v5.8.3 ([b19c09b](https://github.com/serenity-js/serenity-js/commit/b19c09b5e5e7d05e744bc0c8b0b49cd3af89483c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [3.31.13](https://github.com/serenity-js/serenity-js/compare/v3.31.12...v3.31.13) (2025-03-20)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @serenity-js/core
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [3.31.12](https://github.com/serenity-js/serenity-js/compare/v3.31.11...v3.31.12) (2025-03-12)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @serenity-js/core
|
package/README.md
CHANGED
|
@@ -10,9 +10,9 @@ of complex software systems faster, more collaborative and easier to scale.
|
|
|
10
10
|
|
|
11
11
|
⭐️ Get started with Serenity/JS!
|
|
12
12
|
- [Serenity/JS web testing tutorial](https://serenity-js.org/handbook/web-testing/your-first-web-scenario)
|
|
13
|
-
- [Serenity/JS Handbook](https://serenity-js.org/handbook)
|
|
13
|
+
- [Serenity/JS Handbook](https://serenity-js.org/handbook)
|
|
14
14
|
- [API documentation](https://serenity-js.org/api/)
|
|
15
|
-
- [Serenity/JS Project Templates](https://serenity-js.org/handbook/
|
|
15
|
+
- [Serenity/JS Project Templates](https://serenity-js.org/handbook/project-templates/)
|
|
16
16
|
|
|
17
17
|
👋 Join the Serenity/JS Community!
|
|
18
18
|
- Meet other Serenity/JS developers and maintainers on the [Serenity/JS Community chat channel](https://matrix.to/#/#serenity-js:gitter.im),
|
|
@@ -34,7 +34,6 @@ To install this module, run the following command in your computer terminal:
|
|
|
34
34
|
npm install --save-dev @serenity-js/core
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
To learn more about Serenity/JS and how to use it on your project, follow the [Serenity/JS Getting Started guide](https://serenity-js.org/handbook/getting-started/).
|
|
38
37
|
|
|
39
38
|
## 📣 Stay up to date
|
|
40
39
|
|
|
@@ -29,7 +29,7 @@ import type { AnswersQuestions } from './questions';
|
|
|
29
29
|
*
|
|
30
30
|
* ## Writing a custom interaction
|
|
31
31
|
*
|
|
32
|
-
* [Serenity/JS modules](https://serenity-js.org/handbook/
|
|
32
|
+
* [Serenity/JS modules](https://serenity-js.org/handbook/architecture/) ship with dozens of interactions to help you compose your test scenarios.
|
|
33
33
|
* However, if you need to interact with a non-standard interface, or want to create a flavour of a given interaction that behaves slightly differently than the built-in version,
|
|
34
34
|
* you can easily create your own implementations using the [`Interaction.where`](https://serenity-js.org/api/core/class/Interaction/#where) factory method.
|
|
35
35
|
*
|
|
@@ -28,7 +28,7 @@ const Activity_1 = require("./Activity");
|
|
|
28
28
|
*
|
|
29
29
|
* ## Writing a custom interaction
|
|
30
30
|
*
|
|
31
|
-
* [Serenity/JS modules](https://serenity-js.org/handbook/
|
|
31
|
+
* [Serenity/JS modules](https://serenity-js.org/handbook/architecture/) ship with dozens of interactions to help you compose your test scenarios.
|
|
32
32
|
* However, if you need to interact with a non-standard interface, or want to create a flavour of a given interaction that behaves slightly differently than the built-in version,
|
|
33
33
|
* you can easily create your own implementations using the [`Interaction.where`](https://serenity-js.org/api/core/class/Interaction/#where) factory method.
|
|
34
34
|
*
|
package/lib/screenplay/Task.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ import type { Answerable } from './Answerable';
|
|
|
92
92
|
* - enter city name of `New York`
|
|
93
93
|
* - pick the first suggested airport from the list
|
|
94
94
|
*
|
|
95
|
-
* Conveniently, [Serenity/JS modules](https://serenity-js.org/handbook/
|
|
95
|
+
* Conveniently, [Serenity/JS modules](https://serenity-js.org/handbook/architecture/) provide low-level activities that
|
|
96
96
|
* allow actors to interact with the various interfaces of the system under test.
|
|
97
97
|
* For example, [Serenity/JS Web module](https://serenity-js.org/api/web) ships with activities such as [`Click`](https://serenity-js.org/api/web/class/Click/) or [`Enter`](https://serenity-js.org/api/web/class/Enter/),
|
|
98
98
|
* which we can incorporate into our task definitions just like any other activities:
|
package/lib/screenplay/Task.js
CHANGED
|
@@ -94,7 +94,7 @@ const Activity_1 = require("./Activity");
|
|
|
94
94
|
* - enter city name of `New York`
|
|
95
95
|
* - pick the first suggested airport from the list
|
|
96
96
|
*
|
|
97
|
-
* Conveniently, [Serenity/JS modules](https://serenity-js.org/handbook/
|
|
97
|
+
* Conveniently, [Serenity/JS modules](https://serenity-js.org/handbook/architecture/) provide low-level activities that
|
|
98
98
|
* allow actors to interact with the various interfaces of the system under test.
|
|
99
99
|
* For example, [Serenity/JS Web module](https://serenity-js.org/api/web) ships with activities such as [`Click`](https://serenity-js.org/api/web/class/Click/) or [`Enter`](https://serenity-js.org/api/web/class/Enter/),
|
|
100
100
|
* which we can incorporate into our task definitions just like any other activities:
|
|
@@ -33,7 +33,7 @@ import type { UsesAbilities } from './UsesAbilities';
|
|
|
33
33
|
* be it a [web UI](https://serenity-js.org/handbook/web-testing/), a [mobile app](https://serenity-js.org/handbook/mobile-testing/), a [web service](https://serenity-js.org/handbook/api-testing/),
|
|
34
34
|
* or [anything else](https://serenity-js.org/api/core/class/Ability/) that a Node.js program can talk to.
|
|
35
35
|
* This flexibility is enabled by a mechanism called _**abilities**_
|
|
36
|
-
* and achieved without introducing any unnecessary dependencies to your code base thanks to the [modular architecture](https://serenity-js.org/handbook/
|
|
36
|
+
* and achieved without introducing any unnecessary dependencies to your code base thanks to the [modular architecture](https://serenity-js.org/handbook/architecture/) of Serenity/JS.
|
|
37
37
|
*
|
|
38
38
|
* :::tip Remember
|
|
39
39
|
* **Actors** have **abilities** that enable them to **perform interactions** and **answer questions**.
|
|
@@ -204,7 +204,7 @@ import type { UsesAbilities } from './UsesAbilities';
|
|
|
204
204
|
*
|
|
205
205
|
* The best way to start with that is for you to review the examples in the [Screenplay Pattern API docs](https://serenity-js.org/api/core/class/Ability/),
|
|
206
206
|
* as well as the [Serenity/JS code base on GitHub](https://github.com/serenity-js/serenity-js/tree/main/packages).
|
|
207
|
-
* Also note that all the [Serenity/JS modules](https://serenity-js.org/handbook/
|
|
207
|
+
* Also note that all the [Serenity/JS modules](https://serenity-js.org/handbook/architecture/)
|
|
208
208
|
* have their automated tests written in such a way to not only provide an **extremely high test coverage** for the framework itself,
|
|
209
209
|
* but to be **accessible** and act as a **reference implementation for you** to create your own integrations.
|
|
210
210
|
*
|
|
@@ -33,7 +33,7 @@ exports.Ability = void 0;
|
|
|
33
33
|
* be it a [web UI](https://serenity-js.org/handbook/web-testing/), a [mobile app](https://serenity-js.org/handbook/mobile-testing/), a [web service](https://serenity-js.org/handbook/api-testing/),
|
|
34
34
|
* or [anything else](https://serenity-js.org/api/core/class/Ability/) that a Node.js program can talk to.
|
|
35
35
|
* This flexibility is enabled by a mechanism called _**abilities**_
|
|
36
|
-
* and achieved without introducing any unnecessary dependencies to your code base thanks to the [modular architecture](https://serenity-js.org/handbook/
|
|
36
|
+
* and achieved without introducing any unnecessary dependencies to your code base thanks to the [modular architecture](https://serenity-js.org/handbook/architecture/) of Serenity/JS.
|
|
37
37
|
*
|
|
38
38
|
* :::tip Remember
|
|
39
39
|
* **Actors** have **abilities** that enable them to **perform interactions** and **answer questions**.
|
|
@@ -204,7 +204,7 @@ exports.Ability = void 0;
|
|
|
204
204
|
*
|
|
205
205
|
* The best way to start with that is for you to review the examples in the [Screenplay Pattern API docs](https://serenity-js.org/api/core/class/Ability/),
|
|
206
206
|
* as well as the [Serenity/JS code base on GitHub](https://github.com/serenity-js/serenity-js/tree/main/packages).
|
|
207
|
-
* Also note that all the [Serenity/JS modules](https://serenity-js.org/handbook/
|
|
207
|
+
* Also note that all the [Serenity/JS modules](https://serenity-js.org/handbook/architecture/)
|
|
208
208
|
* have their automated tests written in such a way to not only provide an **extremely high test coverage** for the framework itself,
|
|
209
209
|
* but to be **accessible** and act as a **reference implementation for you** to create your own integrations.
|
|
210
210
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serenity-js/core",
|
|
3
|
-
"version": "3.31.
|
|
3
|
+
"version": "3.31.14",
|
|
4
4
|
"description": "The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Jan Molak",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@types/diff": "5.2.3",
|
|
55
55
|
"@types/filenamify": "2.0.2",
|
|
56
56
|
"@types/mocha": "10.0.10",
|
|
57
|
-
"@types/semver": "7.
|
|
57
|
+
"@types/semver": "7.7.0",
|
|
58
58
|
"@types/validate-npm-package-name": "4.0.2",
|
|
59
59
|
"assertion-error-formatter": "3.0.0",
|
|
60
60
|
"c8": "10.1.3",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"mocha": "11.1.0",
|
|
63
63
|
"mocha-multi": "1.1.7",
|
|
64
64
|
"ts-node": "10.9.2",
|
|
65
|
-
"typescript": "5.8.
|
|
65
|
+
"typescript": "5.8.3"
|
|
66
66
|
},
|
|
67
67
|
"repository": {
|
|
68
68
|
"type": "git",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"engines": {
|
|
76
76
|
"node": "^18.12 || ^20 || ^22"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "12d24f951ec02ece66016a7b1d2b9b111acaae4a"
|
|
79
79
|
}
|
|
@@ -30,7 +30,7 @@ import type { AnswersQuestions } from './questions';
|
|
|
30
30
|
*
|
|
31
31
|
* ## Writing a custom interaction
|
|
32
32
|
*
|
|
33
|
-
* [Serenity/JS modules](https://serenity-js.org/handbook/
|
|
33
|
+
* [Serenity/JS modules](https://serenity-js.org/handbook/architecture/) ship with dozens of interactions to help you compose your test scenarios.
|
|
34
34
|
* However, if you need to interact with a non-standard interface, or want to create a flavour of a given interaction that behaves slightly differently than the built-in version,
|
|
35
35
|
* you can easily create your own implementations using the [`Interaction.where`](https://serenity-js.org/api/core/class/Interaction/#where) factory method.
|
|
36
36
|
*
|
package/src/screenplay/Task.ts
CHANGED
|
@@ -94,7 +94,7 @@ import type { Answerable } from './Answerable';
|
|
|
94
94
|
* - enter city name of `New York`
|
|
95
95
|
* - pick the first suggested airport from the list
|
|
96
96
|
*
|
|
97
|
-
* Conveniently, [Serenity/JS modules](https://serenity-js.org/handbook/
|
|
97
|
+
* Conveniently, [Serenity/JS modules](https://serenity-js.org/handbook/architecture/) provide low-level activities that
|
|
98
98
|
* allow actors to interact with the various interfaces of the system under test.
|
|
99
99
|
* For example, [Serenity/JS Web module](https://serenity-js.org/api/web) ships with activities such as [`Click`](https://serenity-js.org/api/web/class/Click/) or [`Enter`](https://serenity-js.org/api/web/class/Enter/),
|
|
100
100
|
* which we can incorporate into our task definitions just like any other activities:
|
|
@@ -34,7 +34,7 @@ import type { UsesAbilities } from './UsesAbilities';
|
|
|
34
34
|
* be it a [web UI](https://serenity-js.org/handbook/web-testing/), a [mobile app](https://serenity-js.org/handbook/mobile-testing/), a [web service](https://serenity-js.org/handbook/api-testing/),
|
|
35
35
|
* or [anything else](https://serenity-js.org/api/core/class/Ability/) that a Node.js program can talk to.
|
|
36
36
|
* This flexibility is enabled by a mechanism called _**abilities**_
|
|
37
|
-
* and achieved without introducing any unnecessary dependencies to your code base thanks to the [modular architecture](https://serenity-js.org/handbook/
|
|
37
|
+
* and achieved without introducing any unnecessary dependencies to your code base thanks to the [modular architecture](https://serenity-js.org/handbook/architecture/) of Serenity/JS.
|
|
38
38
|
*
|
|
39
39
|
* :::tip Remember
|
|
40
40
|
* **Actors** have **abilities** that enable them to **perform interactions** and **answer questions**.
|
|
@@ -205,7 +205,7 @@ import type { UsesAbilities } from './UsesAbilities';
|
|
|
205
205
|
*
|
|
206
206
|
* The best way to start with that is for you to review the examples in the [Screenplay Pattern API docs](https://serenity-js.org/api/core/class/Ability/),
|
|
207
207
|
* as well as the [Serenity/JS code base on GitHub](https://github.com/serenity-js/serenity-js/tree/main/packages).
|
|
208
|
-
* Also note that all the [Serenity/JS modules](https://serenity-js.org/handbook/
|
|
208
|
+
* Also note that all the [Serenity/JS modules](https://serenity-js.org/handbook/architecture/)
|
|
209
209
|
* have their automated tests written in such a way to not only provide an **extremely high test coverage** for the framework itself,
|
|
210
210
|
* but to be **accessible** and act as a **reference implementation for you** to create your own integrations.
|
|
211
211
|
*
|