@serenity-js/playwright 3.25.1 → 3.25.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,29 @@
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.25.3](https://github.com/serenity-js/serenity-js/compare/v3.25.2...v3.25.3) (2024-07-25)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **deps:** update playwright dependencies to v1.45.3 ([89775e6](https://github.com/serenity-js/serenity-js/commit/89775e6b535b62c4a705db6ae463fd50be51c2bd))
12
+ * **playwright:** playwright is now a peer dependency ([d9c7307](https://github.com/serenity-js/serenity-js/commit/d9c73073b57f1394efec0860f23b193b5ff53d97))
13
+
14
+
15
+
16
+
17
+
18
+ ## [3.25.2](https://github.com/serenity-js/serenity-js/compare/v3.25.1...v3.25.2) (2024-07-17)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * **deps:** update playwright dependencies to v1.45.2 ([bf1d934](https://github.com/serenity-js/serenity-js/commit/bf1d934f5b9feca2b59192d4524d55e130b7bb80))
24
+
25
+
26
+
27
+
28
+
6
29
  ## [3.25.1](https://github.com/serenity-js/serenity-js/compare/v3.25.0...v3.25.1) (2024-07-10)
7
30
 
8
31
 
@@ -52,7 +52,7 @@ import type { PlaywrightOptions } from '../../PlaywrightOptions';
52
52
  * The example below demonstrates how to use the [`BrowseTheWebWithPlaywright.usingPage`](https://serenity-js.org/api/playwright/class/BrowseTheWebWithPlaywright/#usingPage) API and
53
53
  * override the default [cast](https://serenity-js.org/api/core/class/Cast/) of actors.
54
54
  *
55
- * ```ts title="specs/example.spec.ts"
55
+ * ```ts
56
56
  * import { describe, it, test } from '@playwright/playwright-test'
57
57
  * import { BrowseTheWebWithPlaywright } from '@serenity-js/playwright'
58
58
  * import { By, Navigate, PageElement, Text } from '@serenity-js/web'
@@ -77,7 +77,7 @@ const models_1 = require("../models");
77
77
  * The example below demonstrates how to use the [`BrowseTheWebWithPlaywright.usingPage`](https://serenity-js.org/api/playwright/class/BrowseTheWebWithPlaywright/#usingPage) API and
78
78
  * override the default [cast](https://serenity-js.org/api/core/class/Cast/) of actors.
79
79
  *
80
- * ```ts title="specs/example.spec.ts"
80
+ * ```ts
81
81
  * import { describe, it, test } from '@playwright/playwright-test'
82
82
  * import { BrowseTheWebWithPlaywright } from '@serenity-js/playwright'
83
83
  * import { By, Navigate, PageElement, Text } from '@serenity-js/web'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@serenity-js/playwright",
3
- "version": "3.25.1",
4
- "description": "Serenity/JS Screenplay Pattern library for Playwright",
3
+ "version": "3.25.3",
4
+ "description": "Adapter that integrates @serenity-js/web with Playwright, enabling Serenity/JS reporting and using the Screenplay Pattern to write component and end-to-end test scenarios",
5
5
  "author": {
6
6
  "name": "Jan Molak",
7
7
  "email": "jan.molak@smartcodeltd.co.uk",
@@ -44,20 +44,23 @@
44
44
  "node": "^16.13 || ^18.12 || ^20"
45
45
  },
46
46
  "dependencies": {
47
- "@serenity-js/core": "3.25.1",
48
- "@serenity-js/web": "3.25.1",
49
- "playwright-core": "1.45.1",
47
+ "@serenity-js/core": "3.25.3",
48
+ "@serenity-js/web": "3.25.3",
50
49
  "tiny-types": "1.22.0"
51
50
  },
51
+ "peerDependencies": {
52
+ "playwright-core": "~1.45.3"
53
+ },
52
54
  "devDependencies": {
53
55
  "@integration/testing-tools": "3.0.0",
54
56
  "@types/chai": "4.3.16",
55
57
  "@types/mocha": "10.0.7",
56
58
  "c8": "10.1.2",
57
- "mocha": "10.6.0",
59
+ "mocha": "10.7.0",
58
60
  "mocha-multi": "1.1.7",
61
+ "playwright-core": "1.45.3",
59
62
  "ts-node": "10.9.2",
60
63
  "typescript": "5.2.2"
61
64
  },
62
- "gitHead": "450b994115cf9f1a1547ef92ac9387e0c57821ce"
65
+ "gitHead": "ddbff3edbb00910bb31f3b53c13ba5d049edff0e"
63
66
  }
@@ -58,7 +58,7 @@ import {
58
58
  * The example below demonstrates how to use the [`BrowseTheWebWithPlaywright.usingPage`](https://serenity-js.org/api/playwright/class/BrowseTheWebWithPlaywright/#usingPage) API and
59
59
  * override the default [cast](https://serenity-js.org/api/core/class/Cast/) of actors.
60
60
  *
61
- * ```ts title="specs/example.spec.ts"
61
+ * ```ts
62
62
  * import { describe, it, test } from '@playwright/playwright-test'
63
63
  * import { BrowseTheWebWithPlaywright } from '@serenity-js/playwright'
64
64
  * import { By, Navigate, PageElement, Text } from '@serenity-js/web'