-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jest test cases not getting reported into reportPortal - Throw Error: Could not finish Test Step - "Test Name" tempId not found #153
Comments
I'm having the same issue where the same suite is getting broken up into separate ones, like in the screenshot in the description. Version 5.1.1 EDIT: I think this is the actual issue I'm experiencing: #147 |
Are you using anything like |
@tristanzander Yes - I'm using Detox which allows multiple executions with --maxWorkers. The issue is new since upgrading from 5.0.6->5.1.1. What happens is when running concurrently, Jest will frequently invoke _finishSuite prematurely, thus causing it to start a new suite. I think its invoking it and not being strict about which thread it is deleting the suiteid for. |
Investigating further, the This is how I understand the issue Example with 2 test suites Suite 1 - Test 1.1 Suite 1 & 2 Start Edit: it actually seems like it might be related to jest.retryTimes(). Setting this to 0 gets rid of the issue. Will update with any findings. |
I have a react project that uses the jest for test cases.
So i have done the configuration as per your documentation.
Here is my jest configurations.
Commonad i'm using to run test cases is
jest --env=jsdom --no-colors -i
still i'm getting this error
Could not finish Test Step - "Test Name" tempId not found
Screenshot of reported test in to reportportal
I Have more the 600+ test cases but only this much is getting log into the report portal
Does any one have any idea so please guide through this as i'm not able getting any proper document & same issue to look and resolve it.
It would be great help if anyone reply as soon as possible.
The text was updated successfully, but these errors were encountered: