Test failed during retry is added to the final test case count in the report portal #566
Unanswered
laxminidawani
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @chrisbillson , can you please help here? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I am working on a Playwright C# framework with Reqnroll. We are using the NUnitRetry.ReqnrollPlugin (version 1.2.0) NuGet package to retry test cases in the regression suite. The framework is integrated with GitLab, and the reports are published on the report portal.
However, we have encountered an issue where the tests that fail during a retry are added to the final count, which is incorrect. For example, if the regression suite has a total of 228 test cases and one test case fails, then retries, and passes on the first retry attempt, the report portal shows a total count of test cases to 229 with a fail count of 1. Please see the attached screenshot below. The final results of the pass/fail count in GitLab are correct, though (Total = 228 and fail =0 ).
Here is the reqnroll.json configuration we are using:
{
"$schema": "https://schemas.reqnroll.net/reqnroll-config-latest.json",
"language": {
"binding": "en-AU",
"feature": "en-AU"
},
"trace": {
"coloredOutput": true
},
"ide": {
"editor": {
"gherkinFormat": {
"indentAndSteps": true,
"indentExamples": true,
"indentRuleChildren": true
}
}
},
"NRetrySettings": {
"maxRetries": 3,
"applyGlobally": true
},
"reporting": {
"excludeRetryFails": true,
"logRetryAttempts": true,
"finalStatusOnly": true,
"retryPlugin": "ReqnrollRetryPlugin"
}
}
Beta Was this translation helpful? Give feedback.
All reactions