Skip to content

Do we have a folder for baseline images where the images are not changed every run? #87

Closed
@faith-berroya

Description

@faith-berroya

The plugin seems to compare the images from previous run instead of a baseline image. Do we have a setting for which image should we compare the current run? It's getting the wrong images for me as the baseline.

Do I have to run until I get all correct images with:
cy.get('element').matchImage({updateImages: true,maxDiffThreshold: 0.05,forceDeviceScaleFactor: false})

Once I have them I can remove the updateImages to have the images as fixed?
cy.get('element').matchImage({maxDiffThreshold: 0.05,forceDeviceScaleFactor: false})

Or is there an additional setting where we could save a baseline image into another folder then call and compare from the current run?

Correct:
image
Wrong: (What the plugin gets, and pass)
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions