Comments (5)
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.
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:
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.
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.
Any news about it? Thanks!
from cypress-fail-fast.
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)
- Getting this Error(1) "after each" hook in "{root}") and not progressing further HOT 5
- Update plugin to be compatible with Cypress 10
- Instead of skipping the test case, can we fail the trailing tests for reporting purposes? HOT 1
- Avoid clashing global types between Cypress and Jest HOT 10
- Disable plugin local and enable on CI HOT 2
- Parallel setting not working HOT 3
- Parallel run example in README produces an error
- Handle possible errors in parallel callbacks
- Support async parallel callbacks
- Tests are not skipped on specs HOT 5
- Add the possibility to add another task when tests are skipped with cypress-failure-fast plugin HOT 3
- Plugin is not skipping any tests. HOT 3
- Use of mutation testing in cypress-fail-fast - Help needed HOT 1
- Argument of type '{ failFast: { enabled: boolean; }; }' is not assignable to parameter of type 'SuiteConfigOverrides'. HOT 4
- Choose strategy of the BAIL option
- Latest release v7.0.2 throws Webpack Compilation Error HOT 2
- Plugin import path in ES6 module syntax HOT 4
- Tests are failed if before hook is failed HOT 1
- "FAIL_FAST_STRATEGY": "spec" doesnt work in pipeline
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cypress-fail-fast.