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

Doesn't work properly when protractor is running with "shardTestFiles: true" config #43

Open
joaomqcunha opened this issue Jan 18, 2015 · 11 comments

Comments

@joaomqcunha
Copy link

Until now, we thought that the problem of "protractor-html-screenshot-reporter" when the protractor is running on sharding mode is related to the fact that the results folder was constantly deleted for each spec. Although, with this new version (0.0.19), we now have a way to preserve the results folder for each spec thanks to the option: "preserveDirectory: true".

Now we can see that the result (json and png) of every spec-result is inside the results folder. Although, the "combined.json" file does not contain every spec-result that is inside the results folder. What is the problem now?

My suggestion is:
How can we wait until every spec finishes? And than we can use something like "grunt-merge-data" to merge all the JSONs and only after that generate the HTML reporter.

Any thoughts?

@SteveAquino
Copy link

👍 Really want to have parallel tests in CI but not having screenshots makes debugging issues impossible.

@TammyN
Copy link

TammyN commented Feb 5, 2015

Also waiting on this.

@ljwagerfield
Copy link

+1

4 similar comments
@bradyisom
Copy link

+1

@phazebroek
Copy link

+1

@jitinsharma
Copy link
Contributor

+1

@oliverdennis
Copy link

+1

@ProtHelp
Copy link

ProtHelp commented Dec 7, 2015

+1

1 similar comment
@pnakhat
Copy link

pnakhat commented Dec 16, 2015

+1

@adokania
Copy link

Any solutions to this ?

@maxlegault
Copy link

+1

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