Giter Club home page Giter Club logo

Comments (3)

jradom avatar jradom commented on July 18, 2024 1

Hi Pippo,

Please, let me know if you can make a fix/improvement for my issue above in a feasible future? I really like your tool and wanna use it in my project

Thanks

Jeff

from cypress-image-diff.

jradom avatar jradom commented on July 18, 2024

When I run several features only one report was created. Any next one overwrites a previous. I'd prefer a consolidated report or separate reports based on feature files. Also, it's not clear to me how to assert in order to verify a failed or passed scenario

from cypress-image-diff.

jradom avatar jradom commented on July 18, 2024

image

below are my step samples

Given(/^I am finally on NIGHTLY login page$/, function () {
cy.visit('http://nightly.ist.bina.com/');
});

Then(/^I take my own screenshot NIGHTLY$/, function () {
let uploadToS3Local: string = 'aws s3 sync ' + BASELINE_LOCAL_PATH + ' ' + BASELINE_LOCAL_AWS_PATH;
let uploadToS3Jenkins: string = 'aws s3 sync ' + BASELINE_LOCAL_PATH + ' ' + BASELINE_JENKINS_AWS_PATH;

cy.compareSnapshot('wholePageYahoo', 0.1)

if (getOS() === 'Mac OS') {
cy.exec(uploadToS3Local);
} else {
cy.exec(uploadToS3Jenkins);
}
});

Then(/^I take my own screenshot and compare with actual YAHOO$/, function () {
let downloadToS3Local: string = 'aws s3 sync ' + BASELINE_LOCAL_AWS_PATH + " " + BASELINE_LOCAL_PATH;
let downloadToS3Jenkins: string = 'aws s3 sync ' + BASELINE_JENKINS_AWS_PATH + ' ' + BASELINE_LOCAL_PATH;

if (getOS() === 'Mac OS') {
cy.exec(downloadToS3Local);
} else {
cy.exec(downloadToS3Jenkins);
}

cy.compareSnapshot('wholePageYahoo', 0.1)
});

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.