-
Notifications
You must be signed in to change notification settings - Fork 40
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
Report failed to consolidate all specs results when run in parallel mode #189
Comments
It is just not supported. You can either dump the result in different folders, or you can run against multiple browsers with shard test files. But the current implementation is only able to read and write to single results file without locking/synchronization of multiple "threads" |
How to put it in different folder ? is there a way to get thread id |
Hi I figured out that running in multiple capabilities will fix this issue,
Else you have to set preserverootdirectory to true , and also sort the result if using sharded tests
|
@praveendvd Tried with your first solution as also given in the npm beautiful protractor report but question here is how many times you will keep specs/test cases in specs[]? it is unrealistic and not a correct way of mentioning specs for an example if wanted to run suites then what will be the syntax for it? I hope @miller45 @Evilweed come up with better solution to add feature supporting of parallel execution of specs in shardTestFiles:true and consolidate all specs result in single report. Please add this feature soon, people are waiting for this feature because no other protractor reports supports parallel execution. |
For second solution you don't have to give spec files , you can set maxInstance property in protractor config and it will work fine as expected |
Hi Praveen @praveendvd , could you please attach a configuration file to run specs in parallel and get all executed results in a consolidated report. It will be very helpful for me to run and see the results in a consolidated report with parallel execution without getting overriding the results. |
Let's say i want to keep a count of fail and passed specs and at the end of the suite do some post action like to email the result how can it be achieved any pointers will be much appriciated. |
Hi @praveendvd . second solution is working fine.. Thanks for the solution.. cheers |
Just do follow Configuration uploaded above.. you will get Perfect result for parallel execution with consolidated report |
Issue: When running protractor multiple spec files in parallel mode then beautiful report failed to consolidate all specs executed results and in meantime it also got deleted automatically.
It would be good if it can be handle in a parallel mode nowadays parallel execution is in fashion to reduce execution time. Hope this feature would be added soon.
The text was updated successfully, but these errors were encountered: