Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
s4-protractor-html-screenshot-reporter
Advanced tools
Readme
Protractor test results in HTML format with screen captures.
Will work with multi-capabilities and spec file sharding.
##BETA BETA BETA BETA
Needs more tests, more use in different configurations.
npm install s4-protractor-html-screenshot-reporter
Place the following in your Protractor configuration file
var HTMLScreenshotReporter = require('s4-protractor-html-screenshot-reporter');
Create an instance of the reporter passing (optional) configuration parameters
var htmlReporter = new HTMLScreenshotReporter({
title : 'My Protractor End to End Test Report',
targetPath : 'target',
screenshotsFolder : 'screenshots-folder',
fileName : 'protractor-e2e-report.html'
});
Place the following in your Protractor configuration file
exports.config = {
framework : 'jasmine2',
//You MUST define the resultJsonOutputFile configuration so it can be post processed
resultJsonOutputFile : 'my-protractor-e2e-results.json',
...
//Place an onPrepare function similar to:
onPrepare : function () {
// Assign the test reporters to each running instance
jasmine.getEnv().addReporter(htmlReporter);
//Provide browser with capability information so that all specs can access it
return browser.getProcessedConfig().then(function (config) {
return browser.getCapabilities().then(function (cap) {
browser.version = cap.get('version');
browser.browserName = cap.get('browserName');
browser.baseUrl = config.baseUrl;
});
});
},
//Place an afterLaunch function similar to:
afterLaunch : function (exitCode) {
return new Promise(function (resolve) {
htmlReporter.generateHtmlReport(exports.config.resultJsonOutputFile);
});
}
}
If you want to build and test this project you will be able to by:
npm install
npm test
FAQs
Protractor test results in HTML format with screen captures and teamcity output.
The npm package s4-protractor-html-screenshot-reporter receives a total of 12 weekly downloads. As such, s4-protractor-html-screenshot-reporter popularity was classified as not popular.
We found that s4-protractor-html-screenshot-reporter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.