New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

multiple-cucumber-html-reporter

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multiple-cucumber-html-reporter - npm Package Compare versions

Comparing version 1.9.0 to 1.10.0

12

CHANGELOG.md

@@ -5,2 +5,12 @@ CHANGELOG

=======
<a name="1.10.0"></a>
## [1.10.0](https://github.com/wswebcreation/multiple-cucumber-html-reporter/compare/v1.9.0...v1.10.0) (2018-04-26)
### Feature
* **feature:** Add support for multiple screenshots in scenario steps [44](https://github.com/wswebcreation/multiple-cucumber-html-reporter/pull/44), tnx to [Brian-Dawson-Nerdery](https://github.com/Brian-Dawson-Nerdery)
### Bugfix
* **fix:** Screenshots in the steps are stretched, now they are shown on their `max-width | max-height` showing proper images
<a name="1.9.0"></a>

@@ -34,3 +44,3 @@ ## [1.9.0](https://github.com/wswebcreation/multiple-cucumber-html-reporter/compare/v1.8.0...v1.9.0) (2018-04-15)

### Features
**Big thanks to [LennDG](https://github.com/yoghi)**
**Big thanks to [Stefano Tamagnini](https://github.com/yoghi)**

@@ -37,0 +47,0 @@ * **feature:** Add support for:

2

lib/generate-report.js

@@ -316,3 +316,3 @@ 'use strict';

} else if (embedding.mime_type === 'image/png' || (embedding.media && embedding.media.type === 'image/png')) {
step.image = 'data:image/png;base64,' + embedding.data;
step.image = (step.image ? step.image : []).concat(['data:image/png;base64,' + embedding.data]);
step.embeddings[embeddingIndex] = {};

@@ -319,0 +319,0 @@ } else {

{
"name": "multiple-cucumber-html-reporter",
"version": "1.9.0",
"version": "1.10.0",
"description": "Generate beautifull cucumberjs reports for multiple instances (browsers / devices)",

@@ -14,2 +14,3 @@ "keywords": [

"main": "lib/generate-report.js",
"license": "MIT",
"scripts": {

@@ -16,0 +17,0 @@ "test": "node ./test/test.js",

@@ -21,10 +21,11 @@ Multiple Cucumber HTML Reporter

- It now saves the sort state of columns in the Features overview, tnx to [Brian-Dawson-Nerdery](https://github.com/Brian-Dawson-Nerdery)
- Duration time can now be displayed tnx to [LennDG](https://github.com/LennDG). See [`displayDuration`](./README.MD#displayDuration) for more info
- Tnx to [yoghi](https://github.com/yoghi) it is now possible:
- **1.10.0:** There is now support for multiple screenshots in scenario steps, tnx to [Brian-Dawson-Nerdery](https://github.com/Brian-Dawson-Nerdery)
- **1.9.0:** A custom [`pageTitle`](./README.MD#pageTitle) and a custom [`pageFooter`](./README.MD#pageFooter) can be added, tnx to [muthukumarse](https://github.com/muthukumarse)
- **1.8.0:** It now saves the sort state of columns in the Features overview, tnx to [Brian-Dawson-Nerdery](https://github.com/Brian-Dawson-Nerdery)
- **1.7.0:** Duration time can now be displayed tnx to [LennDG](https://github.com/LennDG). See [`displayDuration`](./README.MD#displayDuration) for more info
- **1.7.0:** By default the duration is now calculated based on **nanoseconds** because that is the default of Cucumber. See remark above and [`durationInMS`](./README.MD#durationinms)
- **1.6.0:** Tnx to [Stefano Tamagnini](https://github.com/yoghi) it is now possible:
- to embedded attachments with custom mimeType (ogg, video, pdf, ecc... )
- to override the style by adding your own stylesheet, See [`overrideStyle`](./README.MD#overrideStyle) for more info
- to override the style by adding your own stylesheet, See [`overrideStyle`](./README.MD#overrideStyle) for more info
- to add some custom styles by adding your own style sheet that will be loaded after the default stylessheet See [`customstyle`](./README.MD#customstyle) for more info
- By default the duration is now calculated based on **nanoseconds** because that is the default of Cucumber. See remark above and [`durationInMS`](./README.MD#durationinms)
- A custom [`pageTitle`](./README.MD#pageTitle) and a custom [`pageFooter`](./README.MD#pageFooter) can be added, tnx to [muthukumarse](https://github.com/muthukumarse)

@@ -173,3 +174,3 @@ ![Snapshot - Features overview](./docs/images/browsers-features-overview.jpg "Snapshot - Browsers features overview")

You can customise Page Footer if required. You just need to provide a html string like `<div><p>A custom footer in html</p></div>`
### `displayDuration`

@@ -189,3 +190,3 @@ - **Type:** `boolean`

If set to `true` the duration of steps will be expected to be in **milliseconds**, which might result in incorrect durations when using a version of Cucumber(JS 1 or 4) that does report in **nanaseconds**.
If set to `true` the duration of steps will be expected to be in **milliseconds**, which might result in incorrect durations when using a version of Cucumber(JS 1 or 4) that does report in **nanaseconds**.
This parameter relies on `displayDuration: true`

@@ -192,0 +193,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc