Gathering detailed insights and metrics for mochawesome-screenshots
Gathering detailed insights and metrics for mochawesome-screenshots
Gathering detailed insights and metrics for mochawesome-screenshots
Gathering detailed insights and metrics for mochawesome-screenshots
cypress-mochawesome-reporter
Zero config Mochawesome reporter for Cypress with screenshots
mochawesome-screenshots-custom
A Gorgeous HTML/CSS Reporter for Mocha.js customized for personal use
mochawesome-screenshots-it-steps
DO NOT USE: A Gorgeous HTML/CSS Reporter for Mocha.js
mochawesome-local-screenshots
A Gorgeous HTML/CSS Reporter for Mocha.js - updated with local screenshot management
This is a fork of Mochawesome(MochawesomePlusPlus) reporter with added screenshots functionality.
npm install mochawesome-screenshots
Typescript
Module System
Node Version
NPM Version
JavaScript (49.63%)
CSS (46.87%)
mupad (3.04%)
HTML (0.46%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
7 Stars
62 Commits
14 Forks
2 Watchers
13 Branches
2 Contributors
Updated on Apr 27, 2021
Latest Version
1.7.3
Package Id
mochawesome-screenshots@1.7.3
Unpacked Size
1.57 MB
Size
833.79 kB
File Count
87
NPM Version
6.9.0
Node Version
10.16.3
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
16
1
This is a fork of Mochawesome(MochawesomePlusPlus) reporter with added screenshots functionality.
A reporter takes a screenshot after each failed test.
Installation of the module:
$ npm install mochawesome-screenshots --save-dev
Usage remains the same as the Mocahwesome.
For protractor - configuration file example:
framework: 'mocha',
mochaOpts: {
reporter: 'mochawesome-screenshots',
reporterOptions: {
reportDir: 'customReportDir',
reportName: 'customReportName',
reportTitle: 'customReportTitle',
reportPageTitle: 'customReportPageTitle',
takePassedScreenshot: false,
clearOldScreenshots: true,
shortScrFileNames: false,
jsonReport: false,
multiReport: false
},
timeout: 600000
},
For playwright and puppeteer:
framework: playwright (puppeteer)
For cypress:
framework: cypress
For webdriver.io:
framework: webdriverio
For nightwatch.js:
framework: nightwatchjs
Use 'multiReport = true' for parallel test execution (adding timestamp in report file name), or change report name in tests or hooks for shardTestFiles option:
const logReport = require('mochawesome-screenshots/logReport');
it('Change report name', function() {
logReport.setReportName(this, 'customReportName');
});
Log data to report:
const logReport = require('mochawesome-screenshots/logReport');
it('Log build number', function() {
logReport.log(this, 'build number:' + buildNumber);
});
Add custom screenshots from mochawesome-reports/screenshots folder to report:
it('Custom screenshot', function() {
..
save screenshot 1 to ('./mochawesome-reports/screenshots/'+imageFileName1);
save screenshot 2 to ('./mochawesome-reports/screenshots/'+imageFileName2);
..
logReport.setScreenshot(this, imageFileName1, 'message1');
logReport.setScreenshot(this, imageFileName2, 'message2');
});
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/16 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
53 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More