screenshot-reporter

1.1.331 • Public • Published

Why do I need this?

Jasmine reporter for making screenshots and html-capture on test failure. Helps debugging newly created, flaky, not stable tests.

Installing

npm install --save-dev screenshot-reporter

Usage

Add environment variable with your base directory to save files and remote link to read it from there:

export SCREENSHOT_BASE_DIR="/usr/work/screenshots";
export SCREENSHOT_REMOTE_LINK="http://google.com/my-screenshots";

In your protractor conf:

var ScreenshotReporter = require('screenshot-reporter');
jasmine.getEnv().addReporter(new ScreenshotReporter());

Readme

Keywords

none

Package Sidebar

Install

npm i screenshot-reporter

Weekly Downloads

238

Version

1.1.331

License

MIT

Unpacked Size

5.54 kB

Total Files

6

Last publish

Collaborators

  • arielh
  • falconci
  • yurynix
  • itai.benda
  • wix-ci
  • wix-ambassador
  • shahata
  • netanelgilad
  • wix-ci-publisher
  • wix-bi-publisher