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

snappit-mocha-protractor

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snappit-mocha-protractor

Take screenshots of just a section of your screen in Protractor tests. For Mocha.

  • 0.6.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

snappit-mocha-protractor

A screenshot tool built on top of Protractor, the end to end testing library for AngularJS applications. For use with the Mocha test runner.

Automatically organizes all screenshots to be vcs-friendly, allowing you to track the visual changes of your web site as new code is introduced. Includes scripts to simplify the process of setting up dedicated screenshot repositories, triggering "visual regressions" during pull requests in your project. If your project's code base changes trigger a visual change in your website, you'll be notified about it via a github mention in the project pull request.

All detailed content is located in the Wiki.

  1. Installation and setting up a simple test
  2. Saving screenshots to your project
  3. Saving screenshots into a dedicated screenshots repository
  4. Setting up a service account for dedicated screenshots repositories
  5. Reference Configuration File

Note: This tool was built against Protractor version > 3.2.2, and is known to not work with 1.X, 2.X, or < 3.2 versions. This is due to a change in the webdriver-js library that supports Protractor. If you are using an older version of Protractor, try using a version from before the 0.1.0 release.

Note: If you are migrating to the 0.1.0 release, you will need to delete your screenshots and re-run the tool, as webdriver-js has changed the way that it represents selectors as a string (this affects the resulting filename of the screenshot). Otherwise you'll end up with identical screenshots with different names. It's better to start over than leave them hanging around.

Keywords

FAQs

Package last updated on 06 Mar 2017

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