Socket
Socket
Sign inDemoInstall

netlify-plugin-visual-diff

Package Overview
Dependencies
5
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    netlify-plugin-visual-diff

Check for visual diffs before deploying your site.


Version published
Weekly downloads
12
increased by140%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

netlify-plugin-visual-diff

Check for visual diffs before deploying your site.

This plugin will run Applitools visual diff tests using Cypress and fail the build if the new build is visually different from the previous run.

Visual changes will need to be reviewed and approved in Applitools. Once they’re approved, rebuilding the site will succeed without errors from this plugin.

Why?

If you want to be extra sure that visual changes are intentional, this provides an automated check that highlights all visual changes for review and manual approval.

It’s probably not right for every project, but it’s great if you work on a critical web property and need to be extra super duper pooper sure that visual changes only happen when you want them to.

Setup

NOTE: Before making these changes, you’ll need to enable the Build Plugins Beta.

  1. Get your Applitools API key from https://eyes.applitools.com/
  2. Create an environment variable in your Netlify settings called APPLITOOLS_API_KEY
  3. In your netlify.toml, add the plugin:
[[plugins]]
  package = "netlify-plugin-visual-diff"

Known Issues

  • There’s no way to ignore it — not sure if there should be, but it’s worth discussing

Keywords

FAQs

Last updated on 02 May 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc