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

Screenshot reporter doesn't wait for last screenshot before quitting #16

Open
fenduru opened this issue Feb 19, 2015 · 0 comments
Open

Comments

@fenduru
Copy link

fenduru commented Feb 19, 2015

Using this reporter, sometimes Protractor exits before the takeScreenshot() promise is resolved. This causes the last test to occasionally not have a screenshot generated.

My guess would be that _teardownEnv() or the driver's quit() are not chaining onto the last browser action's promise, but I'm unsure. Do you have any ideas why this would happen?

It seems to be a race condition. It only happens sometimes and I've only seen it happen with Firefox (I've tried with Firefox and Chrome)

@fenduru fenduru changed the title Screenshot reporter doesn't wait for Screenshot reporter doesn't wait for last screenshot before quitting Feb 19, 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

1 participant