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 99b3e88 commit 2d6a27aCopy full SHA for 2d6a27a
1 file changed
lib/plugin/retryFailedStep.js
@@ -128,7 +128,6 @@ export default function (config) {
128
return
129
}
130
131
- // Check if test.retries is a function (may not exist in all contexts)
132
const scenarioRetries = typeof test.retries === 'function' ? test.retries() : -1
133
const stepRetryPriority = RETRY_PRIORITIES.STEP_PLUGIN
134
const scenarioPriority = test.opts.retryPriority || 0
@@ -160,7 +159,6 @@ export default function (config) {
160
159
const hasManualRetries = recorder.retries.some(retry => retry !== config)
161
if (hasManualRetries) return
162
163
- // Check if test.retries is a function
164
165
if (scenarioRetries > 0 && config.deferToScenarioRetries !== false) {
166
0 commit comments