multiple-cucumber-html-reporter
Advanced tools
Comparing version 3.7.0 to 3.8.0
{ | ||
"json": { | ||
"enabled": true | ||
"enabled": true, | ||
"formatter": ".bin/cucumber-json-formatter", | ||
"output": ".run/reports/json/cucumber-report.json" | ||
}, | ||
"messages": { | ||
"enabled": false | ||
"enabled": true, | ||
"output": ".run/reports/messages/cucumber-report.json" | ||
}, | ||
"stepDefinitions": ["cypress/e2e/[filepath].step.{js,ts}"] | ||
} |
@@ -6,4 +6,8 @@ { | ||
"main": "index.js", | ||
"type": "module", | ||
"scripts": { | ||
"test": "cypress run --browser chrome --headed --reporter json", | ||
"clean": "rm -rf dist .run", | ||
"build": "pnpm clean && tsc", | ||
"test": "pnpm build && cypress run --browser chrome --headed", | ||
"report": "node dist/cucumber-html-report.js", | ||
"cy:run": "cypress run" | ||
@@ -14,11 +18,12 @@ }, | ||
"devDependencies": { | ||
"@badeball/cypress-cucumber-preprocessor": "^20.1.0", | ||
"@cypress/browserify-preprocessor": "^3.0.2", | ||
"cypress": "^13.13.1", | ||
"multiple-cucumber-html-reporter": "^3.6.2" | ||
"@badeball/cypress-cucumber-preprocessor": "^21.0.0", | ||
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.3", | ||
"@types/node": "^22.7.4", | ||
"cypress": "^13.13.2", | ||
"multiple-cucumber-html-reporter": "^3.7.0", | ||
"typescript": "^5.6.2" | ||
}, | ||
"dependencies": { | ||
"dayjs": "^1.11.12", | ||
"fs": "^0.0.1-security" | ||
"dayjs": "^1.11.13" | ||
} | ||
} |
@@ -13,2 +13,3 @@ 'use strict'; | ||
const REPORT_STYLESHEET = 'style.css'; | ||
const DARK_MODE_JS = './assets/js/darkmode.js'; | ||
const GENERIC_JS = 'generic.js'; | ||
@@ -449,2 +450,10 @@ const INDEX_HTML = 'index.html'; | ||
step.embeddings[embeddingIndex] = {}; | ||
} else if ( | ||
embedding.mime_type === 'video/webm' || | ||
(embedding.media && embedding.media.type === 'video/webm') | ||
) { | ||
step.video = (step.video ? step.video : []).concat([ | ||
'data:video/webm;base64,' + embedding.data, | ||
]); | ||
step.embeddings[embeddingIndex] = {}; | ||
} else { | ||
@@ -484,2 +493,3 @@ let embeddingType = 'text/plain'; | ||
!step.image && | ||
!step.video && | ||
_.size(step.attachments) === 0 && | ||
@@ -609,2 +619,3 @@ step.result.status !== RESULT_STATUS.failed) | ||
useCDN: suite.useCDN, | ||
darkmodeScript: _readTemplateFile(DARK_MODE_JS), | ||
genericScript: _readTemplateFile(GENERIC_JS), | ||
@@ -662,2 +673,3 @@ pageTitle: pageTitle, | ||
styles: _readTemplateFile(suite.style), | ||
darkmodeScript: _readTemplateFile(DARK_MODE_JS), | ||
genericScript: _readTemplateFile(GENERIC_JS), | ||
@@ -664,0 +676,0 @@ pageTitle: pageTitle, |
{ | ||
"name": "multiple-cucumber-html-reporter", | ||
"version": "3.7.0", | ||
"version": "3.8.0", | ||
"description": "Generate beautiful Cucumber.js reports for multiple instances (browsers / devices)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
Sorry, the diff of this file is not supported yet
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
4977385
69
4
3624
2