Skip to content

How to make assertSnapshot() save to a particular file path #609

@bwidulski-mdsol

Description

@bwidulski-mdsol

I'm running a large test that takes screenshots of multiple screens and takes a while to run. I currently use verifySnapshot() to run through it without crashing due to a non-match and assertSnapshot() to make sure screenshots match. However, assertSnapshot() looks in a different folder than the one I save to with verifySnapshot(). How do I make it so that verifySnapshot() saves to a folder and assertSnapshot() looks in that folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions