multiple-cucumber-html-reporter
Advanced tools
Comparing version 1.4.0 to 1.4.1
CHANGELOG | ||
========= | ||
<a name="1.4.1"></a> | ||
## [1.4.1](https://github.com/wswebcreation/multiple-cucumber-html-reporter/compare/v1.4.0...v1.4.1) (2018-01-01) | ||
### Bugfix | ||
* **fix:** fix: correctly show the skipped features on the report home page **Big thanks to [kevinkuszyk](https://github.com/kevinkuszyk)** | ||
<a name="1.4.0"></a> | ||
@@ -9,3 +16,3 @@ ## [1.4.0](https://github.com/wswebcreation/multiple-cucumber-html-reporter/compare/v1.3.0...v1.4.0) (2017-12-15) | ||
* **feature:** Ability to define custom metadata **Big thanks to [LennDG][https://github.com/LennDG]** | ||
* **feature:** Ability to define custom metadata **Big thanks to [LennDG](https://github.com/LennDG)** | ||
@@ -12,0 +19,0 @@ <a name="1.3.0"></a> |
@@ -75,5 +75,7 @@ 'use strict'; | ||
passed: 0, | ||
skipped: 0, | ||
total: 0, | ||
ambiguousPercentage: 0, | ||
failedPercentage: 0, | ||
skippedPercentage: 0, | ||
passedPercentage: 0 | ||
@@ -99,2 +101,3 @@ }, | ||
suite.featureCount.failedPercentage = _calculatePercentage(suite.featureCount.failed, suite.featureCount.total); | ||
suite.featureCount.skippedPercentage = _calculatePercentage(suite.featureCount.skipped, suite.featureCount.total); | ||
suite.featureCount.passedPercentage = _calculatePercentage(suite.featureCount.passed, suite.featureCount.total); | ||
@@ -156,2 +159,3 @@ | ||
feature.isAmbiguous = false; | ||
feature.isSkipped = false; | ||
suite.featureCount.total++; | ||
@@ -174,2 +178,5 @@ feature.id = `${uuid()}.${feature.id}`.replace(/[^a-zA-Z0-9-_]/g, '-'); | ||
feature.ambiguous++; | ||
} else if (feature.isSkipped) { | ||
feature.skipped++; | ||
suite.featureCount.skipped++; | ||
} else { | ||
@@ -272,2 +279,4 @@ feature.passed++; | ||
feature.isSkipped = feature.scenarios.total === feature.scenarios.skipped; | ||
return feature; | ||
@@ -333,3 +342,3 @@ } | ||
} | ||
scenario.skipped++; | ||
@@ -336,0 +345,0 @@ }); |
{ | ||
"name": "multiple-cucumber-html-reporter", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Generate beautifull cucumberjs reports for multiple instances (browsers / devices)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -17,10 +17,10 @@ Multiple Cucumber HTML Reporter | ||
A sample can be found [here](https://wswebcreation.github.io/browsers-multiple-cucumber-html-reporter/) | ||
A sample can be found [here](https://wswebcreation.github.io/multiple-cucumber-html-reporter/browsers/index.html) | ||
But you can also create a beautiful overview when you don't want to use CucumberJS with browser(meta)data but with custom metadata, see [customMetadata](#custommetadata). | ||
This nice feature has been created by [LennDG][https://github.com/LennDG] | ||
This nice feature has been created by [LennDG](https://github.com/LennDG) | ||
![Snapshot - Features overview](./docs/images/custom-metadata-features-overview.jpg "Snapshot - Custom metadata features overview") | ||
A sample can be found [here](https://wswebcreation.github.io/custom-metadata-multiple-cucumber-html-reporter/) | ||
A sample can be found [here](https://wswebcreation.github.io/multiple-cucumber-html-reporter/custom-metadata/index.html) | ||
@@ -27,0 +27,0 @@ ## Install |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
96671
824