Skip to content

Visual regression? expect(page).toMatchScreenshot()? #252

Open
@FezVrasta

Description

@FezVrasta

🚀 Feature Proposal

I't be great to have a toMatchSnapshot() like API for visual regression tests.

Motivation

There are cases where visual regression is very useful.

Example

await expect(page).toMatchScreenshot();

Pitch

It belongs to jest-puppeteer because it's a Jest-like API to take advantage of a Puppeteer feature.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions