UNPKG

13.2 kBMarkdownView Raw
1### 4.0.3 (Feb-21-2019)
2
3* Enable non-inlined screenshots . Fix for [Issue#145](https://github.com/gkushang/cucumber-html-reporter/issues/145) - [PR#166](https://github.com/gkushang/cucumber-html-reporter/pull/166)
4
5### 4.0.4
6
7### 4.0.3 (Aug-23-2018)
8
9* Cannot generate report due an error with Trim() - [PR#125](https://github.com/gkushang/cucumber-html-reporter/pull/125)
10* if to switch statement change #155 - [PR#155](https://github.com/gkushang/cucumber-html-reporter/pull/155)
11
12
13### 4.0.2 (Feb-26-2018)
14
15* Add support for configuring callback - [PR#135](https://github.com/gkushang/cucumber-html-reporter/pull/135)
16
17### 4.0.1 (Feb-06-2018)
18
19* Support to attach Video files as `text/html` to the report - [PR#132](https://github.com/gkushang/cucumber-html-reporter/pull/132)
20
21### 4.0.0 (Feb-02-2018)
22
23* Support for Cucumber 4. Duration is now in Nanoseconds.
24* Fix issue: [#130](https://github.com/gkushang/cucumber-html-reporter/issues/130)
25
26### 3.0.4 (Sep-20-2017)
27
28* Fix for Cucumber V2, mime_type
29
30### 3.0.3 (Sep-20-2017)
31
32* Update outdated dependencies [PR#115](https://github.com/gkushang/cucumber-html-reporter/pull/115)
33
34### 3.0.2 (Sep-20-2017)
35
36* Add Backward compatibility for Cucumber V2 and V3. Add styling to Keywords GWT on HTML Report [PR#114](https://github.com/gkushang/cucumber-html-reporter/pull/114)
37
38
39### 3.0.1 (Aug-23-2017)
40
41* Feature: update to simple theme report [PR#106](https://github.com/gkushang/cucumber-html-reporter/pull/106)
42* Fix issues: [#101](https://github.com/gkushang/cucumber-html-reporter/issues/101), [#98](https://github.com/gkushang/cucumber-html-reporter/issues/98)
43
44
45### 3.0.0 (Aug-22-2017)
46
47* Support for Cucumber 3 [PR#104](https://github.com/gkushang/cucumber-html-reporter/pull/104)
48* Use `cucumber-html-reporter@2.0.3` for < Cucumber@3
49
50### 2.0.3 (Jul-17-2017)
51
52* Escape HTML on step name & fix <p> and <div> order for block 'scenario-container' [PR#97](https://github.com/gkushang/cucumber-html-reporter/pull/97). Resolve Issue [#52](https://github.com/gkushang/cucumber-html-reporter/issues/52)
53
54
55### 2.0.2 (Jul-10-2017)
56
57* Support scoped packages [PR#93](https://github.com/gkushang/cucumber-html-reporter/pull/93)
58
59* Fix issue[#85](https://github.com/gkushang/cucumber-html-reporter/issues/85) with Screenshot attachments with Selenium 3 & Cucumber 2 [PR#95](https://github.com/gkushang/cucumber-html-reporter/pull/95)
60
61
62### 2.0.1 (Jul-07-2017)
63
64* Save screenshots into custom directory [PR#88](https://github.com/gkushang/cucumber-html-reporter/pull/88)
65
66* Added support for JSON attachments [PR#89](https://github.com/gkushang/cucumber-html-reporter/pull/89)
67
68 Based on MIME type of the attachment. Payload is expected to be base64-encoded (this is based on the existing behaviour of the Cucumber Reports plugin for Jenkins).
69
70* Add tests for Save Screenshots & refactor [PR#91](https://github.com/gkushang/cucumber-html-reporter/pull/91)
71
72
73### 2.0.0 (Jun-09-2017)
74
75##### Support for Cucumber 2
76
77* Cucumber 2 [PR#81](https://github.com/gkushang/cucumber-html-reporter/pull/81). Resolves Issues [#73](https://github.com/gkushang/cucumber-html-reporter/issues/73),[#72](https://github.com/gkushang/cucumber-html-reporter/issues/72), [#61](https://github.com/gkushang/cucumber-html-reporter/issues/61), [#55](https://github.com/gkushang/cucumber-html-reporter/issues/55)
78 * Duration is reported as Milliseconds
79 * Attachments are now plain text without encoding
80 * DRY the templates and HTML scripts
81 * Run Travis-CI with Node@7
82 * Disable the Strict mode to test pending/undefined steps scenarios
83
84* Use `cucumber-html-reporter@0.5.0` for < Cucumber@2
85
86### 0.5.0 (Jun-01-2017)
87
88##### Enhancement
89
90* Introducing new Template `Hierarchy` from the [Proposal](https://github.com/gkushang/cucumber-html-reporter/issues/75), [PR#76](https://github.com/gkushang/cucumber-html-reporter/pull/76) & [PR#77](https://github.com/gkushang/cucumber-html-reporter/pull/77)
91 * The idea is to render features under respective folder hierarchy. Best case when your features are organized under feature-folders.
92* Enhance the Step Duration. Instead of 0s, show 1ms.
93* Backward compatible
94
95
96### 0.4.2 (Apr-27-2017)
97
98##### Fix
99
100* Fix to show '0s' if timestamp is in nanoseconds
101
102
103### 0.4.1 (Apr-27-2017)
104
105##### Enhancement
106
107* Add `brandTitle` to display on report. Checkout README for more details.
108
109##### Fix
110
111* Step duration time in html report always shows 0s [Issue#61](https://github.com/gkushang/cucumber-html-reporter/issues/61) [PR#62](https://github.com/gkushang/cucumber-html-reporter/pull/62)
112* Should not count Before/After hooks if they are hidden [Issue#63](https://github.com/gkushang/cucumber-html-reporter/issues/63) [PR#64](https://github.com/gkushang/cucumber-html-reporter/pull/64)
113
114
115### 0.4.0 (Mar-24-2017)
116
117* Supports Node versions >0.12
118
119##### Revert the change
120
121* Use fs-extra [PR#59](https://github.com/gkushang/cucumber-html-reporter/pull/59)
122
123
124### 0.3.9 (Mar-24-2017)
125
126* Supports Node versions <0.12
127
128##### Fix
129
130* Remove support for fs-extra for backward compatibility to support Node versions <0.12
131
132
133### 0.3.8 (Mar-23-2017)
134
135##### Fix
136
137* Use fs-extra instead of node-fs [PR#50](https://github.com/gkushang/cucumber-html-reporter/pull/50)
138* Make chai a dev dependency [PR#51](https://github.com/gkushang/cucumber-html-reporter/pull/51)
139* Bootstrap template fixes [PR#56](https://github.com/gkushang/cucumber-html-reporter/pull/56)
140* Fix Travis CI [PR#57](https://github.com/gkushang/cucumber-html-reporter/pull/57)
141
142
143### 0.3.7 (Dec-06-2016)
144
145##### Fix
146
147* Sanitize Screenshot filename [Issue#45](https://github.com/gkushang/cucumber-html-reporter/issues/45) [PR#46](https://github.com/gkushang/cucumber-html-reporter/pull/46)
148
149
150### 0.3.6 (Dec-06-2016)
151
152##### Fix
153
154* Failure in Before hook should fail the Feature/Scenario, Add slice to rest of the scenario pie charts [PR#44](https://github.com/gkushang/cucumber-html-reporter/pull/44)
155
156
157### 0.3.5 (Nov-29-2016)
158
159##### Enhancements
160
161* Colors
162 * Making labels & colors consistent on report [PR#42](https://github.com/gkushang/cucumber-html-reporter/pull/42)
163
164
165### 0.3.4 (Nov-28-2016)
166
167##### Enhancements
168
169* Step Duration
170 * light gray the step duration to distinguish from the GWT Step description
171
172
173### 0.3.3 (Nov-28-2016)
174
175##### Enhancements
176
177* Ambiguous Steps
178 * show ambiguous status on the pie-chart, features, scenarios and at steps level [PR#40](https://github.com/gkushang/cucumber-html-reporter/pull/40)
179
180
181### 0.3.2 (Nov-21-2016)
182
183##### Enhancements
184
185* Show Metadata
186 * additional info about your test environment, browser, platform, app version, mode of execution, stage, and so on. [PR#39](https://github.com/gkushang/cucumber-html-reporter/pull/39)
187
188
189### 0.3.1 (Nov-18-2016)
190
191##### Enhancements
192
193* Adding latest Previews to the readme for all themes
194* Add more snapshots for the user's review
195
196### 0.3.0 (Nov-18-2016)
197
198* Deprecate Store Screenshots
199 * Deprecate the option to store screenshot to the disk by default. If you still want to Store a screenShot to the directory, you can pass an option `storeScreenShots` to the reporter.
200
201##### Enhancements
202
203* Inline Screenshots
204 * Add support for inline png screenshots, fix package.json lookup, Fix success log: [PR#32](https://github.com/gkushang/cucumber-html-reporter/pull/32)
205* For backward compatibility, adds an option to store screenshot to a directory: [PR#38](https://github.com/gkushang/cucumber-html-reporter/pull/38)
206
207
208##### `storeScreenShots`
209Type: `Boolean`
210Default: `undefined`
211
212`true`: Stores all screenShots stores the screenShots to the default directory. It creates a directory 'screehshot' if does not exists.
213`false` or `undefined` : Does not store screenShots but attaches screenShots as a step-inline images to HTML report
214
215##### Fixes
216
217* Fixes [ISSUE#29](https://github.com/gkushang/cucumber-html-reporter/issues/29)
218
219
220### 0.2.17 (Nov-17-2016)
221
222##### Enhancements
223
224* Tags on Report
225 * Display Tags on Feature & Scenarios: [PR#35](https://github.com/gkushang/cucumber-html-reporter/pull/35)
226* Filter Repeated Tags
227 * Filter Tags from Scenarios which is already displayed at Feature Level & add some styling to Tags [PR#37](https://github.com/gkushang/cucumber-html-reporter/pull/37)
228
229
230### 0.2.16 (Oct-07-2016)
231
232##### Enhancements
233
234* Scenario Description
235 * Show Scenario Description on HTML report: [ISSUE#33](https://github.com/gkushang/cucumber-html-reporter/issues/33)
236
237
238### 0.2.15 (Sep-28-2016)
239
240##### Fix
241
242* Fix for older node versions: [ISSUE#30](https://github.com/gkushang/cucumber-html-reporter/issues/30)
243
244
245### 0.2.14 (Sep-27-2016)
246
247##### Enhancements
248
249* Option to add custom name to the project & adds footer: [PR#28](https://github.com/gkushang/cucumber-html-reporter/pull/28)
250
251
252### 0.2.13 (Sep-27-2016)
253
254##### Enhancements
255
256* Show time taken by each steps to complete the execution on report: [PR#17](https://github.com/gkushang/cucumber-html-reporter/pull/17) & [PR#27](https://github.com/gkushang/cucumber-html-reporter/pull/27)
257
258
259### 0.2.12 (Sep-27-2016)
260
261##### Fixes
262
263* Show hidden hooks if they fail: [PR#25](https://github.com/gkushang/cucumber-html-reporter/pull/25)
264
265
266### 0.2.11 (Sep-26-2016)
267
268##### Fixes
269
270* Fix typo on README: [PR#22](https://github.com/gkushang/cucumber-html-reporter/pull/22)
271
272* Fix Foundation template for local: [PR#23](https://github.com/gkushang/cucumber-html-reporter/pull/23)
273
274
275### 0.2.10 (Sep-22-2016)
276
277##### Enhancements
278
279* Conditionally hide hidden steps from the report: [PR#20](https://github.com/gkushang/cucumber-html-reporter/pull/20)
280
281 * After & Before hooks are hidden on Cucumber JSON file. They will be visible on the report only if it has Info or Screenshot attached to it.
282
283
284### 0.2.9 (Sep-08-2016)
285
286##### Enhancements
287
288* Ignore the bad JSON files when consolidating from the JSON Directory: [PR#13](https://github.com/gkushang/cucumber-html-reporter/pull/13)
289
290 * Set the option `ignoreBadJsonFile` to `true` as a boolean to ignore the Bad JSON files
291
292
293##### BugFix
294
295* Fixed the issue when report was breaking with the Cucumber's Doc String: [Issue#14](https://github.com/gkushang/cucumber-html-reporter/issues/14)
296
297
298### 0.2.8 (Aug-30-2016)
299
300##### Enhancements
301
302* Generate consolidated report from multiple JSON files: [PR#12](https://github.com/gkushang/cucumber-html-reporter/pull/12)
303
304 * Provide the path of `jsonDir` to generate consolidated report,
305
306
307``` bash
308
309var reporter = require('cucumber-html-reporter');
310...
311...
312
313var options = {
314 theme: 'bootstrap',
315 jsonDir: 'test/reports',
316 output: 'test/report/cucumber_report.html',
317 reportSuiteAsScenarios: true,
318 launchReport: true
319 };
320
321 reporter.generate(options);
322```
323
324### 0.2.7 (Aug-16-2016)
325
326##### Enhancements
327
328* Launch report automatically after test ends
329* Pass a flag `launchReport` to the options
330
331
332``` bash
333
334var reporter = require('cucumber-html-reporter');
335...
336...
337
338var options = {
339 theme: 'bootstrap',
340 jsonFile: 'test/report/cucumber_report.json',
341 output: 'test/report/cucumber_report.html',
342 reportSuiteAsScenarios: true,
343 launchReport: true
344 };
345
346 reporter.generate(options);
347```
348
349
350### 0.2.6 (Jul-29-2016)
351
352##### BugFix
353
354* Fixed the issue where Error messages were not printing on the report.
355
356### 0.2.5 (Jul-28-2016)
357
358##### Enhancements
359
360* trim the text to be printed on report
361
362### 0.2.4 (Jul-28-2016)
363
364##### BugFix
365
366* https://github.com/mavdi/grunt-cucumberjs/issues/86
367
368### 0.2.3 (Jul-26-2016)
369
370##### Enhancements
371
372* Published https://github.com/gkushang/cucumber-html-reporter/pull/10 Set charset as utf-8
373
374### 0.2.2 (Jul-21-2016)
375
376##### BugFix
377
378* Fixes https://github.com/gkushang/cucumber-html-reporter/issues/7
379
380### 0.2.1 (Jul-12-2016)
381
382##### Enhancements
383
384* Recursively create HTML report directory if does not exists
385* Remove outdated chai-fs depedency and use chai-should assertions
386* Lighter the background color or Scenario attachments
387
388
389### 0.2.0 (Jul-10-2016)
390
391##### Support for Cucumber@1.2.0 version
392
393* Screenshot attachment support for Cucumber release >= @1.2.0 (https://github.com/cucumber/cucumber-js/blob/master/CHANGELOG.md#bug-fixes-1)
394
395
396### 0.1.6 (Jul-07-2016)
397
398##### Enhancements
399
400* Format feature descriptions on report
401* Add overflow scroll bar for the bigger data-table
402* print error messaged in the pre
403
404
405### 0.1.5 (Jul-05-2016)
406
407##### Enhancements
408
409* Show feature description on report
410
411* Updated README
412
413##### Bug fixes
414
415* Fix bug when cucumber error message has kind of html tags as a string, e.g. <object> is not defined.
416
417
418### 0.1.4 (Jun-28-2016)
419
420##### Enhancements
421
422* Using `path` instead of separators to make platform agnostic
423
424* Updated tests `hooks`
425
426* README updated with the instructions on how to integrate reporter to the cucumber hooks
427
428
429### 0.1.3 (Jun-27-2016)
430
431##### Bug fixes
432
433* Fixed a bug in template path
434
435* README updated
436
437
438### 0.1.1 (Jun-27-2016)
439
440##### New Features
441
442* Tooltip for Scenarios or Features in the HEADER based on reportSuiteAsScenarios flag
443
444* Add an optional `callback` for the `generate(options, callback)` function
445
446* Report `pending` steps in scenarios for bootstrap & foundation themes
447
448* Refactored and added more tests & validations