- upgraded to be compatible with cucumber v8.9.1
- upgraded all other dependencies to their latest versions
- Bootstrap theme filters #198 by @srbarrios
- Fix duplicate hierarchy names #200 by @davestaab
- Bug fix for issue #163, generate report for cucumber_report_{random_num}.json #210 by @hujunhaorobert
- Fix for "exit immediate after opening the browser #173" #205 by @ErikGrigoriev
- Quick fix the Chalk dependency - move from devDependencies to dependencies
- Remove duplicate check condition PR#189 by @ncounter
- Scenario timestamp and notes PR#190 by @ncounter
- Fixed regression of 4.0.4, fixes ISSUE#160 PR#191 @eiszfuchs
- Bump lodash from 4.17.11 to 4.17.13 PR#193 by dependabot
- Bump diff from 3.4.0 to 3.5.0 PR#194 by dependabot
- Removed Deprecated, Update dependencies
- Fix data tables not being read in - PR#172
- Update bootstrap to last 3.x stable version - PR#170
- Check if embeddings are base64 encoded (even
text/plain
) - PR#164
- Cannot generate report due an error with Trim() - PR#125
- if to switch statement change #155 - PR#155
- Add support for configuring callback - PR#135
- Support to attach Video files as
text/html
to the report - PR#132
- Support for Cucumber 4. Duration is now in Nanoseconds.
- Fix issue: #130
- Fix for Cucumber V2, mime_type
- Update outdated dependencies PR#115
- Add Backward compatibility for Cucumber V2 and V3. Add styling to Keywords GWT on HTML Report PR#114
- Support for Cucumber 3 PR#104
- Use
[email protected]
for < Cucumber@3
- Escape HTML on step name & fix
and
-
Support scoped packages PR#93
-
Fix issue#85 with Screenshot attachments with Selenium 3 & Cucumber 2 PR#95
-
Save screenshots into custom directory PR#88
-
Added support for JSON attachments PR#89
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).
-
Add tests for Save Screenshots & refactor PR#91
-
Cucumber 2 PR#81. Resolves Issues #73,#72, #61, #55
- Duration is reported as Milliseconds
- Attachments are now plain text without encoding
- DRY the templates and HTML scripts
- Run Travis-CI with Node@7
- Disable the Strict mode to test pending/undefined steps scenarios
-
Use
[email protected]
for < Cucumber@2
- Introducing new Template
Hierarchy
from the Proposal, PR#76 & PR#77- The idea is to render features under respective folder hierarchy. Best case when your features are organized under feature-folders.
- Enhance the Step Duration. Instead of 0s, show 1ms.
- Backward compatible
- Fix to show '0s' if timestamp is in nanoseconds
- Add
brandTitle
to display on report. Checkout README for more details.
- Step duration time in html report always shows 0s Issue#61 PR#62
- Should not count Before/After hooks if they are hidden Issue#63 PR#64
- Supports Node versions >0.12
- Use fs-extra PR#59
- Supports Node versions <0.12
- Remove support for fs-extra for backward compatibility to support Node versions <0.12
- Use fs-extra instead of node-fs PR#50
- Make chai a dev dependency PR#51
- Bootstrap template fixes PR#56
- Fix Travis CI PR#57
- Failure in Before hook should fail the Feature/Scenario, Add slice to rest of the scenario pie charts PR#44
- Colors
- Making labels & colors consistent on report PR#42
- Step Duration
- light gray the step duration to distinguish from the GWT Step description
- Ambiguous Steps
- show ambiguous status on the pie-chart, features, scenarios and at steps level PR#40
- Show Metadata
- additional info about your test environment, browser, platform, app version, mode of execution, stage, and so on. PR#39
- Adding latest Previews to the readme for all themes
- Add more snapshots for the user's review
- Deprecate Store Screenshots
- 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.
- Inline Screenshots
- Add support for inline png screenshots, fix package.json lookup, Fix success log: PR#32
- For backward compatibility, adds an option to store screenshot to a directory: PR#38
Type: Boolean
Default: undefined
true
: Stores all screenShots stores the screenShots to the default directory. It creates a directory 'screehshot' if does not exists.
false
or undefined
: Does not store screenShots but attaches screenShots as a step-inline images to HTML report
- Fixes ISSUE#29
- Tags on Report
- Display Tags on Feature & Scenarios: PR#35
- Filter Repeated Tags
- Filter Tags from Scenarios which is already displayed at Feature Level & add some styling to Tags PR#37
- Scenario Description
- Show Scenario Description on HTML report: ISSUE#33
- Fix for older node versions: ISSUE#30
- Option to add custom name to the project & adds footer: PR#28
- Show hidden hooks if they fail: PR#25
-
Conditionally hide hidden steps from the report: PR#20
- 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.
-
Ignore the bad JSON files when consolidating from the JSON Directory: PR#13
- Set the option
ignoreBadJsonFile
totrue
as a boolean to ignore the Bad JSON files
- Set the option
- Fixed the issue when report was breaking with the Cucumber's Doc String: Issue#14
-
Generate consolidated report from multiple JSON files: PR#12
- Provide the path of
jsonDir
to generate consolidated report,
- Provide the path of
var reporter = require('cucumber-html-reporter');
...
...
var options = {
theme: 'bootstrap',
jsonDir: 'test/reports',
output: 'test/report/cucumber_report.html',
reportSuiteAsScenarios: true,
launchReport: true
};
reporter.generate(options);
- Launch report automatically after test ends
- Pass a flag
launchReport
to the options
var reporter = require('cucumber-html-reporter');
...
...
var options = {
theme: 'bootstrap',
jsonFile: 'test/report/cucumber_report.json',
output: 'test/report/cucumber_report.html',
reportSuiteAsScenarios: true,
launchReport: true
};
reporter.generate(options);
- Fixed the issue where Error messages were not printing on the report.
- trim the text to be printed on report
- Published #10 Set charset as utf-8
- Fixes #7
- Recursively create HTML report directory if does not exists
- Remove outdated chai-fs depedency and use chai-should assertions
- Lighter the background color or Scenario attachments
Support for [email protected] version
- Screenshot attachment support for Cucumber release >= @1.2.0 (https://github.com/cucumber/cucumber-js/blob/master/CHANGELOG.md#bug-fixes-1)
- Format feature descriptions on report
- Add overflow scroll bar for the bigger data-table
- print error messaged in the pre
-
Show feature description on report
-
Updated README
- Fix bug when cucumber error message has kind of html tags as a string, e.g. is not defined.
-
Using
path
instead of separators to make platform agnostic -
Updated tests
hooks
-
README updated with the instructions on how to integrate reporter to the cucumber hooks
-
Fixed a bug in template path
-
README updated
-
Tooltip for Scenarios or Features in the HEADER based on reportSuiteAsScenarios flag
-
Add an optional
callback
for thegenerate(options, callback)
function -
Report
pending
steps in scenarios for bootstrap & foundation themes -
Refactored and added more tests & validations
-