Skip to content

Cypress Test Occasionally Fails Due to Minor Image Differences With Animation Disabled #29144

@DanielGumbs

Description

@DanielGumbs

Current behavior

During the execution of our Cypress test suite, occasional failures occur where tests fail due to minor differences in the same images. Even with animations disabled, these differences seem to occur, undermining the consistency of our test results. These inconsistencies disrupt the reliability of our testing process and make it challenging to trust the test outcomes for validating our application's functionality.

Base Snapshot:
before_page_47-base

Actual Snapshot:
before_page_47-actual

Diff Snapshot:
before_page_47-diff

Desired behavior

The Cypress tests should consistently pass or fail based on the expected behavior of the application under test. Minor differences in the same images, especially with animations disabled, should not cause test failures.

Test code to reproduce

image

Cypress Version

13.6.4

Node version

20.11.1

Operating System

Windows 10.0.19044.1889

Debug Logs

No response

Other

No response

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