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

protractor-multicapabilities-htmlreporter

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protractor-multicapabilities-htmlreporter

Utility to generate html report for protractor multicapabilities automation results

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
94
decreased by-27.13%
Maintainers
1
Weekly downloads
 
Created
Source

protractor-multicapabilities-htmlreporter

A utility to generate HTML report for protractor multicapabilities automation results.

Installation

npm install protractor-multicapabilities-htmlreporter

Usage

params: (inputFile,reportTitle,outputFile)

var reporter = require('protractor-multicapabilities-htmlreporter');
reporter.generateHtmlReport('./ptor-out.json','Automation Results','./report.html');

Configuration

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() in onPrepare method.

...
it("Product_Page|iPhone|8.0" ,function () { 
...

Sample Protractor JSON output file

[
    {
        "description": "Category_Page|iPhone|8.0|",
        "assertions": [],
        "duration": 4544
    },
    {
        "description": "Product_Page|iPhone|8.0|",
        "assertions": [],
        "duration": 5898
    }
]

Output file

Alt text

Release History

  • 0.0.1 Initial release
  • 0.0.2 Cleanup and refactoring
  • 0.0.3 Added image for html reporter

Keywords

FAQs

Package last updated on 08 May 2015

Did you know?

Socket

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.

Install

Related posts

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