0.2.0 • Published 8 years ago

protractor-timeline-plugin v0.2.0

Weekly downloads
76
License
MIT
Repository
github
Last release
8 years ago

Timeline Plugin

This plugin gathers test timeline information from the protractor test process, the selenium client logs (if available), and sauce labs (if available), and presents the output visually. This improves understanding of where latency issues are in tests.

To enable the Timeline plugin, set it up in your config file:

exports.config = {
  plugins: [{
    package: 'protractor-timeline-plugin',

    // Output json and html will go in this folder.
    outdir: 'timelines',

    // Set the name of the html file. Defaults to index.html.
    outputHtmlFileName: 'results.html'

    // Optional - if sauceUser and sauceKey are specified, logs from
    // SauceLabs will also be parsed after test invocation.
    sauceUser: 'Jane',
    sauceKey: 'abcdefg'
  }],
  // other configuration settings
};