Skip to content
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

can not run parallel protractor tests on Selenium Server #12

Closed
chisonne opened this issue Aug 5, 2015 · 2 comments
Closed

can not run parallel protractor tests on Selenium Server #12

chisonne opened this issue Aug 5, 2015 · 2 comments

Comments

@chisonne
Copy link

chisonne commented Aug 5, 2015

I am running protractor tests through Selenium Server on a number of browsers simultaneously.
The mocha bamboo reporter wirtes the results to mocha.json after each test. But when starting the next tests it removes that file. Which means only the results from the last test are being saved.

So I modified the reporter locally by reading the results, adding the new result and writing it back to the file.
This only works when running tests sequentially as 2 tests finishing at the same time would miss each other's results.

Is there any chance the bamboo reporter will be updated by supporting parallel runs?

@issacg
Copy link
Owner

issacg commented Sep 8, 2015

Use --reporter-options output to write to different files?

@chisonne
Copy link
Author

chisonne commented Sep 9, 2015

Thanks for your answer!
I didn't think it was possible to write output to multiple files with this option. But it works! 👍

Each tests writes its results to TIMESTAMP-mocha.json now. And the Bamboo parser is using the pattern: *mocha.json

@chisonne chisonne closed this as completed Sep 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants