Giter Club home page Giter Club logo

Comments (4)

PippoRaimondi avatar PippoRaimondi commented on July 18, 2024

Hello, you can find documentation for reporting here:

https://github.com/uktrade/cypress-image-diff/blob/main/docs/Reporting.md

can you please share the test result + report it generated and I will have a look.

from cypress-image-diff.

helenou avatar helenou commented on July 18, 2024

thanks for your reply. I see comments about the threshold being different than set (I set to 0 by default) when using the retry options as follow:

const retryOptions = {
limit: 5, // max number of retries
delay: 4000 // delay before next iteration, ms
};

cy.compareSnapshot('home-page', 0, retryOptions);

Hello, you can find documentation for reporting here:

https://github.com/uktrade/cypress-image-diff/blob/main/docs/Reporting.md

can you please share the test result + report it generated and I will have a look.

from cypress-image-diff.

helenou avatar helenou commented on July 18, 2024

@PippoRaimondi sorry I cannot share the screenshots but so far from the report (i was missing the report config in after() ) now I see a clear difference in screenshots size where the baseLine is clearly shorter height than comparison.

Can you explain how to decide above 0 threshold please ?

// EDIT: I have cleared the baseline images and now size is similar so I get a full green report, no image displayed it doesn't find difference.

from cypress-image-diff.

PippoRaimondi avatar PippoRaimondi commented on July 18, 2024

when there is no difference, image is not displayed on the report... seems like the main usage of showing images in the report is when there are failures...

from cypress-image-diff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.