'Can't generate cucumber reports after stop cypress runner
I am using Cypress + Cucumber. Trying to fail test and skip steps if one of the failed. For this, I'm using the following code:
afterEach(function () {
if (this.currentTest.state === 'failed') {
Cypress.runner.stop()
}
});
But if I use this and test failed I don't receive any reports in cucumber-json folder. Maybe someone has a solution for this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
