@serenity-js/web 3.28.0 → 3.29.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,38 @@
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.29.3](https://github.com/serenity-js/serenity-js/compare/v3.29.2...v3.29.3) (2024-10-08)
7
+
8
+ **Note:** Version bump only for package @serenity-js/web
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.29.2](https://github.com/serenity-js/serenity-js/compare/v3.29.1...v3.29.2) (2024-09-25)
15
+
16
+ **Note:** Version bump only for package @serenity-js/web
17
+
18
+
19
+
20
+
21
+
22
+ ## [3.29.1](https://github.com/serenity-js/serenity-js/compare/v3.29.0...v3.29.1) (2024-09-24)
23
+
24
+ **Note:** Version bump only for package @serenity-js/web
25
+
26
+
27
+
28
+
29
+
30
+ # [3.29.0](https://github.com/serenity-js/serenity-js/compare/v3.28.0...v3.29.0) (2024-09-24)
31
+
32
+ **Note:** Version bump only for package @serenity-js/web
33
+
34
+
35
+
36
+
37
+
6
38
  # [3.28.0](https://github.com/serenity-js/serenity-js/compare/v3.27.0...v3.28.0) (2024-09-11)
7
39
 
8
40
  **Note:** Version bump only for package @serenity-js/web
@@ -20,7 +20,7 @@ import { ByXPath } from './ByXPath';
20
20
  * .describedAs('username field')
21
21
  *
22
22
  * static passwordField = () =>
23
- * PageElement.of(By.css('[data-test="password"]')) // locate element using a CSS selector
23
+ * PageElement.located(By.css('[data-test="password"]')) // locate element using a CSS selector
24
24
  * .describedAs('password field')
25
25
  * }
26
26
  * ```
@@ -39,7 +39,7 @@ import { ByXPath } from './ByXPath';
39
39
  *
40
40
  * class FormField {
41
41
  * static withTestId = (id: Answerable<string>) =>
42
- * PageElement.of(By.css(q`input[data-test-id="${ id }"]`))
42
+ * PageElement.located(By.css(q`input[data-test-id="${ id }"]`))
43
43
  * .describedAs('form field')
44
44
  * }
45
45
  *
@@ -23,7 +23,7 @@ const ByXPath_1 = require("./ByXPath");
23
23
  * .describedAs('username field')
24
24
  *
25
25
  * static passwordField = () =>
26
- * PageElement.of(By.css('[data-test="password"]')) // locate element using a CSS selector
26
+ * PageElement.located(By.css('[data-test="password"]')) // locate element using a CSS selector
27
27
  * .describedAs('password field')
28
28
  * }
29
29
  * ```
@@ -42,7 +42,7 @@ const ByXPath_1 = require("./ByXPath");
42
42
  *
43
43
  * class FormField {
44
44
  * static withTestId = (id: Answerable<string>) =>
45
- * PageElement.of(By.css(q`input[data-test-id="${ id }"]`))
45
+ * PageElement.located(By.css(q`input[data-test-id="${ id }"]`))
46
46
  * .describedAs('form field')
47
47
  * }
48
48
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serenity-js/web",
3
- "version": "3.28.0",
3
+ "version": "3.29.3",
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,19 +53,19 @@
53
53
  "node": "^18.12 || ^20 || ^22"
54
54
  },
55
55
  "dependencies": {
56
- "@serenity-js/assertions": "3.28.0",
57
- "@serenity-js/core": "3.28.0",
56
+ "@serenity-js/assertions": "3.29.3",
57
+ "@serenity-js/core": "3.29.3",
58
58
  "tiny-types": "1.23.0"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@integration/testing-tools": "3.0.0",
62
- "@types/chai": "4.3.19",
63
- "@types/mocha": "10.0.7",
62
+ "@types/chai": "4.3.20",
63
+ "@types/mocha": "10.0.9",
64
64
  "c8": "10.1.2",
65
65
  "mocha": "10.7.3",
66
66
  "mocha-multi": "1.1.7",
67
67
  "ts-node": "10.9.2",
68
68
  "typescript": "5.6.2"
69
69
  },
70
- "gitHead": "9633e37bc3ae8d013f49c3fc288cab1b4cb7b63b"
70
+ "gitHead": "2816802a19feb65e91e6bd23bc0db04b288808d7"
71
71
  }
@@ -23,7 +23,7 @@ import { ByXPath } from './ByXPath';
23
23
  * .describedAs('username field')
24
24
  *
25
25
  * static passwordField = () =>
26
- * PageElement.of(By.css('[data-test="password"]')) // locate element using a CSS selector
26
+ * PageElement.located(By.css('[data-test="password"]')) // locate element using a CSS selector
27
27
  * .describedAs('password field')
28
28
  * }
29
29
  * ```
@@ -42,7 +42,7 @@ import { ByXPath } from './ByXPath';
42
42
  *
43
43
  * class FormField {
44
44
  * static withTestId = (id: Answerable<string>) =>
45
- * PageElement.of(By.css(q`input[data-test-id="${ id }"]`))
45
+ * PageElement.located(By.css(q`input[data-test-id="${ id }"]`))
46
46
  * .describedAs('form field')
47
47
  * }
48
48
  *