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

Bubbles phantomJS errors to Venus. #361

Merged
merged 2 commits into from
Oct 21, 2015
Merged

Bubbles phantomJS errors to Venus. #361

merged 2 commits into from
Oct 21, 2015

Conversation

bradcypert
Copy link
Contributor

BUG: Broken Test Files (IE: Require dependency, error in initial script load, anything that breaks the page in Phantom before tests actually start running) are skipped, with Venus accepting 0 passed, 0 failed.

This fix increments the error count if that should happen, and prints the stacktrace to the console.

This should prevent errors with scripts loading, require dependencies,
or failing initial page load code from flying the under the radar when
using Venus. Instead of passing the test with `0 tests passed for that file`,
it now increments the error count and prints the stacktrace to the console.
@bradcypert
Copy link
Contributor Author

Additionally, fixed a few typos and remove some unused variables.

@bradcypert
Copy link
Contributor Author

@rbakr Fixed the issues you've raised for my PR. Good catch with the bind. 👍

rbakr added a commit that referenced this pull request Oct 21, 2015
Bubbles phantomJS errors to Venus.
@rbakr rbakr merged commit d84e896 into LinkedInAttic:master Oct 21, 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

Successfully merging this pull request may close these issues.

2 participants