Coder Social home page Coder Social logo

Comments (5)

javierbrea avatar javierbrea commented on September 27, 2024

Hi @adrixgc , in fact, this is the expected behavior, as you can see in the plugin code:

function testHasFailed(currentTest) {
  return currentTest.state === "failed" && currentTest.currentRetry() === currentTest.retries();
}

The problem may be related to the Cypress version, because the plugin uses Cypress internal implementations, and, so, it is broken frequently on new releases.

So, please provide details about your Cypress version, OS, etc.

from cypress-fail-fast.

adrixgc avatar adrixgc commented on September 27, 2024

Ups, then it should work I guess. Here are my versions:
"cypress": "13.3.0",
"cypress-fail-fast": "^7.1.1"

And here you can see the error:
imagen
It first fails the edition on first attempt and the it skips the rest of them, it never tries a second time

from cypress-fail-fast.

YrenR avatar YrenR commented on September 27, 2024

I have the same problem, once the test fails, it skips the rest of the tests and does not run it again. 😢

"cypress": "^13.13.2", (latest)
"cypress-fail-fast": "^7.1.1", (latest)

from cypress-fail-fast.

adrixgc avatar adrixgc commented on September 27, 2024

Any news about it? Thanks!

from cypress-fail-fast.

javierbrea avatar javierbrea commented on September 27, 2024

Hi @adrixgc, I guess it may be related to a change in the internals of Cypress. Some research is needed to check if Cypress methods are returning the values that this extension expects in Cypress v13, specifically test.state, test.retries() and test.currentRetry(). I'm currently on holidays, so, any contribution would be welcome.

from cypress-fail-fast.

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.