multiple-cucumber-html-reporter
Advanced tools
Comparing version 1.21.6 to 2.0.0
{ | ||
"name": "multiple-cucumber-html-reporter", | ||
"version": "1.21.6", | ||
"version": "2.0.0", | ||
"description": "Generate beautifull cucumberjs reports for multiple instances (browsers / devices)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -237,25 +237,6 @@ Multiple Cucumber HTML Reporter | ||
If you need to add some custom style to your report. Add it like this `customStyle: 'your-path-where/custom.css'` | ||
Customization is now possible also for the doughnut chart by using [CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties). | ||
The user can define colors for the chart by defining variables for the different categories as follows: | ||
```css | ||
:root { | ||
--ambiguous-color:#AAAAAA; | ||
--failed-color:#BBBBBB; | ||
--not-defined-color:#CCCCCC; | ||
--passed-color:#DDDDDD; | ||
--pending-color:#EEEEEE; | ||
--skipped-color:#FFFFFF; | ||
} | ||
``` | ||
Please note that these colors do _not_ affect the main colors CSS. To have homogeneous styling you can simply link those | ||
colors to the variables, e.g.: | ||
If you need to add some custom style to your report. Add it like this `customStyle: 'your-path-where/custom.css'`. | ||
Please note that the doughnut charts uses the same colors as used by the status icons, i.e. the `.*-color` classes. | ||
Refer to the `test` directory and the `embedded-array` test report for a complete color customization example. | ||
```css | ||
.ambiguous-color { | ||
color: var(--ambiguous-color) !important; | ||
} | ||
``` | ||
Please refer to the `test` directory and the `embedded-array` test report for a complete color customization example. | ||
### `overrideStyle` | ||
@@ -262,0 +243,0 @@ - **Type:** `path` |
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
1991160
50
3291
474