Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

testcafe-blink-diff

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testcafe-blink-diff - npm Package Compare versions

Comparing version 0.3.6 to 0.3.7

4

lib/builder.js

@@ -23,4 +23,4 @@ const wargs = require('wargs');

- Run testcafe with \`--take-snapshot\` to take the base screenshots,
run again without \`--take-snapshot\` to take actual screenshots
- Run testcafe with \`--take-snapshot base\` to take the base screenshots,
run again with \`--take-snapshot actual\` to take actual screenshots

@@ -27,0 +27,0 @@ - Run ${pkgInfo.name} to generate a report from the taken screenshots,

{
"name": "testcafe-blink-diff",
"version": "0.3.6",
"version": "0.3.7",
"description": "Visual regression for Testcafé through BlinkDiff",

@@ -33,4 +33,4 @@ "main": "lib/index.js",

"eslint-plugin-import": "^2.14.0",
"somedom": "0.0.5"
"somedom": "0.0.7"
}
}

@@ -28,3 +28,3 @@ [![NPM version](https://badge.fury.io/js/testcafe-blink-diff.png)](http://badge.fury.io/js/testcafe-blink-diff)

Run your tests adding `--take-snapshot` to take the **base** screenshots.
Each time you run tests with `--take-snapshot base` it'll take the **base** screenshots.

@@ -35,3 +35,3 @@ ```bash

Now run the same tests without `--take-snapshot` to take the **actual** screenshots to compare with.
Now run the same tests `--take-snapshot actual` to take the **actual** screenshots to compare with.

@@ -41,3 +41,3 @@ Finally, invoke the CLI for generating a simple `generated/index.html` report, e.g.

```bash
$ npx testcafe-blink-diff tests/screenshots --open --threshold 0.03 # <= 3% is OK
$ npx testcafe-blink-diff tests/screenshots --compare base:actual --open --threshold 0.03 # <= 3% is OK
```

@@ -44,0 +44,0 @@

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