Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Latest commit

 

History

History
27 lines (22 loc) · 834 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 834 Bytes

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
};