Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
protractor-multicapabilities-htmlreporter_v2
Advanced tools
Utility to generate html report for multicapabilities automation results
Utility to generate html report for protractor multi capabilities with data provider. Use case is when you want to execute the same test in multiple variants/versions and then you need to report the execution separately.
npm install protractor-multicapabilities-htmlreporter_v2
Execute the script in protractor afterLaunch callback. [A callback function called once all tests have finished running and the WebDriver instance has been shut down.]
afterLaunch: function() {
var reporter = require('protractor-multicapabilities-htmlreporter_v2');
reporter.generateHtmlReport('./ptor-out.json','Automation Results','./report.html');
}
Add the below config for generating output for results in json format
resultJsonOutputFile: 'ptor-out.json'
Make sure test description follows the below format and json output file contains description
in the same format.
Sample test file below, this below example shows hardcoded browser values, you can dynamically pass
browsername and version using getProcessedConfig() as browser.params in onPrepare callback function.
...
it("Version1|Product_Page|iPhone|8.0" ,function () {
...
it("Version2|Product_Page|iPhone|8.0" ,function () {
...
[
{
"description": "Version1|Category_Page|iPhone|8.0",
"assertions": [],
"duration": 4544
},
{
"description": "Version2|Product_Page|iPhone|8.0",
"assertions": [],
"duration": 5898
}
]
[
{
"version": "V1",
"testName": "Order",
"browser": "iPhone-8.0"
},
{
"version": "V2",
"testName": "Home",
"browser": "iPhone-8.0"
}
]
FAQs
Utility to generate html report for multicapabilities automation results
The npm package protractor-multicapabilities-htmlreporter_v2 receives a total of 0 weekly downloads. As such, protractor-multicapabilities-htmlreporter_v2 popularity was classified as not popular.
We found that protractor-multicapabilities-htmlreporter_v2 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.