@serenity-js/web 3.32.0 → 3.32.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 +11 -0
- package/lib/stage/crew/photographer/Photographer.d.ts +6 -5
- package/lib/stage/crew/photographer/Photographer.d.ts.map +1 -1
- package/lib/stage/crew/photographer/Photographer.js +6 -5
- package/lib/stage/crew/photographer/Photographer.js.map +1 -1
- package/package.json +4 -4
- package/src/stage/crew/photographer/Photographer.ts +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.32.1](https://github.com/serenity-js/serenity-js/compare/v3.32.0...v3.32.1) (2025-06-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **playwright-test:** added SerenityFixtures and SerenityWorkerFixtures to API docs ([887a7cf](https://github.com/serenity-js/serenity-js/commit/887a7cfb2d5505cd566cc26defdf6d1aaa145e40))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.32.0](https://github.com/serenity-js/serenity-js/compare/v3.31.17...v3.32.0) (2025-06-20)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @serenity-js/web
|
|
@@ -24,9 +24,10 @@ import * as strategies from './strategies';
|
|
|
24
24
|
*
|
|
25
25
|
* ```ts
|
|
26
26
|
* // playwright.config.ts
|
|
27
|
-
* import
|
|
27
|
+
* import { defineConfig } from '@playwright/test'
|
|
28
|
+
* import type { SerenityFixtures, SerenityWorkerFixtures } from '@serenity-js/playwright-test'
|
|
28
29
|
*
|
|
29
|
-
*
|
|
30
|
+
* export default defineConfig<SerenityFixtures, SerenityWorkerFixtures>({
|
|
30
31
|
* reporter: [
|
|
31
32
|
* [ '@serenity-js/playwright-test', {
|
|
32
33
|
* crew: [
|
|
@@ -45,12 +46,12 @@ import * as strategies from './strategies';
|
|
|
45
46
|
* } ]
|
|
46
47
|
* ],
|
|
47
48
|
* },
|
|
48
|
-
* }
|
|
49
|
-
* export default config;
|
|
49
|
+
* })
|
|
50
50
|
* ```
|
|
51
51
|
*
|
|
52
52
|
* #### Learn more
|
|
53
|
-
* - [`
|
|
53
|
+
* - [`SerenityFixtures`](https://serenity-js.org/api/playwright-test/interface/SerenityFixtures/)
|
|
54
|
+
* - [`SerenityWorkerFixtures`](https://serenity-js.org/api/playwright-test/interface/SerenityWorkerFixtures/)
|
|
54
55
|
*
|
|
55
56
|
* ## Using Photographer with WebdriverIO
|
|
56
57
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Photographer.d.ts","sourceRoot":"","sources":["../../../../src/stage/crew/photographer/Photographer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEhE,OAAO,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE1E,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAE3C
|
|
1
|
+
{"version":3,"file":"Photographer.d.ts","sourceRoot":"","sources":["../../../../src/stage/crew/photographer/Photographer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEhE,OAAO,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE1E,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAE3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoJG;AACH,qBAAa,YAAa,YAAW,eAAe;IAqC5C,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,KAAK,CAAC;IApClB;;;;;;OAMG;IACH,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,UAAU,UAAU,CAAC,mBAAmB,GAAG,eAAe;IAInF;;;;;OAKG;IACH,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,IAAI,CAAC,MAAM,OAAO,UAAU,EAAE,qBAAqB,CAAC,CAAA;KAAE,GAAG,eAAe;gBAkBzF,mBAAmB,EAAE,UAAU,CAAC,mBAAmB,EAC5D,KAAK,CAAC,EAAE,KAAK;IAIzB;;;;;OAKG;IACH,UAAU,CAAC,KAAK,EAAE,KAAK,GAAG,eAAe;IAKzC;;;;;OAKG;IACH,QAAQ,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI;CAarC"}
|
|
@@ -60,9 +60,10 @@ const strategies = __importStar(require("./strategies"));
|
|
|
60
60
|
*
|
|
61
61
|
* ```ts
|
|
62
62
|
* // playwright.config.ts
|
|
63
|
-
* import
|
|
63
|
+
* import { defineConfig } from '@playwright/test'
|
|
64
|
+
* import type { SerenityFixtures, SerenityWorkerFixtures } from '@serenity-js/playwright-test'
|
|
64
65
|
*
|
|
65
|
-
*
|
|
66
|
+
* export default defineConfig<SerenityFixtures, SerenityWorkerFixtures>({
|
|
66
67
|
* reporter: [
|
|
67
68
|
* [ '@serenity-js/playwright-test', {
|
|
68
69
|
* crew: [
|
|
@@ -81,12 +82,12 @@ const strategies = __importStar(require("./strategies"));
|
|
|
81
82
|
* } ]
|
|
82
83
|
* ],
|
|
83
84
|
* },
|
|
84
|
-
* }
|
|
85
|
-
* export default config;
|
|
85
|
+
* })
|
|
86
86
|
* ```
|
|
87
87
|
*
|
|
88
88
|
* #### Learn more
|
|
89
|
-
* - [`
|
|
89
|
+
* - [`SerenityFixtures`](https://serenity-js.org/api/playwright-test/interface/SerenityFixtures/)
|
|
90
|
+
* - [`SerenityWorkerFixtures`](https://serenity-js.org/api/playwright-test/interface/SerenityWorkerFixtures/)
|
|
90
91
|
*
|
|
91
92
|
* ## Using Photographer with WebdriverIO
|
|
92
93
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Photographer.js","sourceRoot":"","sources":["../../../../src/stage/crew/photographer/Photographer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAAmE;AAEnE,yDAAgF;AAGhF,yDAA2C;AAE3C
|
|
1
|
+
{"version":3,"file":"Photographer.js","sourceRoot":"","sources":["../../../../src/stage/crew/photographer/Photographer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAAmE;AAEnE,yDAAgF;AAGhF,yDAA2C;AAE3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoJG;AACH,MAAa,YAAY;IAqCA;IACT;IApCZ;;;;;;OAMG;IACH,MAAM,CAAC,OAAO,CAAC,QAAkD;QAC7D,OAAO,IAAI,YAAY,CAAC,IAAI,QAAQ,EAAE,CAAC,CAAC;IAC5C,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,QAAQ,CAAC,MAA4E;QACxF,IAAI,MAAM,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;YAC5B,MAAM,mBAAmB,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,KAAK,UAAU,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAA,CAAI,yBAAyB;YAErJ,IAAI,mBAAmB,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAkB,CAAC,EAAE,CAAC;gBAC1D,OAAO,IAAI,YAAY,CAAC,IAAI,UAAU,CAAC,MAAM,CAAC,QAAkB,CAAC,EAAE,CAAC,CAAC;YACzE,CAAC;YAED,MAAM,IAAI,yBAAkB,CACxB,IAAK,MAAM,CAAC,QAAS,6CAA6C;gBAClE,yBAA0B,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAE,GAAG,CAC/D,CAAC;QACN,CAAC;QAED,OAAO,IAAI,YAAY,CAAC,IAAI,UAAU,CAAC,oBAAoB,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,YACqB,mBAAmD,EAC5D,KAAa;QADJ,wBAAmB,GAAnB,mBAAmB,CAAgC;QAC5D,UAAK,GAAL,KAAK,CAAQ;IAEzB,CAAC;IAED;;;;;OAKG;IACH,UAAU,CAAC,KAAY;QACnB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;;;OAKG;IACH,QAAQ,CAAC,KAAkB;QACvB,IAAI,CAAE,IAAI,CAAC,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,iBAAU,CAAC,8FAA8F,CAAC,CAAC;QACzH,CAAC;QAED,IAAI,CAAE,IAAI,CAAC,KAAK,CAAC,iBAAiB,EAAE,EAAE,CAAC;YACnC,OAAO,KAAK,CAAC,CAAC;QAClB,CAAC;QAED,IAAI,KAAK,YAAY,uBAAc,IAAI,KAAK,YAAY,yBAAgB,EAAE,CAAC;YACvE,IAAI,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QACpE,CAAC;IACL,CAAC;CACJ;AAxED,oCAwEC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serenity-js/web",
|
|
3
|
-
"version": "3.32.
|
|
3
|
+
"version": "3.32.1",
|
|
4
4
|
"description": "Serenity/JS Screenplay Pattern library offering a flexible, web driver-agnostic approach for interacting with web-based user interfaces and components, suitable for various testing contexts",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Jan Molak",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"node": "^18.12 || ^20 || ^22"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@serenity-js/assertions": "3.32.
|
|
57
|
-
"@serenity-js/core": "3.32.
|
|
56
|
+
"@serenity-js/assertions": "3.32.1",
|
|
57
|
+
"@serenity-js/core": "3.32.1",
|
|
58
58
|
"tiny-types": "1.23.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"ts-node": "10.9.2",
|
|
68
68
|
"typescript": "5.8.3"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "f1f288c9a75d28270dfe4ba16ca4f367a4dbba22"
|
|
71
71
|
}
|
|
@@ -28,9 +28,10 @@ import * as strategies from './strategies';
|
|
|
28
28
|
*
|
|
29
29
|
* ```ts
|
|
30
30
|
* // playwright.config.ts
|
|
31
|
-
* import
|
|
31
|
+
* import { defineConfig } from '@playwright/test'
|
|
32
|
+
* import type { SerenityFixtures, SerenityWorkerFixtures } from '@serenity-js/playwright-test'
|
|
32
33
|
*
|
|
33
|
-
*
|
|
34
|
+
* export default defineConfig<SerenityFixtures, SerenityWorkerFixtures>({
|
|
34
35
|
* reporter: [
|
|
35
36
|
* [ '@serenity-js/playwright-test', {
|
|
36
37
|
* crew: [
|
|
@@ -49,12 +50,12 @@ import * as strategies from './strategies';
|
|
|
49
50
|
* } ]
|
|
50
51
|
* ],
|
|
51
52
|
* },
|
|
52
|
-
* }
|
|
53
|
-
* export default config;
|
|
53
|
+
* })
|
|
54
54
|
* ```
|
|
55
55
|
*
|
|
56
56
|
* #### Learn more
|
|
57
|
-
* - [`
|
|
57
|
+
* - [`SerenityFixtures`](https://serenity-js.org/api/playwright-test/interface/SerenityFixtures/)
|
|
58
|
+
* - [`SerenityWorkerFixtures`](https://serenity-js.org/api/playwright-test/interface/SerenityWorkerFixtures/)
|
|
58
59
|
*
|
|
59
60
|
* ## Using Photographer with WebdriverIO
|
|
60
61
|
*
|