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

console logging is messed up when not colored #934

Closed
stevebroshar opened this issue Feb 28, 2014 · 0 comments · Fixed by #1010
Closed

console logging is messed up when not colored #934

stevebroshar opened this issue Feb 28, 2014 · 0 comments · Fixed by #1010

Comments

@stevebroshar
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants