-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
no error when a browser fails to start #71
Comments
Does the script really exit with non zero code ? Because if so, testacular should show error, including the stderr output:
This is actually log with retrying the browser 3 times.... |
it's possible that the browser somehow the script ended up returning 0 even though there was an error. Try the same thing with a existing file that just returns 0 without starting a browser. |
I think that's the case: #!/bin/bash
echo "ERROR" >&2
exit 0 Will produce:
If you change the script to exit non zero status, you will get:
We can ignore the exit code and just print out error log, whenever there is any stderr output. |
Reverted, see vojtajina/testacular@825a61d |
latest canay 0.3.8 does abort a run if a browser fails to start, but there is no indication as to which browser failed and with what error:
ideally, I'd like to see an error log statying that e.g. ie9.sh exited before a browser was captured and that the exit code was 12. or maybe even print the actual error message from stderr if there is anything there.
The text was updated successfully, but these errors were encountered: