@@ -78,24 +78,31 @@ const data: TestData = {
78
78
mapStep : m => ( { status : m . status , attachments : m . attachments } ) ,
79
79
expected : [
80
80
{
81
- name : '"before each" hook: [cypress-allure-adapter] ' ,
81
+ name : '"before each" hooks ' ,
82
82
status : 'passed' ,
83
83
attachments : [ ] ,
84
84
steps : [
85
85
{
86
+ name : '"before each" hook: [cypress-allure-adapter]' ,
87
+ status : 'passed' ,
86
88
attachments : [ ] ,
87
- name : 'will not intercept requests to save bodies' ,
89
+ steps : [
90
+ {
91
+ attachments : [ ] ,
92
+ name : 'will not intercept requests to save bodies' ,
93
+ status : 'passed' ,
94
+ steps : [ ] ,
95
+ } ,
96
+ ] ,
97
+ } ,
98
+ {
99
+ name : '"before each" hook' ,
88
100
status : 'passed' ,
89
101
steps : [ ] ,
102
+ attachments : [ ] ,
90
103
} ,
91
104
] ,
92
105
} ,
93
- {
94
- name : '"before each" hook' ,
95
- status : 'passed' ,
96
- steps : [ ] ,
97
- attachments : [ ] ,
98
- } ,
99
106
{
100
107
name : 'log: test 1' ,
101
108
status : 'passed' ,
@@ -115,24 +122,31 @@ const data: TestData = {
115
122
mapStep : m => ( { status : m . status , attachments : m . attachments } ) ,
116
123
expected : [
117
124
{
118
- name : '"before each" hook: [cypress-allure-adapter] ' ,
125
+ name : '"before each" hooks ' ,
119
126
status : 'passed' ,
120
127
attachments : [ ] ,
121
128
steps : [
122
129
{
130
+ name : '"before each" hook: [cypress-allure-adapter]' ,
131
+ status : 'passed' ,
123
132
attachments : [ ] ,
124
- name : 'will not intercept requests to save bodies' ,
133
+ steps : [
134
+ {
135
+ attachments : [ ] ,
136
+ name : 'will not intercept requests to save bodies' ,
137
+ status : 'passed' ,
138
+ steps : [ ] ,
139
+ } ,
140
+ ] ,
141
+ } ,
142
+ {
143
+ name : '"before each" hook' ,
125
144
status : 'passed' ,
126
145
steps : [ ] ,
146
+ attachments : [ ] ,
127
147
} ,
128
148
] ,
129
149
} ,
130
- {
131
- name : '"before each" hook' ,
132
- status : 'passed' ,
133
- steps : [ ] ,
134
- attachments : [ ] ,
135
- } ,
136
150
{
137
151
name : 'log: test 2' ,
138
152
status : 'passed' ,
0 commit comments