@serenity-js/serenity-bdd 2.33.3 → 2.33.6
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,33 @@
|
|
|
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
|
+
## [2.33.6](https://github.com/serenity-js/serenity-js/compare/v2.33.5...v2.33.6) (2022-04-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @serenity-js/serenity-bdd
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [2.33.5](https://github.com/serenity-js/serenity-js/compare/v2.33.4...v2.33.5) (2022-04-08)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @serenity-js/serenity-bdd
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [2.33.4](https://github.com/serenity-js/serenity-js/compare/v2.33.3...v2.33.4) (2022-03-29)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* **serenity-bdd:** corrected reporting of interactions that occur in beforeAll hooks ([74ec88e](https://github.com/serenity-js/serenity-js/commit/74ec88e5976daebda9bf2e5d5b4b553d59a18672)), closes [#1162](https://github.com/serenity-js/serenity-js/issues/1162)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
## [2.33.3](https://github.com/serenity-js/serenity-js/compare/v2.33.2...v2.33.3) (2022-03-19)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @serenity-js/serenity-bdd
|
|
@@ -39,7 +39,8 @@ class EventQueues {
|
|
|
39
39
|
if (exactMatch) {
|
|
40
40
|
return exactMatch.queueId;
|
|
41
41
|
}
|
|
42
|
-
const sameScenarioMatch = this.queueIndex.find(entry => entry.details
|
|
42
|
+
const sameScenarioMatch = this.queueIndex.find(entry => entry.details &&
|
|
43
|
+
entry.details.equals(event.details));
|
|
43
44
|
if (sameScenarioMatch) {
|
|
44
45
|
this.queueIndex.push({
|
|
45
46
|
sceneId: event.sceneId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventQueues.js","sourceRoot":"","sources":["../../../../../src/stage/crew/serenity-bdd-reporter/processors/EventQueues.ts"],"names":[],"mappings":";;;AAAA,yDAA+F;AAG/F,6CAA0C;AAE1C;;GAEG;AACH,MAAa,WAAW;IAAxB;QAEqB,eAAU,GAAiF,EAAE,CAAC;QAE9F,WAAM,GAA4B,IAAI,GAAG,EAAE,CAAC;QAC5C,eAAU,GAAG,IAAI,uBAAU,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"EventQueues.js","sourceRoot":"","sources":["../../../../../src/stage/crew/serenity-bdd-reporter/processors/EventQueues.ts"],"names":[],"mappings":";;;AAAA,yDAA+F;AAG/F,6CAA0C;AAE1C;;GAEG;AACH,MAAa,WAAW;IAAxB;QAEqB,eAAU,GAAiF,EAAE,CAAC;QAE9F,WAAM,GAA4B,IAAI,GAAG,EAAE,CAAC;QAC5C,eAAU,GAAG,IAAI,uBAAU,EAAE,CAAC;IA+DnD,CAAC;IA7DG,OAAO,CAAC,KAA+C;QAEnD,IAAI,IAAI,CAAC,sBAAsB,CAAC,KAAK,CAAC,EAAE;YACpC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,IAAI,uBAAU,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;SAC9F;aAEI,IAAI,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE;YACtC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;SAClC;aAE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O;gBACnD,OAAO,EAAE,iBAAiB,CAAC,OAAO;aACrC,CAAC,CAAC;YAEH,OAAO,iBAAiB,CAAC,OAAO,CAAC;SACpC;QAED,MAAM,UAAU,GAAG,MAAM,EAAE,CAAC;QAE5B,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;YACjB,OAAO,EAAE,KAAK,CAAC,OAAO;YACtB,OAAO,EAAE,KAAK,CAAC,OAAO;YACtB,OAAO,EAAE,UAAU;SACtB,CAAC,CAAC;QAEH,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AApED,kCAoEC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serenity-js/serenity-bdd",
|
|
3
|
-
"version": "2.33.
|
|
3
|
+
"version": "2.33.6",
|
|
4
4
|
"description": "Serenity BDD reporter for Serenity/JS",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Jan Molak",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"npm": "^6 || ^7 || ^8"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@serenity-js/assertions": "2.33.
|
|
51
|
-
"@serenity-js/core": "2.33.
|
|
52
|
-
"@serenity-js/rest": "2.33.
|
|
50
|
+
"@serenity-js/assertions": "2.33.6",
|
|
51
|
+
"@serenity-js/core": "2.33.6",
|
|
52
|
+
"@serenity-js/rest": "2.33.6",
|
|
53
53
|
"axios": "^0.21.4",
|
|
54
54
|
"chalk": "^4.1.2",
|
|
55
55
|
"find-java-home": "^1.2.2",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"memfs": "^3.4.1",
|
|
69
69
|
"mocha": "^9.2.2",
|
|
70
70
|
"ts-node": "^10.7.0",
|
|
71
|
-
"typescript": "^4.6.
|
|
71
|
+
"typescript": "^4.6.3"
|
|
72
72
|
},
|
|
73
73
|
"nyc": {
|
|
74
74
|
"include": [
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"cache": true,
|
|
94
94
|
"all": true
|
|
95
95
|
},
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "548d28d832eb2a92ce7e0e51a26c6273dd48fda7"
|
|
97
97
|
}
|
|
@@ -49,7 +49,10 @@ export class EventQueues {
|
|
|
49
49
|
return exactMatch.queueId;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
const sameScenarioMatch = this.queueIndex.find(entry =>
|
|
52
|
+
const sameScenarioMatch = this.queueIndex.find(entry =>
|
|
53
|
+
entry.details &&
|
|
54
|
+
entry.details.equals(event.details)
|
|
55
|
+
);
|
|
53
56
|
|
|
54
57
|
if (sameScenarioMatch) {
|
|
55
58
|
this.queueIndex.push({
|