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

Browser console output should be logged to log/development.log #581

Open
thebravoman opened this issue May 20, 2020 · 2 comments
Open

Browser console output should be logged to log/development.log #581

thebravoman opened this issue May 20, 2020 · 2 comments

Comments

@thebravoman
Copy link

thebravoman commented May 20, 2020

Running specs from browser. Console log in browser contains things like

Uncaught Extension 'lc' registered to listen for non existing event: 'ac'!
2scenarios_spec.self-aab74e4a9e58cea940c59c886d2b129405e994265bcef3120b9d937e78387840.js?body=1?body=1:54 Uncaught (in promise) undefined
checkEvent @ scenarios_spec.self-aab74e4a9e58cea940c59c886d2b129405e994265bcef3120b9d937e78387840.js?body=1?body=1:54
setTimeout (async)
checkEvent @ scenarios_spec.self-aab74e4a9e58cea940c59c886d2b129405e994265bcef3120b9d937e78387840.js?body=1?body=1:62
setTimeout (async)
checkEvent @ scenarios_spec.self-aab74e4a9e58cea940c59c886d2b129405e994265bcef3120b9d937e78387840.js?body=1?body=1:62

These are errors that my tests output as error in the console, because of some promises.

What I can not find and I think should be added to the documentation is how to get this error logged to log/development.log when I am starting teaspoon from cli

@thebravoman thebravoman changed the title Log browser console output should be logged to log. Browser console output should be logged to log. May 20, 2020
@thebravoman thebravoman changed the title Browser console output should be logged to log. Browser console output should be logged to log/development.log May 20, 2020
@hidr0
Copy link

hidr0 commented May 25, 2020

I would like to see this resolved as-well.

@mathieujobin
Copy link
Collaborator

it indeed sounds like a good suggestion, if you can make the change, please open a PR

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

No branches or pull requests

3 participants