cucumber-reactive-reporter 1.0.0
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/LICENSE +21 -0
- package/README.md +48 -0
- package/dist/cucumber-reactive-reporter.cjs.js +313 -0
- package/dist/cucumber-reactive-reporter.esm.js +309 -0
- package/dist/package.json +86 -0
- package/dist/react/.DS_Store +0 -0
- package/dist/react/asset-manifest.json +26 -0
- package/dist/react/cucumber-results.json +2786 -0
- package/dist/react/favicon.png +0 -0
- package/dist/react/index.html +1 -0
- package/dist/react/precache-manifest.js +182 -0
- package/dist/react/service-worker.js +39 -0
- package/dist/react/static/css/2.css +4 -0
- package/dist/react/static/css/main.css +1 -0
- package/dist/react/static/js/2.LICENSE.txt +85 -0
- package/dist/react/static/js/2.js +2 -0
- package/dist/react/static/js/main.LICENSE.txt +1 -0
- package/dist/react/static/js/main.js +2 -0
- package/dist/react/static/js/runtime-main.js +1 -0
- package/dist/react/static/media/fontawesome-webfont.eot +0 -0
- package/dist/react/static/media/fontawesome-webfont.svg +2671 -0
- package/dist/react/static/media/fontawesome-webfont.ttf +0 -0
- package/dist/react/static/media/fontawesome-webfont.woff +0 -0
- package/dist/react/static/media/fontawesome-webfont.woff2 +0 -0
- package/dist/react/static/media/roboto-all-300-normal.woff +0 -0
- package/dist/react/static/media/roboto-all-400-normal.woff +0 -0
- package/dist/react/static/media/roboto-all-500-normal.woff +0 -0
- package/dist/react/static/media/roboto-all-700-normal.woff +0 -0
- package/dist/react/static/media/roboto-cyrillic-300-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-cyrillic-400-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-cyrillic-500-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-cyrillic-700-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-cyrillic-ext-300-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-cyrillic-ext-500-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-greek-300-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-greek-400-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-greek-500-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-greek-700-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-greek-ext-300-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-greek-ext-400-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-greek-ext-500-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-greek-ext-700-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-latin-300-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-latin-400-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-latin-500-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-latin-700-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-latin-ext-300-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-latin-ext-400-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-latin-ext-500-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-latin-ext-700-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-vietnamese-300-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-vietnamese-400-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-vietnamese-500-normal.woff2 +0 -0
- package/dist/react/static/media/roboto-vietnamese-700-normal.woff2 +0 -0
- package/package.json +88 -0
|
@@ -0,0 +1,2786 @@
|
|
|
1
|
+
[{
|
|
2
|
+
"description": "",
|
|
3
|
+
"elements": [{
|
|
4
|
+
"description": "",
|
|
5
|
+
"id": "lets-generate-some-test-data;call-cat-facts-api-to-show-off-attaching-a-link,-a-text-and-a-json",
|
|
6
|
+
"keyword": "Scenario",
|
|
7
|
+
"line": 5,
|
|
8
|
+
"name": "Call cat facts api to show off attaching a link, a text and a json",
|
|
9
|
+
"steps": [{
|
|
10
|
+
"arguments": [],
|
|
11
|
+
"keyword": "When ",
|
|
12
|
+
"line": 6,
|
|
13
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
14
|
+
"match": {
|
|
15
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
16
|
+
},
|
|
17
|
+
"result": {
|
|
18
|
+
"status": "passed",
|
|
19
|
+
"duration": 378180601
|
|
20
|
+
},
|
|
21
|
+
"embeddings": [{
|
|
22
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
23
|
+
"mime_type": "text/html"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"data": "{\"fact\":\"Female felines are \\\\superfecund\",\"length\":31}",
|
|
27
|
+
"mime_type": "application/json"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"arguments": [],
|
|
33
|
+
"keyword": "Then ",
|
|
34
|
+
"line": 7,
|
|
35
|
+
"name": "Response was okay",
|
|
36
|
+
"match": {
|
|
37
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:27"
|
|
38
|
+
},
|
|
39
|
+
"result": {
|
|
40
|
+
"status": "passed",
|
|
41
|
+
"duration": 606530
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"arguments": [],
|
|
46
|
+
"keyword": "And ",
|
|
47
|
+
"line": 8,
|
|
48
|
+
"name": "Response contains a cat fact",
|
|
49
|
+
"match": {
|
|
50
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:21"
|
|
51
|
+
},
|
|
52
|
+
"result": {
|
|
53
|
+
"status": "passed",
|
|
54
|
+
"duration": 513963
|
|
55
|
+
},
|
|
56
|
+
"embeddings": [{
|
|
57
|
+
"data": "Cat fact: Female felines are \\superfecund",
|
|
58
|
+
"mime_type": "text/plain"
|
|
59
|
+
}]
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"tags": [{
|
|
63
|
+
"name": "@reportTest",
|
|
64
|
+
"line": 1
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "@catfacts",
|
|
68
|
+
"line": 4
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "@tag1",
|
|
72
|
+
"line": 4
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"type": "scenario"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"description": "",
|
|
79
|
+
"id": "lets-generate-some-test-data;i-use-a-step-with-table",
|
|
80
|
+
"keyword": "Scenario",
|
|
81
|
+
"line": 11,
|
|
82
|
+
"name": "I use a step with table",
|
|
83
|
+
"steps": [{
|
|
84
|
+
"arguments": [],
|
|
85
|
+
"keyword": "When ",
|
|
86
|
+
"line": 12,
|
|
87
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
88
|
+
"match": {
|
|
89
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
90
|
+
},
|
|
91
|
+
"result": {
|
|
92
|
+
"status": "passed",
|
|
93
|
+
"duration": 265243791
|
|
94
|
+
},
|
|
95
|
+
"embeddings": [{
|
|
96
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
97
|
+
"mime_type": "text/html"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"data": "{\"fact\":\"Jaguars are the only big cats that don't roar.\",\"length\":46}",
|
|
101
|
+
"mime_type": "application/json"
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"arguments": [{
|
|
107
|
+
"rows": [{
|
|
108
|
+
"cells": [
|
|
109
|
+
"fact",
|
|
110
|
+
"length"
|
|
111
|
+
]
|
|
112
|
+
}]
|
|
113
|
+
}],
|
|
114
|
+
"keyword": "Then ",
|
|
115
|
+
"line": 13,
|
|
116
|
+
"name": "the response has the following parameters:",
|
|
117
|
+
"match": {
|
|
118
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:32"
|
|
119
|
+
},
|
|
120
|
+
"result": {
|
|
121
|
+
"status": "passed",
|
|
122
|
+
"duration": 624138
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"arguments": [],
|
|
127
|
+
"keyword": "And ",
|
|
128
|
+
"line": 15,
|
|
129
|
+
"name": "the response parameter \"length\" is a non zero number",
|
|
130
|
+
"match": {
|
|
131
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:44"
|
|
132
|
+
},
|
|
133
|
+
"result": {
|
|
134
|
+
"status": "passed",
|
|
135
|
+
"duration": 445141
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"arguments": [{
|
|
140
|
+
"rows": [{
|
|
141
|
+
"cells": [
|
|
142
|
+
"Cat-like creatures",
|
|
143
|
+
"Rating",
|
|
144
|
+
"Weird"
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"cells": [
|
|
149
|
+
"Actual cats",
|
|
150
|
+
"5",
|
|
151
|
+
"false"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"cells": [
|
|
156
|
+
"Tigers",
|
|
157
|
+
"2",
|
|
158
|
+
"false"
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"cells": [
|
|
163
|
+
"Lions",
|
|
164
|
+
"10",
|
|
165
|
+
"false"
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"cells": [
|
|
170
|
+
"People pretending to be cats",
|
|
171
|
+
"10",
|
|
172
|
+
"true"
|
|
173
|
+
]
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
}],
|
|
177
|
+
"keyword": "And ",
|
|
178
|
+
"line": 16,
|
|
179
|
+
"name": "we print another table with stuff",
|
|
180
|
+
"match": {
|
|
181
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:54"
|
|
182
|
+
},
|
|
183
|
+
"result": {
|
|
184
|
+
"status": "passed",
|
|
185
|
+
"duration": 81434
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
"tags": [{
|
|
190
|
+
"name": "@reportTest",
|
|
191
|
+
"line": 1
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "@table",
|
|
195
|
+
"line": 10
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"type": "scenario"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"description": "",
|
|
202
|
+
"id": "lets-generate-some-test-data;i-use-1st-step-with-table",
|
|
203
|
+
"keyword": "Scenario Outline",
|
|
204
|
+
"line": 24,
|
|
205
|
+
"name": "I use 1st step with table",
|
|
206
|
+
"steps": [{
|
|
207
|
+
"arguments": [{
|
|
208
|
+
"rows": [{
|
|
209
|
+
"cells": [
|
|
210
|
+
"Cat-like creatures",
|
|
211
|
+
"Rating",
|
|
212
|
+
"Weird"
|
|
213
|
+
]
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"cells": [
|
|
217
|
+
"Actual cats",
|
|
218
|
+
"5",
|
|
219
|
+
"false"
|
|
220
|
+
]
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"cells": [
|
|
224
|
+
"Tigers",
|
|
225
|
+
"2",
|
|
226
|
+
"false"
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"cells": [
|
|
231
|
+
"Lions",
|
|
232
|
+
"10",
|
|
233
|
+
"false"
|
|
234
|
+
]
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"cells": [
|
|
238
|
+
"People pretending to be cats",
|
|
239
|
+
"10",
|
|
240
|
+
"true"
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
}],
|
|
245
|
+
"keyword": "And ",
|
|
246
|
+
"line": 25,
|
|
247
|
+
"name": "we print another table with stuff",
|
|
248
|
+
"match": {
|
|
249
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:54"
|
|
250
|
+
},
|
|
251
|
+
"result": {
|
|
252
|
+
"status": "passed",
|
|
253
|
+
"duration": 234134
|
|
254
|
+
}
|
|
255
|
+
}],
|
|
256
|
+
"tags": [{
|
|
257
|
+
"name": "@reportTest",
|
|
258
|
+
"line": 1
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "@outline",
|
|
262
|
+
"line": 23
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "@cyclical",
|
|
266
|
+
"line": 32
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"type": "scenario"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"description": "",
|
|
273
|
+
"id": "lets-generate-some-test-data;i-use-2nd-step-with-table",
|
|
274
|
+
"keyword": "Scenario Outline",
|
|
275
|
+
"line": 24,
|
|
276
|
+
"name": "I use 2nd step with table",
|
|
277
|
+
"steps": [{
|
|
278
|
+
"arguments": [{
|
|
279
|
+
"rows": [{
|
|
280
|
+
"cells": [
|
|
281
|
+
"Cat-like creatures",
|
|
282
|
+
"Rating",
|
|
283
|
+
"Weird"
|
|
284
|
+
]
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"cells": [
|
|
288
|
+
"Actual cats",
|
|
289
|
+
"5",
|
|
290
|
+
"false"
|
|
291
|
+
]
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"cells": [
|
|
295
|
+
"Tigers",
|
|
296
|
+
"2",
|
|
297
|
+
"false"
|
|
298
|
+
]
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"cells": [
|
|
302
|
+
"Lions",
|
|
303
|
+
"10",
|
|
304
|
+
"false"
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"cells": [
|
|
309
|
+
"People pretending to be cats",
|
|
310
|
+
"10",
|
|
311
|
+
"true"
|
|
312
|
+
]
|
|
313
|
+
}
|
|
314
|
+
]
|
|
315
|
+
}],
|
|
316
|
+
"keyword": "And ",
|
|
317
|
+
"line": 25,
|
|
318
|
+
"name": "we print another table with stuff",
|
|
319
|
+
"match": {
|
|
320
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:54"
|
|
321
|
+
},
|
|
322
|
+
"result": {
|
|
323
|
+
"status": "passed",
|
|
324
|
+
"duration": 56488
|
|
325
|
+
}
|
|
326
|
+
}],
|
|
327
|
+
"tags": [{
|
|
328
|
+
"name": "@reportTest",
|
|
329
|
+
"line": 1
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "@outline",
|
|
333
|
+
"line": 23
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"name": "@cyclical",
|
|
337
|
+
"line": 32
|
|
338
|
+
}
|
|
339
|
+
],
|
|
340
|
+
"type": "scenario"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"description": "",
|
|
344
|
+
"id": "lets-generate-some-test-data;i-use-3rd-step-with-table",
|
|
345
|
+
"keyword": "Scenario Outline",
|
|
346
|
+
"line": 24,
|
|
347
|
+
"name": "I use 3rd step with table",
|
|
348
|
+
"steps": [{
|
|
349
|
+
"arguments": [{
|
|
350
|
+
"rows": [{
|
|
351
|
+
"cells": [
|
|
352
|
+
"Cat-like creatures",
|
|
353
|
+
"Rating",
|
|
354
|
+
"Weird"
|
|
355
|
+
]
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"cells": [
|
|
359
|
+
"Actual cats",
|
|
360
|
+
"5",
|
|
361
|
+
"false"
|
|
362
|
+
]
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"cells": [
|
|
366
|
+
"Tigers",
|
|
367
|
+
"2",
|
|
368
|
+
"false"
|
|
369
|
+
]
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"cells": [
|
|
373
|
+
"Lions",
|
|
374
|
+
"10",
|
|
375
|
+
"false"
|
|
376
|
+
]
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"cells": [
|
|
380
|
+
"People pretending to be cats",
|
|
381
|
+
"10",
|
|
382
|
+
"true"
|
|
383
|
+
]
|
|
384
|
+
}
|
|
385
|
+
]
|
|
386
|
+
}],
|
|
387
|
+
"keyword": "And ",
|
|
388
|
+
"line": 25,
|
|
389
|
+
"name": "we print another table with stuff",
|
|
390
|
+
"match": {
|
|
391
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:54"
|
|
392
|
+
},
|
|
393
|
+
"result": {
|
|
394
|
+
"status": "passed",
|
|
395
|
+
"duration": 69159
|
|
396
|
+
}
|
|
397
|
+
}],
|
|
398
|
+
"tags": [{
|
|
399
|
+
"name": "@reportTest",
|
|
400
|
+
"line": 1
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"name": "@outline",
|
|
404
|
+
"line": 23
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"name": "@cyclical",
|
|
408
|
+
"line": 32
|
|
409
|
+
}
|
|
410
|
+
],
|
|
411
|
+
"type": "scenario"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"description": "",
|
|
415
|
+
"id": "lets-generate-some-test-data;i-use-4th-step-with-table",
|
|
416
|
+
"keyword": "Scenario Outline",
|
|
417
|
+
"line": 24,
|
|
418
|
+
"name": "I use 4th step with table",
|
|
419
|
+
"steps": [{
|
|
420
|
+
"arguments": [{
|
|
421
|
+
"rows": [{
|
|
422
|
+
"cells": [
|
|
423
|
+
"Cat-like creatures",
|
|
424
|
+
"Rating",
|
|
425
|
+
"Weird"
|
|
426
|
+
]
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"cells": [
|
|
430
|
+
"Actual cats",
|
|
431
|
+
"5",
|
|
432
|
+
"false"
|
|
433
|
+
]
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"cells": [
|
|
437
|
+
"Tigers",
|
|
438
|
+
"2",
|
|
439
|
+
"false"
|
|
440
|
+
]
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"cells": [
|
|
444
|
+
"Lions",
|
|
445
|
+
"10",
|
|
446
|
+
"false"
|
|
447
|
+
]
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"cells": [
|
|
451
|
+
"People pretending to be cats",
|
|
452
|
+
"10",
|
|
453
|
+
"true"
|
|
454
|
+
]
|
|
455
|
+
}
|
|
456
|
+
]
|
|
457
|
+
}],
|
|
458
|
+
"keyword": "And ",
|
|
459
|
+
"line": 25,
|
|
460
|
+
"name": "we print another table with stuff",
|
|
461
|
+
"match": {
|
|
462
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:54"
|
|
463
|
+
},
|
|
464
|
+
"result": {
|
|
465
|
+
"status": "passed",
|
|
466
|
+
"duration": 239677
|
|
467
|
+
}
|
|
468
|
+
}],
|
|
469
|
+
"tags": [{
|
|
470
|
+
"name": "@reportTest",
|
|
471
|
+
"line": 1
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"name": "@outline",
|
|
475
|
+
"line": 23
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"name": "@cyclical",
|
|
479
|
+
"line": 32
|
|
480
|
+
}
|
|
481
|
+
],
|
|
482
|
+
"type": "scenario"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"description": "",
|
|
486
|
+
"id": "lets-generate-some-test-data;i-use-5th-step-with-table",
|
|
487
|
+
"keyword": "Scenario Outline",
|
|
488
|
+
"line": 24,
|
|
489
|
+
"name": "I use 5th step with table",
|
|
490
|
+
"steps": [{
|
|
491
|
+
"arguments": [{
|
|
492
|
+
"rows": [{
|
|
493
|
+
"cells": [
|
|
494
|
+
"Cat-like creatures",
|
|
495
|
+
"Rating",
|
|
496
|
+
"Weird"
|
|
497
|
+
]
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"cells": [
|
|
501
|
+
"Actual cats",
|
|
502
|
+
"5",
|
|
503
|
+
"false"
|
|
504
|
+
]
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"cells": [
|
|
508
|
+
"Tigers",
|
|
509
|
+
"2",
|
|
510
|
+
"false"
|
|
511
|
+
]
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"cells": [
|
|
515
|
+
"Lions",
|
|
516
|
+
"10",
|
|
517
|
+
"false"
|
|
518
|
+
]
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"cells": [
|
|
522
|
+
"People pretending to be cats",
|
|
523
|
+
"10",
|
|
524
|
+
"true"
|
|
525
|
+
]
|
|
526
|
+
}
|
|
527
|
+
]
|
|
528
|
+
}],
|
|
529
|
+
"keyword": "And ",
|
|
530
|
+
"line": 25,
|
|
531
|
+
"name": "we print another table with stuff",
|
|
532
|
+
"match": {
|
|
533
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:54"
|
|
534
|
+
},
|
|
535
|
+
"result": {
|
|
536
|
+
"status": "passed",
|
|
537
|
+
"duration": 64815
|
|
538
|
+
}
|
|
539
|
+
}],
|
|
540
|
+
"tags": [{
|
|
541
|
+
"name": "@reportTest",
|
|
542
|
+
"line": 1
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"name": "@outline",
|
|
546
|
+
"line": 23
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"name": "@cyclical",
|
|
550
|
+
"line": 32
|
|
551
|
+
}
|
|
552
|
+
],
|
|
553
|
+
"type": "scenario"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"description": "",
|
|
557
|
+
"id": "lets-generate-some-test-data;i-use-6th-step-with-table",
|
|
558
|
+
"keyword": "Scenario Outline",
|
|
559
|
+
"line": 24,
|
|
560
|
+
"name": "I use 6th step with table",
|
|
561
|
+
"steps": [{
|
|
562
|
+
"arguments": [{
|
|
563
|
+
"rows": [{
|
|
564
|
+
"cells": [
|
|
565
|
+
"Cat-like creatures",
|
|
566
|
+
"Rating",
|
|
567
|
+
"Weird"
|
|
568
|
+
]
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"cells": [
|
|
572
|
+
"Actual cats",
|
|
573
|
+
"5",
|
|
574
|
+
"false"
|
|
575
|
+
]
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"cells": [
|
|
579
|
+
"Tigers",
|
|
580
|
+
"2",
|
|
581
|
+
"false"
|
|
582
|
+
]
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"cells": [
|
|
586
|
+
"Lions",
|
|
587
|
+
"10",
|
|
588
|
+
"false"
|
|
589
|
+
]
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"cells": [
|
|
593
|
+
"People pretending to be cats",
|
|
594
|
+
"10",
|
|
595
|
+
"true"
|
|
596
|
+
]
|
|
597
|
+
}
|
|
598
|
+
]
|
|
599
|
+
}],
|
|
600
|
+
"keyword": "And ",
|
|
601
|
+
"line": 25,
|
|
602
|
+
"name": "we print another table with stuff",
|
|
603
|
+
"match": {
|
|
604
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:54"
|
|
605
|
+
},
|
|
606
|
+
"result": {
|
|
607
|
+
"status": "passed",
|
|
608
|
+
"duration": 193336
|
|
609
|
+
}
|
|
610
|
+
}],
|
|
611
|
+
"tags": [{
|
|
612
|
+
"name": "@reportTest",
|
|
613
|
+
"line": 1
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"name": "@outline",
|
|
617
|
+
"line": 23
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"name": "@cyclical",
|
|
621
|
+
"line": 32
|
|
622
|
+
}
|
|
623
|
+
],
|
|
624
|
+
"type": "scenario"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"description": "",
|
|
628
|
+
"id": "lets-generate-some-test-data;i-use-7th-step-with-table",
|
|
629
|
+
"keyword": "Scenario Outline",
|
|
630
|
+
"line": 24,
|
|
631
|
+
"name": "I use 7th step with table",
|
|
632
|
+
"steps": [{
|
|
633
|
+
"arguments": [{
|
|
634
|
+
"rows": [{
|
|
635
|
+
"cells": [
|
|
636
|
+
"Cat-like creatures",
|
|
637
|
+
"Rating",
|
|
638
|
+
"Weird"
|
|
639
|
+
]
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"cells": [
|
|
643
|
+
"Actual cats",
|
|
644
|
+
"5",
|
|
645
|
+
"false"
|
|
646
|
+
]
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"cells": [
|
|
650
|
+
"Tigers",
|
|
651
|
+
"2",
|
|
652
|
+
"false"
|
|
653
|
+
]
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"cells": [
|
|
657
|
+
"Lions",
|
|
658
|
+
"10",
|
|
659
|
+
"false"
|
|
660
|
+
]
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"cells": [
|
|
664
|
+
"People pretending to be cats",
|
|
665
|
+
"10",
|
|
666
|
+
"true"
|
|
667
|
+
]
|
|
668
|
+
}
|
|
669
|
+
]
|
|
670
|
+
}],
|
|
671
|
+
"keyword": "And ",
|
|
672
|
+
"line": 25,
|
|
673
|
+
"name": "we print another table with stuff",
|
|
674
|
+
"match": {
|
|
675
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:54"
|
|
676
|
+
},
|
|
677
|
+
"result": {
|
|
678
|
+
"status": "passed",
|
|
679
|
+
"duration": 52531
|
|
680
|
+
}
|
|
681
|
+
}],
|
|
682
|
+
"tags": [{
|
|
683
|
+
"name": "@reportTest",
|
|
684
|
+
"line": 1
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"name": "@outline",
|
|
688
|
+
"line": 23
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"name": "@cyclical",
|
|
692
|
+
"line": 32
|
|
693
|
+
}
|
|
694
|
+
],
|
|
695
|
+
"type": "scenario"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"description": "",
|
|
699
|
+
"id": "lets-generate-some-test-data;i-use-8th-step-with-table",
|
|
700
|
+
"keyword": "Scenario Outline",
|
|
701
|
+
"line": 24,
|
|
702
|
+
"name": "I use 8th step with table",
|
|
703
|
+
"steps": [{
|
|
704
|
+
"arguments": [{
|
|
705
|
+
"rows": [{
|
|
706
|
+
"cells": [
|
|
707
|
+
"Cat-like creatures",
|
|
708
|
+
"Rating",
|
|
709
|
+
"Weird"
|
|
710
|
+
]
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"cells": [
|
|
714
|
+
"Actual cats",
|
|
715
|
+
"5",
|
|
716
|
+
"false"
|
|
717
|
+
]
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"cells": [
|
|
721
|
+
"Tigers",
|
|
722
|
+
"2",
|
|
723
|
+
"false"
|
|
724
|
+
]
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"cells": [
|
|
728
|
+
"Lions",
|
|
729
|
+
"10",
|
|
730
|
+
"false"
|
|
731
|
+
]
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"cells": [
|
|
735
|
+
"People pretending to be cats",
|
|
736
|
+
"10",
|
|
737
|
+
"true"
|
|
738
|
+
]
|
|
739
|
+
}
|
|
740
|
+
]
|
|
741
|
+
}],
|
|
742
|
+
"keyword": "And ",
|
|
743
|
+
"line": 25,
|
|
744
|
+
"name": "we print another table with stuff",
|
|
745
|
+
"match": {
|
|
746
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:54"
|
|
747
|
+
},
|
|
748
|
+
"result": {
|
|
749
|
+
"status": "passed",
|
|
750
|
+
"duration": 51532
|
|
751
|
+
}
|
|
752
|
+
}],
|
|
753
|
+
"tags": [{
|
|
754
|
+
"name": "@reportTest",
|
|
755
|
+
"line": 1
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"name": "@outline",
|
|
759
|
+
"line": 23
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"name": "@cyclical",
|
|
763
|
+
"line": 32
|
|
764
|
+
}
|
|
765
|
+
],
|
|
766
|
+
"type": "scenario"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"description": "",
|
|
770
|
+
"id": "lets-generate-some-test-data;i-use-9th-step-with-table",
|
|
771
|
+
"keyword": "Scenario Outline",
|
|
772
|
+
"line": 24,
|
|
773
|
+
"name": "I use 9th step with table",
|
|
774
|
+
"steps": [{
|
|
775
|
+
"arguments": [{
|
|
776
|
+
"rows": [{
|
|
777
|
+
"cells": [
|
|
778
|
+
"Cat-like creatures",
|
|
779
|
+
"Rating",
|
|
780
|
+
"Weird"
|
|
781
|
+
]
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"cells": [
|
|
785
|
+
"Actual cats",
|
|
786
|
+
"5",
|
|
787
|
+
"false"
|
|
788
|
+
]
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"cells": [
|
|
792
|
+
"Tigers",
|
|
793
|
+
"2",
|
|
794
|
+
"false"
|
|
795
|
+
]
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"cells": [
|
|
799
|
+
"Lions",
|
|
800
|
+
"10",
|
|
801
|
+
"false"
|
|
802
|
+
]
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"cells": [
|
|
806
|
+
"People pretending to be cats",
|
|
807
|
+
"10",
|
|
808
|
+
"true"
|
|
809
|
+
]
|
|
810
|
+
}
|
|
811
|
+
]
|
|
812
|
+
}],
|
|
813
|
+
"keyword": "And ",
|
|
814
|
+
"line": 25,
|
|
815
|
+
"name": "we print another table with stuff",
|
|
816
|
+
"match": {
|
|
817
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:54"
|
|
818
|
+
},
|
|
819
|
+
"result": {
|
|
820
|
+
"status": "passed",
|
|
821
|
+
"duration": 44951
|
|
822
|
+
}
|
|
823
|
+
}],
|
|
824
|
+
"tags": [{
|
|
825
|
+
"name": "@reportTest",
|
|
826
|
+
"line": 1
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
"name": "@outline",
|
|
830
|
+
"line": 23
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"name": "@cyclical",
|
|
834
|
+
"line": 32
|
|
835
|
+
}
|
|
836
|
+
],
|
|
837
|
+
"type": "scenario"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"description": "",
|
|
841
|
+
"id": "lets-generate-some-test-data;i-use-10th-step-with-table",
|
|
842
|
+
"keyword": "Scenario Outline",
|
|
843
|
+
"line": 24,
|
|
844
|
+
"name": "I use 10th step with table",
|
|
845
|
+
"steps": [{
|
|
846
|
+
"arguments": [{
|
|
847
|
+
"rows": [{
|
|
848
|
+
"cells": [
|
|
849
|
+
"Cat-like creatures",
|
|
850
|
+
"Rating",
|
|
851
|
+
"Weird"
|
|
852
|
+
]
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"cells": [
|
|
856
|
+
"Actual cats",
|
|
857
|
+
"5",
|
|
858
|
+
"false"
|
|
859
|
+
]
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
"cells": [
|
|
863
|
+
"Tigers",
|
|
864
|
+
"2",
|
|
865
|
+
"false"
|
|
866
|
+
]
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"cells": [
|
|
870
|
+
"Lions",
|
|
871
|
+
"10",
|
|
872
|
+
"false"
|
|
873
|
+
]
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"cells": [
|
|
877
|
+
"People pretending to be cats",
|
|
878
|
+
"10",
|
|
879
|
+
"true"
|
|
880
|
+
]
|
|
881
|
+
}
|
|
882
|
+
]
|
|
883
|
+
}],
|
|
884
|
+
"keyword": "And ",
|
|
885
|
+
"line": 25,
|
|
886
|
+
"name": "we print another table with stuff",
|
|
887
|
+
"match": {
|
|
888
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:54"
|
|
889
|
+
},
|
|
890
|
+
"result": {
|
|
891
|
+
"status": "passed",
|
|
892
|
+
"duration": 39206
|
|
893
|
+
}
|
|
894
|
+
}],
|
|
895
|
+
"tags": [{
|
|
896
|
+
"name": "@reportTest",
|
|
897
|
+
"line": 1
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
"name": "@outline",
|
|
901
|
+
"line": 23
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"name": "@cyclical",
|
|
905
|
+
"line": 32
|
|
906
|
+
}
|
|
907
|
+
],
|
|
908
|
+
"type": "scenario"
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"description": "",
|
|
912
|
+
"id": "lets-generate-some-test-data;i-use-11th-step-with-table",
|
|
913
|
+
"keyword": "Scenario Outline",
|
|
914
|
+
"line": 24,
|
|
915
|
+
"name": "I use 11th step with table",
|
|
916
|
+
"steps": [{
|
|
917
|
+
"arguments": [{
|
|
918
|
+
"rows": [{
|
|
919
|
+
"cells": [
|
|
920
|
+
"Cat-like creatures",
|
|
921
|
+
"Rating",
|
|
922
|
+
"Weird"
|
|
923
|
+
]
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"cells": [
|
|
927
|
+
"Actual cats",
|
|
928
|
+
"5",
|
|
929
|
+
"false"
|
|
930
|
+
]
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"cells": [
|
|
934
|
+
"Tigers",
|
|
935
|
+
"2",
|
|
936
|
+
"false"
|
|
937
|
+
]
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"cells": [
|
|
941
|
+
"Lions",
|
|
942
|
+
"10",
|
|
943
|
+
"false"
|
|
944
|
+
]
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"cells": [
|
|
948
|
+
"People pretending to be cats",
|
|
949
|
+
"10",
|
|
950
|
+
"true"
|
|
951
|
+
]
|
|
952
|
+
}
|
|
953
|
+
]
|
|
954
|
+
}],
|
|
955
|
+
"keyword": "And ",
|
|
956
|
+
"line": 25,
|
|
957
|
+
"name": "we print another table with stuff",
|
|
958
|
+
"match": {
|
|
959
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:54"
|
|
960
|
+
},
|
|
961
|
+
"result": {
|
|
962
|
+
"status": "passed",
|
|
963
|
+
"duration": 33423
|
|
964
|
+
}
|
|
965
|
+
}],
|
|
966
|
+
"tags": [{
|
|
967
|
+
"name": "@reportTest",
|
|
968
|
+
"line": 1
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
"name": "@outline",
|
|
972
|
+
"line": 23
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
"name": "@cyclical",
|
|
976
|
+
"line": 32
|
|
977
|
+
}
|
|
978
|
+
],
|
|
979
|
+
"type": "scenario"
|
|
980
|
+
}
|
|
981
|
+
],
|
|
982
|
+
"id": "lets-generate-some-test-data",
|
|
983
|
+
"line": 2,
|
|
984
|
+
"keyword": "Feature",
|
|
985
|
+
"name": "Lets generate some test data",
|
|
986
|
+
"tags": [{
|
|
987
|
+
"name": "@reportTest",
|
|
988
|
+
"line": 1
|
|
989
|
+
}],
|
|
990
|
+
"uri": "features/sample1.feature"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"description": "",
|
|
994
|
+
"elements": [{
|
|
995
|
+
"description": "",
|
|
996
|
+
"id": "generate-some-test-data;generate-some-errors",
|
|
997
|
+
"keyword": "Scenario",
|
|
998
|
+
"line": 5,
|
|
999
|
+
"name": "Generate some errors",
|
|
1000
|
+
"steps": [{
|
|
1001
|
+
"arguments": [],
|
|
1002
|
+
"keyword": "When ",
|
|
1003
|
+
"line": 6,
|
|
1004
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
1005
|
+
"match": {
|
|
1006
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
1007
|
+
},
|
|
1008
|
+
"result": {
|
|
1009
|
+
"status": "passed",
|
|
1010
|
+
"duration": 273505836
|
|
1011
|
+
},
|
|
1012
|
+
"embeddings": [{
|
|
1013
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
1014
|
+
"mime_type": "text/html"
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
"data": "{\"fact\":\"The silks created by weavers in Baghdad were inspired by the beautiful and varied colors and markings of cat coats. These fabrics were called 'tabby' by European traders.\",\"length\":174}",
|
|
1018
|
+
"mime_type": "application/json"
|
|
1019
|
+
}
|
|
1020
|
+
]
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"arguments": [],
|
|
1024
|
+
"keyword": "And ",
|
|
1025
|
+
"line": 7,
|
|
1026
|
+
"name": "the response parameter \"foo\" is a non zero number",
|
|
1027
|
+
"match": {
|
|
1028
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:44"
|
|
1029
|
+
},
|
|
1030
|
+
"result": {
|
|
1031
|
+
"status": "failed",
|
|
1032
|
+
"duration": 1477341,
|
|
1033
|
+
"error_message": "AssertionError: Parameter foo does not exist in the response.: expected undefined to be truthy\n at World.<anonymous> (file:///Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:48:76)"
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
],
|
|
1037
|
+
"tags": [{
|
|
1038
|
+
"name": "@reportTest",
|
|
1039
|
+
"line": 1
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"name": "@has_error",
|
|
1043
|
+
"line": 4
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"name": "@tag10",
|
|
1047
|
+
"line": 4
|
|
1048
|
+
}
|
|
1049
|
+
],
|
|
1050
|
+
"type": "scenario"
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"description": "",
|
|
1054
|
+
"id": "generate-some-test-data;i-use-a-step-with-table",
|
|
1055
|
+
"keyword": "Scenario",
|
|
1056
|
+
"line": 10,
|
|
1057
|
+
"name": "I use a step with table",
|
|
1058
|
+
"steps": [{
|
|
1059
|
+
"arguments": [],
|
|
1060
|
+
"keyword": "When ",
|
|
1061
|
+
"line": 11,
|
|
1062
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
1063
|
+
"match": {
|
|
1064
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
1065
|
+
},
|
|
1066
|
+
"result": {
|
|
1067
|
+
"status": "passed",
|
|
1068
|
+
"duration": 271019935
|
|
1069
|
+
},
|
|
1070
|
+
"embeddings": [{
|
|
1071
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
1072
|
+
"mime_type": "text/html"
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"data": "{\"fact\":\"Cats sleep 16 to 18 hours per day. When cats are asleep, they are still alert to incoming stimuli. If you poke the tail of a sleeping cat, it will respond accordingly.\",\"length\":167}",
|
|
1076
|
+
"mime_type": "application/json"
|
|
1077
|
+
}
|
|
1078
|
+
]
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"arguments": [],
|
|
1082
|
+
"keyword": "Then ",
|
|
1083
|
+
"line": 12,
|
|
1084
|
+
"name": "something skipped happens",
|
|
1085
|
+
"match": {
|
|
1086
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:58"
|
|
1087
|
+
},
|
|
1088
|
+
"result": {
|
|
1089
|
+
"status": "skipped",
|
|
1090
|
+
"duration": 95003
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
],
|
|
1094
|
+
"tags": [{
|
|
1095
|
+
"name": "@reportTest",
|
|
1096
|
+
"line": 1
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
"name": "@skipped",
|
|
1100
|
+
"line": 9
|
|
1101
|
+
}
|
|
1102
|
+
],
|
|
1103
|
+
"type": "scenario"
|
|
1104
|
+
}
|
|
1105
|
+
],
|
|
1106
|
+
"id": "generate-some-test-data",
|
|
1107
|
+
"line": 2,
|
|
1108
|
+
"keyword": "Feature",
|
|
1109
|
+
"name": "Generate some test data",
|
|
1110
|
+
"tags": [{
|
|
1111
|
+
"name": "@reportTest",
|
|
1112
|
+
"line": 1
|
|
1113
|
+
}],
|
|
1114
|
+
"uri": "features/sample10.feature"
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
"description": "",
|
|
1118
|
+
"elements": [{
|
|
1119
|
+
"description": "",
|
|
1120
|
+
"id": "lets-generate-some-test-data;call-cat-facts-api-to-show-off-attaching-a-link,-a-text-and-a-json",
|
|
1121
|
+
"keyword": "Scenario",
|
|
1122
|
+
"line": 5,
|
|
1123
|
+
"name": "Call cat facts api to show off attaching a link, a text and a json",
|
|
1124
|
+
"steps": [{
|
|
1125
|
+
"arguments": [],
|
|
1126
|
+
"keyword": "When ",
|
|
1127
|
+
"line": 6,
|
|
1128
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
1129
|
+
"match": {
|
|
1130
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
1131
|
+
},
|
|
1132
|
+
"result": {
|
|
1133
|
+
"status": "passed",
|
|
1134
|
+
"duration": 254092666
|
|
1135
|
+
},
|
|
1136
|
+
"embeddings": [{
|
|
1137
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
1138
|
+
"mime_type": "text/html"
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
"data": "{\"fact\":\"If they have ample water, cats can tolerate temperatures up to 133 °F.\",\"length\":70}",
|
|
1142
|
+
"mime_type": "application/json"
|
|
1143
|
+
}
|
|
1144
|
+
]
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"arguments": [],
|
|
1148
|
+
"keyword": "Then ",
|
|
1149
|
+
"line": 7,
|
|
1150
|
+
"name": "Response was okay",
|
|
1151
|
+
"match": {
|
|
1152
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:27"
|
|
1153
|
+
},
|
|
1154
|
+
"result": {
|
|
1155
|
+
"status": "passed",
|
|
1156
|
+
"duration": 129689
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
"arguments": [],
|
|
1161
|
+
"keyword": "And ",
|
|
1162
|
+
"line": 8,
|
|
1163
|
+
"name": "Response contains a cat fact",
|
|
1164
|
+
"match": {
|
|
1165
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:21"
|
|
1166
|
+
},
|
|
1167
|
+
"result": {
|
|
1168
|
+
"status": "passed",
|
|
1169
|
+
"duration": 165617
|
|
1170
|
+
},
|
|
1171
|
+
"embeddings": [{
|
|
1172
|
+
"data": "Cat fact: If they have ample water, cats can tolerate temperatures up to 133 °F.",
|
|
1173
|
+
"mime_type": "text/plain"
|
|
1174
|
+
}]
|
|
1175
|
+
}
|
|
1176
|
+
],
|
|
1177
|
+
"tags": [{
|
|
1178
|
+
"name": "@reportTest",
|
|
1179
|
+
"line": 1
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
"name": "@catfacts",
|
|
1183
|
+
"line": 4
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"name": "@tag11",
|
|
1187
|
+
"line": 4
|
|
1188
|
+
}
|
|
1189
|
+
],
|
|
1190
|
+
"type": "scenario"
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"description": "",
|
|
1194
|
+
"id": "lets-generate-some-test-data;i-use-a-step-with-table",
|
|
1195
|
+
"keyword": "Scenario",
|
|
1196
|
+
"line": 11,
|
|
1197
|
+
"name": "I use a step with table",
|
|
1198
|
+
"steps": [{
|
|
1199
|
+
"arguments": [],
|
|
1200
|
+
"keyword": "When ",
|
|
1201
|
+
"line": 12,
|
|
1202
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
1203
|
+
"match": {
|
|
1204
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
1205
|
+
},
|
|
1206
|
+
"result": {
|
|
1207
|
+
"status": "passed",
|
|
1208
|
+
"duration": 274903470
|
|
1209
|
+
},
|
|
1210
|
+
"embeddings": [{
|
|
1211
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
1212
|
+
"mime_type": "text/html"
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
"data": "{\"fact\":\"A cat's smell is their strongest sense, and they rely on this leading sense to identify people and objects; a feline's sense of smell is 14x better than a human's.\",\"length\":163}",
|
|
1216
|
+
"mime_type": "application/json"
|
|
1217
|
+
}
|
|
1218
|
+
]
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
"arguments": [{
|
|
1222
|
+
"rows": [{
|
|
1223
|
+
"cells": [
|
|
1224
|
+
"fact",
|
|
1225
|
+
"length"
|
|
1226
|
+
]
|
|
1227
|
+
}]
|
|
1228
|
+
}],
|
|
1229
|
+
"keyword": "Then ",
|
|
1230
|
+
"line": 13,
|
|
1231
|
+
"name": "the response has the following parameters:",
|
|
1232
|
+
"match": {
|
|
1233
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:32"
|
|
1234
|
+
},
|
|
1235
|
+
"result": {
|
|
1236
|
+
"status": "passed",
|
|
1237
|
+
"duration": 152403
|
|
1238
|
+
}
|
|
1239
|
+
},
|
|
1240
|
+
{
|
|
1241
|
+
"arguments": [],
|
|
1242
|
+
"keyword": "And ",
|
|
1243
|
+
"line": 15,
|
|
1244
|
+
"name": "the response parameter \"length\" is a non zero number",
|
|
1245
|
+
"match": {
|
|
1246
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:44"
|
|
1247
|
+
},
|
|
1248
|
+
"result": {
|
|
1249
|
+
"status": "passed",
|
|
1250
|
+
"duration": 203274
|
|
1251
|
+
}
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"arguments": [{
|
|
1255
|
+
"rows": [{
|
|
1256
|
+
"cells": [
|
|
1257
|
+
"Cat-like creatures",
|
|
1258
|
+
"Rating",
|
|
1259
|
+
"Weird"
|
|
1260
|
+
]
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"cells": [
|
|
1264
|
+
"Actual cats",
|
|
1265
|
+
"5",
|
|
1266
|
+
"false"
|
|
1267
|
+
]
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"cells": [
|
|
1271
|
+
"Tigers",
|
|
1272
|
+
"2",
|
|
1273
|
+
"false"
|
|
1274
|
+
]
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"cells": [
|
|
1278
|
+
"Lions",
|
|
1279
|
+
"10",
|
|
1280
|
+
"false"
|
|
1281
|
+
]
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"cells": [
|
|
1285
|
+
"People pretending to be cats",
|
|
1286
|
+
"10",
|
|
1287
|
+
"true"
|
|
1288
|
+
]
|
|
1289
|
+
}
|
|
1290
|
+
]
|
|
1291
|
+
}],
|
|
1292
|
+
"keyword": "And ",
|
|
1293
|
+
"line": 16,
|
|
1294
|
+
"name": "we print another table with stuff",
|
|
1295
|
+
"match": {
|
|
1296
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:54"
|
|
1297
|
+
},
|
|
1298
|
+
"result": {
|
|
1299
|
+
"status": "passed",
|
|
1300
|
+
"duration": 46786
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
],
|
|
1304
|
+
"tags": [{
|
|
1305
|
+
"name": "@reportTest",
|
|
1306
|
+
"line": 1
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"name": "@table",
|
|
1310
|
+
"line": 10
|
|
1311
|
+
}
|
|
1312
|
+
],
|
|
1313
|
+
"type": "scenario"
|
|
1314
|
+
}
|
|
1315
|
+
],
|
|
1316
|
+
"id": "lets-generate-some-test-data",
|
|
1317
|
+
"line": 2,
|
|
1318
|
+
"keyword": "Feature",
|
|
1319
|
+
"name": "Lets generate some test data",
|
|
1320
|
+
"tags": [{
|
|
1321
|
+
"name": "@reportTest",
|
|
1322
|
+
"line": 1
|
|
1323
|
+
}],
|
|
1324
|
+
"uri": "features/sample11.feature"
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"description": "",
|
|
1328
|
+
"elements": [{
|
|
1329
|
+
"description": "",
|
|
1330
|
+
"id": "generate-some-test-data;generate-some-errors",
|
|
1331
|
+
"keyword": "Scenario",
|
|
1332
|
+
"line": 5,
|
|
1333
|
+
"name": "Generate some errors",
|
|
1334
|
+
"steps": [{
|
|
1335
|
+
"arguments": [],
|
|
1336
|
+
"keyword": "When ",
|
|
1337
|
+
"line": 6,
|
|
1338
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
1339
|
+
"match": {
|
|
1340
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
1341
|
+
},
|
|
1342
|
+
"result": {
|
|
1343
|
+
"status": "passed",
|
|
1344
|
+
"duration": 279207114
|
|
1345
|
+
},
|
|
1346
|
+
"embeddings": [{
|
|
1347
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
1348
|
+
"mime_type": "text/html"
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
"data": "{\"fact\":\"The most traveled cat is Hamlet, who escaped from his carrier while on a flight. He hid for seven weeks behind a panel on the airplane. By the time he was discovered, he had traveled nearly 373,000 miles (600,000 km).\",\"length\":217}",
|
|
1352
|
+
"mime_type": "application/json"
|
|
1353
|
+
}
|
|
1354
|
+
]
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"arguments": [],
|
|
1358
|
+
"keyword": "And ",
|
|
1359
|
+
"line": 7,
|
|
1360
|
+
"name": "the response parameter \"foo\" is a non zero number",
|
|
1361
|
+
"match": {
|
|
1362
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:44"
|
|
1363
|
+
},
|
|
1364
|
+
"result": {
|
|
1365
|
+
"status": "failed",
|
|
1366
|
+
"duration": 410156,
|
|
1367
|
+
"error_message": "AssertionError: Parameter foo does not exist in the response.: expected undefined to be truthy\n at World.<anonymous> (file:///Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:48:76)"
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
],
|
|
1371
|
+
"tags": [{
|
|
1372
|
+
"name": "@reportTest",
|
|
1373
|
+
"line": 1
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
"name": "@has_error",
|
|
1377
|
+
"line": 4
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
"name": "@tag12",
|
|
1381
|
+
"line": 4
|
|
1382
|
+
}
|
|
1383
|
+
],
|
|
1384
|
+
"type": "scenario"
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"description": "",
|
|
1388
|
+
"id": "generate-some-test-data;i-use-a-step-with-table",
|
|
1389
|
+
"keyword": "Scenario",
|
|
1390
|
+
"line": 10,
|
|
1391
|
+
"name": "I use a step with table",
|
|
1392
|
+
"steps": [{
|
|
1393
|
+
"arguments": [],
|
|
1394
|
+
"keyword": "When ",
|
|
1395
|
+
"line": 11,
|
|
1396
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
1397
|
+
"match": {
|
|
1398
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
1399
|
+
},
|
|
1400
|
+
"result": {
|
|
1401
|
+
"status": "passed",
|
|
1402
|
+
"duration": 258926628
|
|
1403
|
+
},
|
|
1404
|
+
"embeddings": [{
|
|
1405
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
1406
|
+
"mime_type": "text/html"
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"data": "{\"fact\":\"Julius Ceasar, Henri II, Charles XI, and Napoleon were all afraid of cats.\",\"length\":74}",
|
|
1410
|
+
"mime_type": "application/json"
|
|
1411
|
+
}
|
|
1412
|
+
]
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"arguments": [],
|
|
1416
|
+
"keyword": "Then ",
|
|
1417
|
+
"line": 12,
|
|
1418
|
+
"name": "something skipped happens",
|
|
1419
|
+
"match": {
|
|
1420
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:58"
|
|
1421
|
+
},
|
|
1422
|
+
"result": {
|
|
1423
|
+
"status": "skipped",
|
|
1424
|
+
"duration": 70946
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
],
|
|
1428
|
+
"tags": [{
|
|
1429
|
+
"name": "@reportTest",
|
|
1430
|
+
"line": 1
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"name": "@skipped",
|
|
1434
|
+
"line": 9
|
|
1435
|
+
}
|
|
1436
|
+
],
|
|
1437
|
+
"type": "scenario"
|
|
1438
|
+
}
|
|
1439
|
+
],
|
|
1440
|
+
"id": "generate-some-test-data",
|
|
1441
|
+
"line": 2,
|
|
1442
|
+
"keyword": "Feature",
|
|
1443
|
+
"name": "Generate some test data",
|
|
1444
|
+
"tags": [{
|
|
1445
|
+
"name": "@reportTest",
|
|
1446
|
+
"line": 1
|
|
1447
|
+
}],
|
|
1448
|
+
"uri": "features/sample12.feature"
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
"description": "",
|
|
1452
|
+
"elements": [{
|
|
1453
|
+
"description": "",
|
|
1454
|
+
"id": "generate-some-test-data;generate-some-errors",
|
|
1455
|
+
"keyword": "Scenario",
|
|
1456
|
+
"line": 5,
|
|
1457
|
+
"name": "Generate some errors",
|
|
1458
|
+
"steps": [{
|
|
1459
|
+
"arguments": [],
|
|
1460
|
+
"keyword": "When ",
|
|
1461
|
+
"line": 6,
|
|
1462
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
1463
|
+
"match": {
|
|
1464
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
1465
|
+
},
|
|
1466
|
+
"result": {
|
|
1467
|
+
"status": "passed",
|
|
1468
|
+
"duration": 269402215
|
|
1469
|
+
},
|
|
1470
|
+
"embeddings": [{
|
|
1471
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
1472
|
+
"mime_type": "text/html"
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"data": "{\"fact\":\"A 2007 Gallup poll revealed that both men and women were equally likely to own a cat.\",\"length\":85}",
|
|
1476
|
+
"mime_type": "application/json"
|
|
1477
|
+
}
|
|
1478
|
+
]
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
"arguments": [],
|
|
1482
|
+
"keyword": "And ",
|
|
1483
|
+
"line": 7,
|
|
1484
|
+
"name": "the response parameter \"foo\" is a non zero number",
|
|
1485
|
+
"match": {
|
|
1486
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:44"
|
|
1487
|
+
},
|
|
1488
|
+
"result": {
|
|
1489
|
+
"status": "failed",
|
|
1490
|
+
"duration": 282145,
|
|
1491
|
+
"error_message": "AssertionError: Parameter foo does not exist in the response.: expected undefined to be truthy\n at World.<anonymous> (file:///Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:48:76)"
|
|
1492
|
+
}
|
|
1493
|
+
}
|
|
1494
|
+
],
|
|
1495
|
+
"tags": [{
|
|
1496
|
+
"name": "@reportTest",
|
|
1497
|
+
"line": 1
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
"name": "@has_error",
|
|
1501
|
+
"line": 4
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
"name": "@tag2",
|
|
1505
|
+
"line": 4
|
|
1506
|
+
}
|
|
1507
|
+
],
|
|
1508
|
+
"type": "scenario"
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"description": "",
|
|
1512
|
+
"id": "generate-some-test-data;i-use-a-step-with-table",
|
|
1513
|
+
"keyword": "Scenario",
|
|
1514
|
+
"line": 10,
|
|
1515
|
+
"name": "I use a step with table",
|
|
1516
|
+
"steps": [{
|
|
1517
|
+
"arguments": [],
|
|
1518
|
+
"keyword": "When ",
|
|
1519
|
+
"line": 11,
|
|
1520
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
1521
|
+
"match": {
|
|
1522
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
1523
|
+
},
|
|
1524
|
+
"result": {
|
|
1525
|
+
"status": "passed",
|
|
1526
|
+
"duration": 268751827
|
|
1527
|
+
},
|
|
1528
|
+
"embeddings": [{
|
|
1529
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
1530
|
+
"mime_type": "text/html"
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
"data": "{\"fact\":\"Cats lived with soldiers in trenches, where they killed mice during World War I.\",\"length\":80}",
|
|
1534
|
+
"mime_type": "application/json"
|
|
1535
|
+
}
|
|
1536
|
+
]
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
"arguments": [],
|
|
1540
|
+
"keyword": "Then ",
|
|
1541
|
+
"line": 12,
|
|
1542
|
+
"name": "something skipped happens",
|
|
1543
|
+
"match": {
|
|
1544
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:58"
|
|
1545
|
+
},
|
|
1546
|
+
"result": {
|
|
1547
|
+
"status": "skipped",
|
|
1548
|
+
"duration": 63156
|
|
1549
|
+
}
|
|
1550
|
+
}
|
|
1551
|
+
],
|
|
1552
|
+
"tags": [{
|
|
1553
|
+
"name": "@reportTest",
|
|
1554
|
+
"line": 1
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"name": "@skipped",
|
|
1558
|
+
"line": 9
|
|
1559
|
+
}
|
|
1560
|
+
],
|
|
1561
|
+
"type": "scenario"
|
|
1562
|
+
}
|
|
1563
|
+
],
|
|
1564
|
+
"id": "generate-some-test-data",
|
|
1565
|
+
"line": 2,
|
|
1566
|
+
"keyword": "Feature",
|
|
1567
|
+
"name": "Generate some test data",
|
|
1568
|
+
"tags": [{
|
|
1569
|
+
"name": "@reportTest",
|
|
1570
|
+
"line": 1
|
|
1571
|
+
}],
|
|
1572
|
+
"uri": "features/sample2.feature"
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
"description": "",
|
|
1576
|
+
"elements": [{
|
|
1577
|
+
"description": "",
|
|
1578
|
+
"id": "lets-generate-some-test-data;call-cat-facts-api-to-show-off-attaching-a-link,-a-text-and-a-json",
|
|
1579
|
+
"keyword": "Scenario",
|
|
1580
|
+
"line": 5,
|
|
1581
|
+
"name": "Call cat facts api to show off attaching a link, a text and a json",
|
|
1582
|
+
"steps": [{
|
|
1583
|
+
"arguments": [],
|
|
1584
|
+
"keyword": "When ",
|
|
1585
|
+
"line": 6,
|
|
1586
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
1587
|
+
"match": {
|
|
1588
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
1589
|
+
},
|
|
1590
|
+
"result": {
|
|
1591
|
+
"status": "passed",
|
|
1592
|
+
"duration": 980307441
|
|
1593
|
+
},
|
|
1594
|
+
"embeddings": [{
|
|
1595
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
1596
|
+
"mime_type": "text/html"
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
"data": "{\"fact\":\"The first cartoon cat was Felix the Cat in 1919. In 1940, Tom and Jerry starred in the first theatrical cartoon “Puss Gets the Boot.” In 1981 Andrew Lloyd Weber created the musical Cats, based on T.S. Eliot’s Old Possum’s Book of Practical Cats.\",\"length\":245}",
|
|
1600
|
+
"mime_type": "application/json"
|
|
1601
|
+
}
|
|
1602
|
+
]
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
"arguments": [],
|
|
1606
|
+
"keyword": "Then ",
|
|
1607
|
+
"line": 7,
|
|
1608
|
+
"name": "Response was okay",
|
|
1609
|
+
"match": {
|
|
1610
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:27"
|
|
1611
|
+
},
|
|
1612
|
+
"result": {
|
|
1613
|
+
"status": "passed",
|
|
1614
|
+
"duration": 132563
|
|
1615
|
+
}
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
"arguments": [],
|
|
1619
|
+
"keyword": "And ",
|
|
1620
|
+
"line": 8,
|
|
1621
|
+
"name": "Response contains a cat fact",
|
|
1622
|
+
"match": {
|
|
1623
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:21"
|
|
1624
|
+
},
|
|
1625
|
+
"result": {
|
|
1626
|
+
"status": "passed",
|
|
1627
|
+
"duration": 137327
|
|
1628
|
+
},
|
|
1629
|
+
"embeddings": [{
|
|
1630
|
+
"data": "Cat fact: The first cartoon cat was Felix the Cat in 1919. In 1940, Tom and Jerry starred in the first theatrical cartoon “Puss Gets the Boot.” In 1981 Andrew Lloyd Weber created the musical Cats, based on T.S. Eliot’s Old Possum’s Book of Practical Cats.",
|
|
1631
|
+
"mime_type": "text/plain"
|
|
1632
|
+
}]
|
|
1633
|
+
}
|
|
1634
|
+
],
|
|
1635
|
+
"tags": [{
|
|
1636
|
+
"name": "@reportTest",
|
|
1637
|
+
"line": 1
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
"name": "@catfacts",
|
|
1641
|
+
"line": 4
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"name": "@tag3",
|
|
1645
|
+
"line": 4
|
|
1646
|
+
}
|
|
1647
|
+
],
|
|
1648
|
+
"type": "scenario"
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
"description": "",
|
|
1652
|
+
"id": "lets-generate-some-test-data;i-use-a-step-with-table",
|
|
1653
|
+
"keyword": "Scenario",
|
|
1654
|
+
"line": 11,
|
|
1655
|
+
"name": "I use a step with table",
|
|
1656
|
+
"steps": [{
|
|
1657
|
+
"arguments": [],
|
|
1658
|
+
"keyword": "When ",
|
|
1659
|
+
"line": 12,
|
|
1660
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
1661
|
+
"match": {
|
|
1662
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
1663
|
+
},
|
|
1664
|
+
"result": {
|
|
1665
|
+
"status": "passed",
|
|
1666
|
+
"duration": 252092494
|
|
1667
|
+
},
|
|
1668
|
+
"embeddings": [{
|
|
1669
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
1670
|
+
"mime_type": "text/html"
|
|
1671
|
+
},
|
|
1672
|
+
{
|
|
1673
|
+
"data": "{\"fact\":\"Neutering a cat extends its life span by two or three years.\",\"length\":60}",
|
|
1674
|
+
"mime_type": "application/json"
|
|
1675
|
+
}
|
|
1676
|
+
]
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
"arguments": [{
|
|
1680
|
+
"rows": [{
|
|
1681
|
+
"cells": [
|
|
1682
|
+
"fact",
|
|
1683
|
+
"length"
|
|
1684
|
+
]
|
|
1685
|
+
}]
|
|
1686
|
+
}],
|
|
1687
|
+
"keyword": "Then ",
|
|
1688
|
+
"line": 13,
|
|
1689
|
+
"name": "the response has the following parameters:",
|
|
1690
|
+
"match": {
|
|
1691
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:32"
|
|
1692
|
+
},
|
|
1693
|
+
"result": {
|
|
1694
|
+
"status": "passed",
|
|
1695
|
+
"duration": 132827
|
|
1696
|
+
}
|
|
1697
|
+
},
|
|
1698
|
+
{
|
|
1699
|
+
"arguments": [],
|
|
1700
|
+
"keyword": "And ",
|
|
1701
|
+
"line": 15,
|
|
1702
|
+
"name": "the response parameter \"length\" is a non zero number",
|
|
1703
|
+
"match": {
|
|
1704
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:44"
|
|
1705
|
+
},
|
|
1706
|
+
"result": {
|
|
1707
|
+
"status": "passed",
|
|
1708
|
+
"duration": 314685
|
|
1709
|
+
}
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"arguments": [{
|
|
1713
|
+
"rows": [{
|
|
1714
|
+
"cells": [
|
|
1715
|
+
"Cat-like creatures",
|
|
1716
|
+
"Rating",
|
|
1717
|
+
"Weird"
|
|
1718
|
+
]
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
"cells": [
|
|
1722
|
+
"Actual cats",
|
|
1723
|
+
"5",
|
|
1724
|
+
"false"
|
|
1725
|
+
]
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"cells": [
|
|
1729
|
+
"Tigers",
|
|
1730
|
+
"2",
|
|
1731
|
+
"false"
|
|
1732
|
+
]
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"cells": [
|
|
1736
|
+
"Lions",
|
|
1737
|
+
"10",
|
|
1738
|
+
"false"
|
|
1739
|
+
]
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
"cells": [
|
|
1743
|
+
"People pretending to be cats",
|
|
1744
|
+
"10",
|
|
1745
|
+
"true"
|
|
1746
|
+
]
|
|
1747
|
+
}
|
|
1748
|
+
]
|
|
1749
|
+
}],
|
|
1750
|
+
"keyword": "And ",
|
|
1751
|
+
"line": 16,
|
|
1752
|
+
"name": "we print another table with stuff",
|
|
1753
|
+
"match": {
|
|
1754
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:54"
|
|
1755
|
+
},
|
|
1756
|
+
"result": {
|
|
1757
|
+
"status": "passed",
|
|
1758
|
+
"duration": 51696
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
],
|
|
1762
|
+
"tags": [{
|
|
1763
|
+
"name": "@reportTest",
|
|
1764
|
+
"line": 1
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"name": "@table",
|
|
1768
|
+
"line": 10
|
|
1769
|
+
}
|
|
1770
|
+
],
|
|
1771
|
+
"type": "scenario"
|
|
1772
|
+
}
|
|
1773
|
+
],
|
|
1774
|
+
"id": "lets-generate-some-test-data",
|
|
1775
|
+
"line": 2,
|
|
1776
|
+
"keyword": "Feature",
|
|
1777
|
+
"name": "Lets generate some test data",
|
|
1778
|
+
"tags": [{
|
|
1779
|
+
"name": "@reportTest",
|
|
1780
|
+
"line": 1
|
|
1781
|
+
}],
|
|
1782
|
+
"uri": "features/sample3.feature"
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"description": "",
|
|
1786
|
+
"elements": [{
|
|
1787
|
+
"description": "",
|
|
1788
|
+
"id": "generate-some-test-data;generate-some-errors",
|
|
1789
|
+
"keyword": "Scenario",
|
|
1790
|
+
"line": 5,
|
|
1791
|
+
"name": "Generate some errors",
|
|
1792
|
+
"steps": [{
|
|
1793
|
+
"arguments": [],
|
|
1794
|
+
"keyword": "When ",
|
|
1795
|
+
"line": 6,
|
|
1796
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
1797
|
+
"match": {
|
|
1798
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
1799
|
+
},
|
|
1800
|
+
"result": {
|
|
1801
|
+
"status": "passed",
|
|
1802
|
+
"duration": 258365528
|
|
1803
|
+
},
|
|
1804
|
+
"embeddings": [{
|
|
1805
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
1806
|
+
"mime_type": "text/html"
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
"data": "{\"fact\":\"In ancient Egypt, when a family cat died, all family members would shave their eyebrows as a sign of mourning.\",\"length\":110}",
|
|
1810
|
+
"mime_type": "application/json"
|
|
1811
|
+
}
|
|
1812
|
+
]
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"arguments": [],
|
|
1816
|
+
"keyword": "And ",
|
|
1817
|
+
"line": 7,
|
|
1818
|
+
"name": "the response parameter \"foo\" is a non zero number",
|
|
1819
|
+
"match": {
|
|
1820
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:44"
|
|
1821
|
+
},
|
|
1822
|
+
"result": {
|
|
1823
|
+
"status": "failed",
|
|
1824
|
+
"duration": 306823,
|
|
1825
|
+
"error_message": "AssertionError: Parameter foo does not exist in the response.: expected undefined to be truthy\n at World.<anonymous> (file:///Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:48:76)"
|
|
1826
|
+
}
|
|
1827
|
+
}
|
|
1828
|
+
],
|
|
1829
|
+
"tags": [{
|
|
1830
|
+
"name": "@reportTest",
|
|
1831
|
+
"line": 1
|
|
1832
|
+
},
|
|
1833
|
+
{
|
|
1834
|
+
"name": "@has_error",
|
|
1835
|
+
"line": 4
|
|
1836
|
+
},
|
|
1837
|
+
{
|
|
1838
|
+
"name": "@tag4",
|
|
1839
|
+
"line": 4
|
|
1840
|
+
}
|
|
1841
|
+
],
|
|
1842
|
+
"type": "scenario"
|
|
1843
|
+
},
|
|
1844
|
+
{
|
|
1845
|
+
"description": "",
|
|
1846
|
+
"id": "generate-some-test-data;i-use-a-step-with-table",
|
|
1847
|
+
"keyword": "Scenario",
|
|
1848
|
+
"line": 10,
|
|
1849
|
+
"name": "I use a step with table",
|
|
1850
|
+
"steps": [{
|
|
1851
|
+
"arguments": [],
|
|
1852
|
+
"keyword": "When ",
|
|
1853
|
+
"line": 11,
|
|
1854
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
1855
|
+
"match": {
|
|
1856
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
1857
|
+
},
|
|
1858
|
+
"result": {
|
|
1859
|
+
"status": "passed",
|
|
1860
|
+
"duration": 266182950
|
|
1861
|
+
},
|
|
1862
|
+
"embeddings": [{
|
|
1863
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
1864
|
+
"mime_type": "text/html"
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"data": "{\"fact\":\"It may take as long as 2 weeks for a kitten to be able to hear well. Their eyes usually open between 7 and 10 days, but sometimes it happens in as little as 2 days.\",\"length\":165}",
|
|
1868
|
+
"mime_type": "application/json"
|
|
1869
|
+
}
|
|
1870
|
+
]
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
"arguments": [],
|
|
1874
|
+
"keyword": "Then ",
|
|
1875
|
+
"line": 12,
|
|
1876
|
+
"name": "something skipped happens",
|
|
1877
|
+
"match": {
|
|
1878
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:58"
|
|
1879
|
+
},
|
|
1880
|
+
"result": {
|
|
1881
|
+
"status": "skipped",
|
|
1882
|
+
"duration": 42777
|
|
1883
|
+
}
|
|
1884
|
+
}
|
|
1885
|
+
],
|
|
1886
|
+
"tags": [{
|
|
1887
|
+
"name": "@reportTest",
|
|
1888
|
+
"line": 1
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"name": "@skipped",
|
|
1892
|
+
"line": 9
|
|
1893
|
+
}
|
|
1894
|
+
],
|
|
1895
|
+
"type": "scenario"
|
|
1896
|
+
}
|
|
1897
|
+
],
|
|
1898
|
+
"id": "generate-some-test-data",
|
|
1899
|
+
"line": 2,
|
|
1900
|
+
"keyword": "Feature",
|
|
1901
|
+
"name": "Generate some test data",
|
|
1902
|
+
"tags": [{
|
|
1903
|
+
"name": "@reportTest",
|
|
1904
|
+
"line": 1
|
|
1905
|
+
}],
|
|
1906
|
+
"uri": "features/sample4.feature"
|
|
1907
|
+
},
|
|
1908
|
+
{
|
|
1909
|
+
"description": "",
|
|
1910
|
+
"elements": [{
|
|
1911
|
+
"description": "",
|
|
1912
|
+
"id": "lets-generate-some-test-data;call-cat-facts-api-to-show-off-attaching-a-link,-a-text-and-a-json",
|
|
1913
|
+
"keyword": "Scenario",
|
|
1914
|
+
"line": 5,
|
|
1915
|
+
"name": "Call cat facts api to show off attaching a link, a text and a json",
|
|
1916
|
+
"steps": [{
|
|
1917
|
+
"arguments": [],
|
|
1918
|
+
"keyword": "When ",
|
|
1919
|
+
"line": 6,
|
|
1920
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
1921
|
+
"match": {
|
|
1922
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
1923
|
+
},
|
|
1924
|
+
"result": {
|
|
1925
|
+
"status": "passed",
|
|
1926
|
+
"duration": 272174623
|
|
1927
|
+
},
|
|
1928
|
+
"embeddings": [{
|
|
1929
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
1930
|
+
"mime_type": "text/html"
|
|
1931
|
+
},
|
|
1932
|
+
{
|
|
1933
|
+
"data": "{\"fact\":\"Cats sleep 16 to 18 hours per day. When cats are asleep, they are still alert to incoming stimuli. If you poke the tail of a sleeping cat, it will respond accordingly.\",\"length\":167}",
|
|
1934
|
+
"mime_type": "application/json"
|
|
1935
|
+
}
|
|
1936
|
+
]
|
|
1937
|
+
},
|
|
1938
|
+
{
|
|
1939
|
+
"arguments": [],
|
|
1940
|
+
"keyword": "Then ",
|
|
1941
|
+
"line": 7,
|
|
1942
|
+
"name": "Response was okay",
|
|
1943
|
+
"match": {
|
|
1944
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:27"
|
|
1945
|
+
},
|
|
1946
|
+
"result": {
|
|
1947
|
+
"status": "passed",
|
|
1948
|
+
"duration": 108684
|
|
1949
|
+
}
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
"arguments": [],
|
|
1953
|
+
"keyword": "And ",
|
|
1954
|
+
"line": 8,
|
|
1955
|
+
"name": "Response contains a cat fact",
|
|
1956
|
+
"match": {
|
|
1957
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:21"
|
|
1958
|
+
},
|
|
1959
|
+
"result": {
|
|
1960
|
+
"status": "passed",
|
|
1961
|
+
"duration": 110446
|
|
1962
|
+
},
|
|
1963
|
+
"embeddings": [{
|
|
1964
|
+
"data": "Cat fact: Cats sleep 16 to 18 hours per day. When cats are asleep, they are still alert to incoming stimuli. If you poke the tail of a sleeping cat, it will respond accordingly.",
|
|
1965
|
+
"mime_type": "text/plain"
|
|
1966
|
+
}]
|
|
1967
|
+
}
|
|
1968
|
+
],
|
|
1969
|
+
"tags": [{
|
|
1970
|
+
"name": "@reportTest",
|
|
1971
|
+
"line": 1
|
|
1972
|
+
},
|
|
1973
|
+
{
|
|
1974
|
+
"name": "@catfacts",
|
|
1975
|
+
"line": 4
|
|
1976
|
+
},
|
|
1977
|
+
{
|
|
1978
|
+
"name": "@tag5",
|
|
1979
|
+
"line": 4
|
|
1980
|
+
}
|
|
1981
|
+
],
|
|
1982
|
+
"type": "scenario"
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
"description": "",
|
|
1986
|
+
"id": "lets-generate-some-test-data;i-use-a-step-with-table",
|
|
1987
|
+
"keyword": "Scenario",
|
|
1988
|
+
"line": 11,
|
|
1989
|
+
"name": "I use a step with table",
|
|
1990
|
+
"steps": [{
|
|
1991
|
+
"arguments": [],
|
|
1992
|
+
"keyword": "When ",
|
|
1993
|
+
"line": 12,
|
|
1994
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
1995
|
+
"match": {
|
|
1996
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
1997
|
+
},
|
|
1998
|
+
"result": {
|
|
1999
|
+
"status": "passed",
|
|
2000
|
+
"duration": 263868335
|
|
2001
|
+
},
|
|
2002
|
+
"embeddings": [{
|
|
2003
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
2004
|
+
"mime_type": "text/html"
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
"data": "{\"fact\":\"Approximately 24 cat skins can make a coat.\",\"length\":43}",
|
|
2008
|
+
"mime_type": "application/json"
|
|
2009
|
+
}
|
|
2010
|
+
]
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
"arguments": [{
|
|
2014
|
+
"rows": [{
|
|
2015
|
+
"cells": [
|
|
2016
|
+
"fact",
|
|
2017
|
+
"length"
|
|
2018
|
+
]
|
|
2019
|
+
}]
|
|
2020
|
+
}],
|
|
2021
|
+
"keyword": "Then ",
|
|
2022
|
+
"line": 13,
|
|
2023
|
+
"name": "the response has the following parameters:",
|
|
2024
|
+
"match": {
|
|
2025
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:32"
|
|
2026
|
+
},
|
|
2027
|
+
"result": {
|
|
2028
|
+
"status": "passed",
|
|
2029
|
+
"duration": 112405
|
|
2030
|
+
}
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
"arguments": [],
|
|
2034
|
+
"keyword": "And ",
|
|
2035
|
+
"line": 15,
|
|
2036
|
+
"name": "the response parameter \"length\" is a non zero number",
|
|
2037
|
+
"match": {
|
|
2038
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:44"
|
|
2039
|
+
},
|
|
2040
|
+
"result": {
|
|
2041
|
+
"status": "passed",
|
|
2042
|
+
"duration": 139750
|
|
2043
|
+
}
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
"arguments": [{
|
|
2047
|
+
"rows": [{
|
|
2048
|
+
"cells": [
|
|
2049
|
+
"Cat-like creatures",
|
|
2050
|
+
"Rating",
|
|
2051
|
+
"Weird"
|
|
2052
|
+
]
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
"cells": [
|
|
2056
|
+
"Actual cats",
|
|
2057
|
+
"5",
|
|
2058
|
+
"false"
|
|
2059
|
+
]
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
"cells": [
|
|
2063
|
+
"Tigers",
|
|
2064
|
+
"2",
|
|
2065
|
+
"false"
|
|
2066
|
+
]
|
|
2067
|
+
},
|
|
2068
|
+
{
|
|
2069
|
+
"cells": [
|
|
2070
|
+
"Lions",
|
|
2071
|
+
"10",
|
|
2072
|
+
"false"
|
|
2073
|
+
]
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"cells": [
|
|
2077
|
+
"People pretending to be cats",
|
|
2078
|
+
"10",
|
|
2079
|
+
"true"
|
|
2080
|
+
]
|
|
2081
|
+
}
|
|
2082
|
+
]
|
|
2083
|
+
}],
|
|
2084
|
+
"keyword": "And ",
|
|
2085
|
+
"line": 16,
|
|
2086
|
+
"name": "we print another table with stuff",
|
|
2087
|
+
"match": {
|
|
2088
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:54"
|
|
2089
|
+
},
|
|
2090
|
+
"result": {
|
|
2091
|
+
"status": "passed",
|
|
2092
|
+
"duration": 35542
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2095
|
+
],
|
|
2096
|
+
"tags": [{
|
|
2097
|
+
"name": "@reportTest",
|
|
2098
|
+
"line": 1
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
"name": "@table",
|
|
2102
|
+
"line": 10
|
|
2103
|
+
}
|
|
2104
|
+
],
|
|
2105
|
+
"type": "scenario"
|
|
2106
|
+
}
|
|
2107
|
+
],
|
|
2108
|
+
"id": "lets-generate-some-test-data",
|
|
2109
|
+
"line": 2,
|
|
2110
|
+
"keyword": "Feature",
|
|
2111
|
+
"name": "Lets generate some test data",
|
|
2112
|
+
"tags": [{
|
|
2113
|
+
"name": "@reportTest",
|
|
2114
|
+
"line": 1
|
|
2115
|
+
}],
|
|
2116
|
+
"uri": "features/sample5.feature"
|
|
2117
|
+
},
|
|
2118
|
+
{
|
|
2119
|
+
"description": "",
|
|
2120
|
+
"elements": [{
|
|
2121
|
+
"description": "",
|
|
2122
|
+
"id": "generate-some-test-data;generate-some-errors",
|
|
2123
|
+
"keyword": "Scenario",
|
|
2124
|
+
"line": 5,
|
|
2125
|
+
"name": "Generate some errors",
|
|
2126
|
+
"steps": [{
|
|
2127
|
+
"arguments": [],
|
|
2128
|
+
"keyword": "When ",
|
|
2129
|
+
"line": 6,
|
|
2130
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
2131
|
+
"match": {
|
|
2132
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
2133
|
+
},
|
|
2134
|
+
"result": {
|
|
2135
|
+
"status": "passed",
|
|
2136
|
+
"duration": 265247159
|
|
2137
|
+
},
|
|
2138
|
+
"embeddings": [{
|
|
2139
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
2140
|
+
"mime_type": "text/html"
|
|
2141
|
+
},
|
|
2142
|
+
{
|
|
2143
|
+
"data": "{\"fact\":\"A cat can jump up to five times its own height in a single bound.\",\"length\":65}",
|
|
2144
|
+
"mime_type": "application/json"
|
|
2145
|
+
}
|
|
2146
|
+
]
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"arguments": [],
|
|
2150
|
+
"keyword": "And ",
|
|
2151
|
+
"line": 7,
|
|
2152
|
+
"name": "the response parameter \"foo\" is a non zero number",
|
|
2153
|
+
"match": {
|
|
2154
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:44"
|
|
2155
|
+
},
|
|
2156
|
+
"result": {
|
|
2157
|
+
"status": "failed",
|
|
2158
|
+
"duration": 255463,
|
|
2159
|
+
"error_message": "AssertionError: Parameter foo does not exist in the response.: expected undefined to be truthy\n at World.<anonymous> (file:///Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:48:76)"
|
|
2160
|
+
}
|
|
2161
|
+
}
|
|
2162
|
+
],
|
|
2163
|
+
"tags": [{
|
|
2164
|
+
"name": "@reportTest",
|
|
2165
|
+
"line": 1
|
|
2166
|
+
},
|
|
2167
|
+
{
|
|
2168
|
+
"name": "@has_error",
|
|
2169
|
+
"line": 4
|
|
2170
|
+
},
|
|
2171
|
+
{
|
|
2172
|
+
"name": "@tag6",
|
|
2173
|
+
"line": 4
|
|
2174
|
+
}
|
|
2175
|
+
],
|
|
2176
|
+
"type": "scenario"
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
"description": "",
|
|
2180
|
+
"id": "generate-some-test-data;i-use-a-step-with-table",
|
|
2181
|
+
"keyword": "Scenario",
|
|
2182
|
+
"line": 10,
|
|
2183
|
+
"name": "I use a step with table",
|
|
2184
|
+
"steps": [{
|
|
2185
|
+
"arguments": [],
|
|
2186
|
+
"keyword": "When ",
|
|
2187
|
+
"line": 11,
|
|
2188
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
2189
|
+
"match": {
|
|
2190
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
2191
|
+
},
|
|
2192
|
+
"result": {
|
|
2193
|
+
"status": "passed",
|
|
2194
|
+
"duration": 274734454
|
|
2195
|
+
},
|
|
2196
|
+
"embeddings": [{
|
|
2197
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
2198
|
+
"mime_type": "text/html"
|
|
2199
|
+
},
|
|
2200
|
+
{
|
|
2201
|
+
"data": "{\"fact\":\"Edward Lear, author of \\\\The Owl and the Pussycat\\\\\\\"\\\", is said to have had his new house in San Remo built to exactly the same specification as his previous residence, so that his much-loved tabby, Foss, would immediately feel at home.\\\"\\\"\\\"\",\"length\":236}",
|
|
2202
|
+
"mime_type": "application/json"
|
|
2203
|
+
}
|
|
2204
|
+
]
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
"arguments": [],
|
|
2208
|
+
"keyword": "Then ",
|
|
2209
|
+
"line": 12,
|
|
2210
|
+
"name": "something skipped happens",
|
|
2211
|
+
"match": {
|
|
2212
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:58"
|
|
2213
|
+
},
|
|
2214
|
+
"result": {
|
|
2215
|
+
"status": "skipped",
|
|
2216
|
+
"duration": 100168
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
],
|
|
2220
|
+
"tags": [{
|
|
2221
|
+
"name": "@reportTest",
|
|
2222
|
+
"line": 1
|
|
2223
|
+
},
|
|
2224
|
+
{
|
|
2225
|
+
"name": "@skipped",
|
|
2226
|
+
"line": 9
|
|
2227
|
+
}
|
|
2228
|
+
],
|
|
2229
|
+
"type": "scenario"
|
|
2230
|
+
}
|
|
2231
|
+
],
|
|
2232
|
+
"id": "generate-some-test-data",
|
|
2233
|
+
"line": 2,
|
|
2234
|
+
"keyword": "Feature",
|
|
2235
|
+
"name": "Generate some test data",
|
|
2236
|
+
"tags": [{
|
|
2237
|
+
"name": "@reportTest",
|
|
2238
|
+
"line": 1
|
|
2239
|
+
}],
|
|
2240
|
+
"uri": "features/sample6.feature"
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
"description": "",
|
|
2244
|
+
"elements": [{
|
|
2245
|
+
"description": "",
|
|
2246
|
+
"id": "lets-generate-some-test-data;call-cat-facts-api-to-show-off-attaching-a-link,-a-text-and-a-json",
|
|
2247
|
+
"keyword": "Scenario",
|
|
2248
|
+
"line": 5,
|
|
2249
|
+
"name": "Call cat facts api to show off attaching a link, a text and a json",
|
|
2250
|
+
"steps": [{
|
|
2251
|
+
"arguments": [],
|
|
2252
|
+
"keyword": "When ",
|
|
2253
|
+
"line": 6,
|
|
2254
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
2255
|
+
"match": {
|
|
2256
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
2257
|
+
},
|
|
2258
|
+
"result": {
|
|
2259
|
+
"status": "passed",
|
|
2260
|
+
"duration": 267090980
|
|
2261
|
+
},
|
|
2262
|
+
"embeddings": [{
|
|
2263
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
2264
|
+
"mime_type": "text/html"
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
"data": "{\"fact\":\"Two members of the cat family are distinct from all others: the clouded leopard and the cheetah. The clouded leopard does not roar like other big cats, nor does it groom or rest like small cats. The cheetah is unique because it is a running cat; all others are leaping cats. They are leaping cats because they slowly stalk their prey and then leap on it.\",\"length\":354}",
|
|
2268
|
+
"mime_type": "application/json"
|
|
2269
|
+
}
|
|
2270
|
+
]
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
"arguments": [],
|
|
2274
|
+
"keyword": "Then ",
|
|
2275
|
+
"line": 7,
|
|
2276
|
+
"name": "Response was okay",
|
|
2277
|
+
"match": {
|
|
2278
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:27"
|
|
2279
|
+
},
|
|
2280
|
+
"result": {
|
|
2281
|
+
"status": "passed",
|
|
2282
|
+
"duration": 105839
|
|
2283
|
+
}
|
|
2284
|
+
},
|
|
2285
|
+
{
|
|
2286
|
+
"arguments": [],
|
|
2287
|
+
"keyword": "And ",
|
|
2288
|
+
"line": 8,
|
|
2289
|
+
"name": "Response contains a cat fact",
|
|
2290
|
+
"match": {
|
|
2291
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:21"
|
|
2292
|
+
},
|
|
2293
|
+
"result": {
|
|
2294
|
+
"status": "passed",
|
|
2295
|
+
"duration": 114137
|
|
2296
|
+
},
|
|
2297
|
+
"embeddings": [{
|
|
2298
|
+
"data": "Cat fact: Two members of the cat family are distinct from all others: the clouded leopard and the cheetah. The clouded leopard does not roar like other big cats, nor does it groom or rest like small cats. The cheetah is unique because it is a running cat; all others are leaping cats. They are leaping cats because they slowly stalk their prey and then leap on it.",
|
|
2299
|
+
"mime_type": "text/plain"
|
|
2300
|
+
}]
|
|
2301
|
+
}
|
|
2302
|
+
],
|
|
2303
|
+
"tags": [{
|
|
2304
|
+
"name": "@reportTest",
|
|
2305
|
+
"line": 1
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
"name": "@catfacts",
|
|
2309
|
+
"line": 4
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
"name": "@tag7",
|
|
2313
|
+
"line": 4
|
|
2314
|
+
}
|
|
2315
|
+
],
|
|
2316
|
+
"type": "scenario"
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
"description": "",
|
|
2320
|
+
"id": "lets-generate-some-test-data;i-use-a-step-with-table",
|
|
2321
|
+
"keyword": "Scenario",
|
|
2322
|
+
"line": 11,
|
|
2323
|
+
"name": "I use a step with table",
|
|
2324
|
+
"steps": [{
|
|
2325
|
+
"arguments": [],
|
|
2326
|
+
"keyword": "When ",
|
|
2327
|
+
"line": 12,
|
|
2328
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
2329
|
+
"match": {
|
|
2330
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
2331
|
+
},
|
|
2332
|
+
"result": {
|
|
2333
|
+
"status": "passed",
|
|
2334
|
+
"duration": 258912153
|
|
2335
|
+
},
|
|
2336
|
+
"embeddings": [{
|
|
2337
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
2338
|
+
"mime_type": "text/html"
|
|
2339
|
+
},
|
|
2340
|
+
{
|
|
2341
|
+
"data": "{\"fact\":\"People who are allergic to cats are actually allergic to cat saliva or to cat dander. If the resident cat is bathed regularly the allergic people tolerate it better.\",\"length\":165}",
|
|
2342
|
+
"mime_type": "application/json"
|
|
2343
|
+
}
|
|
2344
|
+
]
|
|
2345
|
+
},
|
|
2346
|
+
{
|
|
2347
|
+
"arguments": [{
|
|
2348
|
+
"rows": [{
|
|
2349
|
+
"cells": [
|
|
2350
|
+
"fact",
|
|
2351
|
+
"length"
|
|
2352
|
+
]
|
|
2353
|
+
}]
|
|
2354
|
+
}],
|
|
2355
|
+
"keyword": "Then ",
|
|
2356
|
+
"line": 13,
|
|
2357
|
+
"name": "the response has the following parameters:",
|
|
2358
|
+
"match": {
|
|
2359
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:32"
|
|
2360
|
+
},
|
|
2361
|
+
"result": {
|
|
2362
|
+
"status": "passed",
|
|
2363
|
+
"duration": 115833
|
|
2364
|
+
}
|
|
2365
|
+
},
|
|
2366
|
+
{
|
|
2367
|
+
"arguments": [],
|
|
2368
|
+
"keyword": "And ",
|
|
2369
|
+
"line": 15,
|
|
2370
|
+
"name": "the response parameter \"length\" is a non zero number",
|
|
2371
|
+
"match": {
|
|
2372
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:44"
|
|
2373
|
+
},
|
|
2374
|
+
"result": {
|
|
2375
|
+
"status": "passed",
|
|
2376
|
+
"duration": 148130
|
|
2377
|
+
}
|
|
2378
|
+
},
|
|
2379
|
+
{
|
|
2380
|
+
"arguments": [{
|
|
2381
|
+
"rows": [{
|
|
2382
|
+
"cells": [
|
|
2383
|
+
"Cat-like creatures",
|
|
2384
|
+
"Rating",
|
|
2385
|
+
"Weird"
|
|
2386
|
+
]
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"cells": [
|
|
2390
|
+
"Actual cats",
|
|
2391
|
+
"5",
|
|
2392
|
+
"false"
|
|
2393
|
+
]
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
"cells": [
|
|
2397
|
+
"Tigers",
|
|
2398
|
+
"2",
|
|
2399
|
+
"false"
|
|
2400
|
+
]
|
|
2401
|
+
},
|
|
2402
|
+
{
|
|
2403
|
+
"cells": [
|
|
2404
|
+
"Lions",
|
|
2405
|
+
"10",
|
|
2406
|
+
"false"
|
|
2407
|
+
]
|
|
2408
|
+
},
|
|
2409
|
+
{
|
|
2410
|
+
"cells": [
|
|
2411
|
+
"People pretending to be cats",
|
|
2412
|
+
"10",
|
|
2413
|
+
"true"
|
|
2414
|
+
]
|
|
2415
|
+
}
|
|
2416
|
+
]
|
|
2417
|
+
}],
|
|
2418
|
+
"keyword": "And ",
|
|
2419
|
+
"line": 16,
|
|
2420
|
+
"name": "we print another table with stuff",
|
|
2421
|
+
"match": {
|
|
2422
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:54"
|
|
2423
|
+
},
|
|
2424
|
+
"result": {
|
|
2425
|
+
"status": "passed",
|
|
2426
|
+
"duration": 36839
|
|
2427
|
+
}
|
|
2428
|
+
}
|
|
2429
|
+
],
|
|
2430
|
+
"tags": [{
|
|
2431
|
+
"name": "@reportTest",
|
|
2432
|
+
"line": 1
|
|
2433
|
+
},
|
|
2434
|
+
{
|
|
2435
|
+
"name": "@table",
|
|
2436
|
+
"line": 10
|
|
2437
|
+
}
|
|
2438
|
+
],
|
|
2439
|
+
"type": "scenario"
|
|
2440
|
+
}
|
|
2441
|
+
],
|
|
2442
|
+
"id": "lets-generate-some-test-data",
|
|
2443
|
+
"line": 2,
|
|
2444
|
+
"keyword": "Feature",
|
|
2445
|
+
"name": "Lets generate some test data",
|
|
2446
|
+
"tags": [{
|
|
2447
|
+
"name": "@reportTest",
|
|
2448
|
+
"line": 1
|
|
2449
|
+
}],
|
|
2450
|
+
"uri": "features/sample7.feature"
|
|
2451
|
+
},
|
|
2452
|
+
{
|
|
2453
|
+
"description": "",
|
|
2454
|
+
"elements": [{
|
|
2455
|
+
"description": "",
|
|
2456
|
+
"id": "generate-some-test-data;generate-some-errors",
|
|
2457
|
+
"keyword": "Scenario",
|
|
2458
|
+
"line": 5,
|
|
2459
|
+
"name": "Generate some errors",
|
|
2460
|
+
"steps": [{
|
|
2461
|
+
"arguments": [],
|
|
2462
|
+
"keyword": "When ",
|
|
2463
|
+
"line": 6,
|
|
2464
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
2465
|
+
"match": {
|
|
2466
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
2467
|
+
},
|
|
2468
|
+
"result": {
|
|
2469
|
+
"status": "passed",
|
|
2470
|
+
"duration": 262770382
|
|
2471
|
+
},
|
|
2472
|
+
"embeddings": [{
|
|
2473
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
2474
|
+
"mime_type": "text/html"
|
|
2475
|
+
},
|
|
2476
|
+
{
|
|
2477
|
+
"data": "{\"fact\":\"Cats are extremely sensitive to vibrations. Cats are said to detect earthquake tremors 10 or 15 minutes before humans can.\",\"length\":122}",
|
|
2478
|
+
"mime_type": "application/json"
|
|
2479
|
+
}
|
|
2480
|
+
]
|
|
2481
|
+
},
|
|
2482
|
+
{
|
|
2483
|
+
"arguments": [],
|
|
2484
|
+
"keyword": "And ",
|
|
2485
|
+
"line": 7,
|
|
2486
|
+
"name": "the response parameter \"foo\" is a non zero number",
|
|
2487
|
+
"match": {
|
|
2488
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:44"
|
|
2489
|
+
},
|
|
2490
|
+
"result": {
|
|
2491
|
+
"status": "failed",
|
|
2492
|
+
"duration": 249172,
|
|
2493
|
+
"error_message": "AssertionError: Parameter foo does not exist in the response.: expected undefined to be truthy\n at World.<anonymous> (file:///Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:48:76)"
|
|
2494
|
+
}
|
|
2495
|
+
}
|
|
2496
|
+
],
|
|
2497
|
+
"tags": [{
|
|
2498
|
+
"name": "@reportTest",
|
|
2499
|
+
"line": 1
|
|
2500
|
+
},
|
|
2501
|
+
{
|
|
2502
|
+
"name": "@has_error",
|
|
2503
|
+
"line": 4
|
|
2504
|
+
},
|
|
2505
|
+
{
|
|
2506
|
+
"name": "@tag8",
|
|
2507
|
+
"line": 4
|
|
2508
|
+
}
|
|
2509
|
+
],
|
|
2510
|
+
"type": "scenario"
|
|
2511
|
+
},
|
|
2512
|
+
{
|
|
2513
|
+
"description": "",
|
|
2514
|
+
"id": "generate-some-test-data;i-use-a-step-with-table",
|
|
2515
|
+
"keyword": "Scenario",
|
|
2516
|
+
"line": 10,
|
|
2517
|
+
"name": "I use a step with table",
|
|
2518
|
+
"steps": [{
|
|
2519
|
+
"arguments": [],
|
|
2520
|
+
"keyword": "When ",
|
|
2521
|
+
"line": 11,
|
|
2522
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
2523
|
+
"match": {
|
|
2524
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
2525
|
+
},
|
|
2526
|
+
"result": {
|
|
2527
|
+
"status": "passed",
|
|
2528
|
+
"duration": 307925286
|
|
2529
|
+
},
|
|
2530
|
+
"embeddings": [{
|
|
2531
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
2532
|
+
"mime_type": "text/html"
|
|
2533
|
+
},
|
|
2534
|
+
{
|
|
2535
|
+
"data": "{\"fact\":\"When a cat drinks, its tongue - which has tiny barbs on it - scoops the liquid up backwards.\",\"length\":92}",
|
|
2536
|
+
"mime_type": "application/json"
|
|
2537
|
+
}
|
|
2538
|
+
]
|
|
2539
|
+
},
|
|
2540
|
+
{
|
|
2541
|
+
"arguments": [],
|
|
2542
|
+
"keyword": "Then ",
|
|
2543
|
+
"line": 12,
|
|
2544
|
+
"name": "something skipped happens",
|
|
2545
|
+
"match": {
|
|
2546
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:58"
|
|
2547
|
+
},
|
|
2548
|
+
"result": {
|
|
2549
|
+
"status": "skipped",
|
|
2550
|
+
"duration": 50786
|
|
2551
|
+
}
|
|
2552
|
+
}
|
|
2553
|
+
],
|
|
2554
|
+
"tags": [{
|
|
2555
|
+
"name": "@reportTest",
|
|
2556
|
+
"line": 1
|
|
2557
|
+
},
|
|
2558
|
+
{
|
|
2559
|
+
"name": "@skipped",
|
|
2560
|
+
"line": 9
|
|
2561
|
+
}
|
|
2562
|
+
],
|
|
2563
|
+
"type": "scenario"
|
|
2564
|
+
}
|
|
2565
|
+
],
|
|
2566
|
+
"id": "generate-some-test-data",
|
|
2567
|
+
"line": 2,
|
|
2568
|
+
"keyword": "Feature",
|
|
2569
|
+
"name": "Generate some test data",
|
|
2570
|
+
"tags": [{
|
|
2571
|
+
"name": "@reportTest",
|
|
2572
|
+
"line": 1
|
|
2573
|
+
}],
|
|
2574
|
+
"uri": "features/sample8.feature"
|
|
2575
|
+
},
|
|
2576
|
+
{
|
|
2577
|
+
"description": "",
|
|
2578
|
+
"elements": [{
|
|
2579
|
+
"description": "",
|
|
2580
|
+
"id": "lets-generate-some-test-data;call-cat-facts-api-to-show-off-attaching-a-link,-a-text-and-a-json",
|
|
2581
|
+
"keyword": "Scenario",
|
|
2582
|
+
"line": 5,
|
|
2583
|
+
"name": "Call cat facts api to show off attaching a link, a text and a json",
|
|
2584
|
+
"steps": [{
|
|
2585
|
+
"arguments": [],
|
|
2586
|
+
"keyword": "When ",
|
|
2587
|
+
"line": 6,
|
|
2588
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
2589
|
+
"match": {
|
|
2590
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
2591
|
+
},
|
|
2592
|
+
"result": {
|
|
2593
|
+
"status": "passed",
|
|
2594
|
+
"duration": 293588366
|
|
2595
|
+
},
|
|
2596
|
+
"embeddings": [{
|
|
2597
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
2598
|
+
"mime_type": "text/html"
|
|
2599
|
+
},
|
|
2600
|
+
{
|
|
2601
|
+
"data": "{\"fact\":\"A cat's normal pulse is 140-240 beats per minute, with an average of 195.\",\"length\":73}",
|
|
2602
|
+
"mime_type": "application/json"
|
|
2603
|
+
}
|
|
2604
|
+
]
|
|
2605
|
+
},
|
|
2606
|
+
{
|
|
2607
|
+
"arguments": [],
|
|
2608
|
+
"keyword": "Then ",
|
|
2609
|
+
"line": 7,
|
|
2610
|
+
"name": "Response was okay",
|
|
2611
|
+
"match": {
|
|
2612
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:27"
|
|
2613
|
+
},
|
|
2614
|
+
"result": {
|
|
2615
|
+
"status": "passed",
|
|
2616
|
+
"duration": 104281
|
|
2617
|
+
}
|
|
2618
|
+
},
|
|
2619
|
+
{
|
|
2620
|
+
"arguments": [],
|
|
2621
|
+
"keyword": "And ",
|
|
2622
|
+
"line": 8,
|
|
2623
|
+
"name": "Response contains a cat fact",
|
|
2624
|
+
"match": {
|
|
2625
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:21"
|
|
2626
|
+
},
|
|
2627
|
+
"result": {
|
|
2628
|
+
"status": "passed",
|
|
2629
|
+
"duration": 106307
|
|
2630
|
+
},
|
|
2631
|
+
"embeddings": [{
|
|
2632
|
+
"data": "Cat fact: A cat's normal pulse is 140-240 beats per minute, with an average of 195.",
|
|
2633
|
+
"mime_type": "text/plain"
|
|
2634
|
+
}]
|
|
2635
|
+
}
|
|
2636
|
+
],
|
|
2637
|
+
"tags": [{
|
|
2638
|
+
"name": "@reportTest",
|
|
2639
|
+
"line": 1
|
|
2640
|
+
},
|
|
2641
|
+
{
|
|
2642
|
+
"name": "@catfacts",
|
|
2643
|
+
"line": 4
|
|
2644
|
+
},
|
|
2645
|
+
{
|
|
2646
|
+
"name": "@tag9",
|
|
2647
|
+
"line": 4
|
|
2648
|
+
}
|
|
2649
|
+
],
|
|
2650
|
+
"type": "scenario"
|
|
2651
|
+
},
|
|
2652
|
+
{
|
|
2653
|
+
"description": "",
|
|
2654
|
+
"id": "lets-generate-some-test-data;i-use-a-step-with-table",
|
|
2655
|
+
"keyword": "Scenario",
|
|
2656
|
+
"line": 11,
|
|
2657
|
+
"name": "I use a step with table",
|
|
2658
|
+
"steps": [{
|
|
2659
|
+
"arguments": [],
|
|
2660
|
+
"keyword": "When ",
|
|
2661
|
+
"line": 12,
|
|
2662
|
+
"name": "I call https://catfact.ninja/fact API",
|
|
2663
|
+
"match": {
|
|
2664
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:8"
|
|
2665
|
+
},
|
|
2666
|
+
"result": {
|
|
2667
|
+
"status": "passed",
|
|
2668
|
+
"duration": 253998964
|
|
2669
|
+
},
|
|
2670
|
+
"embeddings": [{
|
|
2671
|
+
"data": "<a href=https://catfact.ninja/fact>https://catfact.ninja/fact</a>",
|
|
2672
|
+
"mime_type": "text/html"
|
|
2673
|
+
},
|
|
2674
|
+
{
|
|
2675
|
+
"data": "{\"fact\":\"Cats do not think that they are little people. They think that we are big cats. This influences their behavior in many ways.\",\"length\":124}",
|
|
2676
|
+
"mime_type": "application/json"
|
|
2677
|
+
}
|
|
2678
|
+
]
|
|
2679
|
+
},
|
|
2680
|
+
{
|
|
2681
|
+
"arguments": [{
|
|
2682
|
+
"rows": [{
|
|
2683
|
+
"cells": [
|
|
2684
|
+
"fact",
|
|
2685
|
+
"length"
|
|
2686
|
+
]
|
|
2687
|
+
}]
|
|
2688
|
+
}],
|
|
2689
|
+
"keyword": "Then ",
|
|
2690
|
+
"line": 13,
|
|
2691
|
+
"name": "the response has the following parameters:",
|
|
2692
|
+
"match": {
|
|
2693
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:32"
|
|
2694
|
+
},
|
|
2695
|
+
"result": {
|
|
2696
|
+
"status": "passed",
|
|
2697
|
+
"duration": 170195
|
|
2698
|
+
}
|
|
2699
|
+
},
|
|
2700
|
+
{
|
|
2701
|
+
"arguments": [],
|
|
2702
|
+
"keyword": "And ",
|
|
2703
|
+
"line": 15,
|
|
2704
|
+
"name": "the response parameter \"length\" is a non zero number",
|
|
2705
|
+
"match": {
|
|
2706
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:44"
|
|
2707
|
+
},
|
|
2708
|
+
"result": {
|
|
2709
|
+
"status": "passed",
|
|
2710
|
+
"duration": 164539
|
|
2711
|
+
}
|
|
2712
|
+
},
|
|
2713
|
+
{
|
|
2714
|
+
"arguments": [{
|
|
2715
|
+
"rows": [{
|
|
2716
|
+
"cells": [
|
|
2717
|
+
"Cat-like creatures",
|
|
2718
|
+
"Rating",
|
|
2719
|
+
"Weird"
|
|
2720
|
+
]
|
|
2721
|
+
},
|
|
2722
|
+
{
|
|
2723
|
+
"cells": [
|
|
2724
|
+
"Actual cats",
|
|
2725
|
+
"5",
|
|
2726
|
+
"false"
|
|
2727
|
+
]
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
"cells": [
|
|
2731
|
+
"Tigers",
|
|
2732
|
+
"2",
|
|
2733
|
+
"false"
|
|
2734
|
+
]
|
|
2735
|
+
},
|
|
2736
|
+
{
|
|
2737
|
+
"cells": [
|
|
2738
|
+
"Lions",
|
|
2739
|
+
"10",
|
|
2740
|
+
"false"
|
|
2741
|
+
]
|
|
2742
|
+
},
|
|
2743
|
+
{
|
|
2744
|
+
"cells": [
|
|
2745
|
+
"People pretending to be cats",
|
|
2746
|
+
"10",
|
|
2747
|
+
"true"
|
|
2748
|
+
]
|
|
2749
|
+
}
|
|
2750
|
+
]
|
|
2751
|
+
}],
|
|
2752
|
+
"keyword": "And ",
|
|
2753
|
+
"line": 16,
|
|
2754
|
+
"name": "we print another table with stuff",
|
|
2755
|
+
"match": {
|
|
2756
|
+
"location": "file:/Users/popovn/projects/js/dump/code/cucumber_sample/features/support/steps/steps.js:54"
|
|
2757
|
+
},
|
|
2758
|
+
"result": {
|
|
2759
|
+
"status": "passed",
|
|
2760
|
+
"duration": 36655
|
|
2761
|
+
}
|
|
2762
|
+
}
|
|
2763
|
+
],
|
|
2764
|
+
"tags": [{
|
|
2765
|
+
"name": "@reportTest",
|
|
2766
|
+
"line": 1
|
|
2767
|
+
},
|
|
2768
|
+
{
|
|
2769
|
+
"name": "@table",
|
|
2770
|
+
"line": 10
|
|
2771
|
+
}
|
|
2772
|
+
],
|
|
2773
|
+
"type": "scenario"
|
|
2774
|
+
}
|
|
2775
|
+
],
|
|
2776
|
+
"id": "lets-generate-some-test-data",
|
|
2777
|
+
"line": 2,
|
|
2778
|
+
"keyword": "Feature",
|
|
2779
|
+
"name": "Lets generate some test data",
|
|
2780
|
+
"tags": [{
|
|
2781
|
+
"name": "@reportTest",
|
|
2782
|
+
"line": 1
|
|
2783
|
+
}],
|
|
2784
|
+
"uri": "features/sample9.feature"
|
|
2785
|
+
}
|
|
2786
|
+
]
|