@serenity-js/assertions 3.0.0-rc.18 → 3.0.0-rc.20
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,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.0.0-rc.20](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.19...v3.0.0-rc.20) (2022-07-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **core:** interactions to Wait.for and Wait.until are now browser-independent ([d115142](https://github.com/serenity-js/serenity-js/commit/d1151427bed96c1ebd0d1dcc4159c6aeedc605de)), closes [#1035](https://github.com/serenity-js/serenity-js/issues/1035) [#1236](https://github.com/serenity-js/serenity-js/issues/1236)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.0.0-rc.19](https://github.com/serenity-js/serenity-js/compare/v3.0.0-rc.18...v3.0.0-rc.19) (2022-06-11)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @serenity-js/assertions
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.0.0-rc.18](https://github.com/serenity-js/serenity-js/compare/v2.33.9...v3.0.0-rc.18) (2022-06-06)
|
|
7
26
|
|
|
8
27
|
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ and [API docs](https://serenity-js.org/modules/assertions), and follow [@Serenit
|
|
|
8
8
|
|
|
9
9
|
### Learning Serenity/JS
|
|
10
10
|
|
|
11
|
-
To learn more about Serenity/JS, check out the video below, read the [tutorial](https://serenity-js.org/handbook/thinking-in-serenity-js/index.html), review the [examples](https://github.com/serenity-js/serenity-js/tree/
|
|
11
|
+
To learn more about Serenity/JS, check out the video below, read the [tutorial](https://serenity-js.org/handbook/thinking-in-serenity-js/index.html), review the [examples](https://github.com/serenity-js/serenity-js/tree/main/examples), and create your own test suite with [Serenity/JS template projects](https://github.com/serenity-js).
|
|
12
12
|
|
|
13
13
|
If you have any questions, join us on [Serenity/JS Community Chat](https://gitter.im/serenity-js/Lobby).
|
|
14
14
|
|
|
@@ -9,6 +9,6 @@ import { Expectation } from '@serenity-js/core';
|
|
|
9
9
|
*
|
|
10
10
|
* @see {@link @serenity-js/assertions~Ensure}
|
|
11
11
|
* @see {@link @serenity-js/core/lib/screenplay/questions~Check}
|
|
12
|
-
* @see {@link Wait}
|
|
12
|
+
* @see {@link @serenity-js/core/lib/screenplay/interactions~Wait}
|
|
13
13
|
*/
|
|
14
14
|
export declare function isPresent<Actual>(): Expectation<Actual>;
|
|
@@ -12,7 +12,7 @@ const core_1 = require("@serenity-js/core");
|
|
|
12
12
|
*
|
|
13
13
|
* @see {@link @serenity-js/assertions~Ensure}
|
|
14
14
|
* @see {@link @serenity-js/core/lib/screenplay/questions~Check}
|
|
15
|
-
* @see {@link Wait}
|
|
15
|
+
* @see {@link @serenity-js/core/lib/screenplay/interactions~Wait}
|
|
16
16
|
*/
|
|
17
17
|
function isPresent() {
|
|
18
18
|
return new IsPresent();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serenity-js/assertions",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.20",
|
|
4
4
|
"description": "Screenplay-style assertion library",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Jan Molak",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"npm": "^6 || ^7 || ^8"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@serenity-js/core": "3.0.0-rc.
|
|
49
|
+
"@serenity-js/core": "3.0.0-rc.20",
|
|
50
50
|
"tiny-types": "^1.18.4"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"@types/chai": "^4.3.1",
|
|
56
56
|
"@types/mocha": "^9.1.1",
|
|
57
57
|
"mocha": "^10.0.0",
|
|
58
|
-
"ts-node": "
|
|
59
|
-
"typescript": "^4.7.
|
|
58
|
+
"ts-node": "10.8.0",
|
|
59
|
+
"typescript": "^4.7.4"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "105a84c6ab140c06e38d328274473a32b290080d"
|
|
62
62
|
}
|
|
@@ -10,7 +10,7 @@ import { Answerable, AnswersQuestions, Expectation, ExpectationMet, ExpectationN
|
|
|
10
10
|
*
|
|
11
11
|
* @see {@link @serenity-js/assertions~Ensure}
|
|
12
12
|
* @see {@link @serenity-js/core/lib/screenplay/questions~Check}
|
|
13
|
-
* @see {@link Wait}
|
|
13
|
+
* @see {@link @serenity-js/core/lib/screenplay/interactions~Wait}
|
|
14
14
|
*/
|
|
15
15
|
export function isPresent<Actual>(): Expectation<Actual> {
|
|
16
16
|
return new IsPresent<Actual>();
|