We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe0faf commit a7c50acCopy full SHA for a7c50ac
lib/plugin/retryFailedStep.js
@@ -106,7 +106,9 @@ module.exports = config => {
106
})
107
108
event.dispatcher.on(event.test.before, test => {
109
- if (test.opts.disableRetryFailedStep) {
+ // pass disableRetryFailedStep is a preferred way to disable retries
110
+ // test.disableRetryFailedStep is used for backward compatibility
111
+ if (test.opts.disableRetryFailedStep || test.disableRetryFailedStep) {
112
store.autoRetries = false
113
return // disable retry when a test is not active
114
}
0 commit comments