5.5.0 • Published 10 months ago

cypress-image-compare v5.5.0

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

cypress-image-compare

Cypress command package to compare images with simple pixel diff (pixelmatch). Supports PNG.

Adding to project

Add following lines to your commands.ts:

/// <reference types="cypress-image-compare" />

import "cypress-image-compare/commands";

Usage

In the first run use update option to generate a snapshots.

cy.get("#sample").matchImage("sample", { update: true });

After that just call.

cy.get("#sample").matchImage("sample");
5.5.0

10 months ago

5.4.0

1 year ago

5.3.0

2 years ago

5.2.0

2 years ago

5.1.1

3 years ago

5.1.0

3 years ago

5.0.0

3 years ago

4.0.0

3 years ago

3.0.0

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago