-
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
console logging is messed up when not colored #934
Labels
Comments
This was referenced Sep 27, 2018
This was referenced May 25, 2019
1 task
1 task
1 task
1 task
Open
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the colors config is false, I've noticed various bad behaviors related to using console.log in the test code.
For both PhantomJS and Chrome (the only two browsers I tried), I see that the logged text always starts on the line after the LOG prefix, and there is no line terminator between the text and the next logged line. For example console.log('xxxxxxx') logs as:
LOG: LOG
'xxxxxxx'PhantomJS 1.9.0 (Windows 7): Executed 0 of 1 SUCCESS (0 secs / 0 secs)
Further, for PhantomJS (not Chrome), if the text is less than 7 characters long, it logs nothing. For example console.log('xxxxx') logs as:
LOG: LOG
PhantomJS 1.9.0 (Windows 7): Executed 1 of 1 SUCCESS (0.37 secs / 0.035 secs)
The text was updated successfully, but these errors were encountered: