teaspoon icon indicating copy to clipboard operation
teaspoon copied to clipboard

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

Open thebravoman opened this issue 4 years ago • 2 comments

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 avatar May 20 '20 10:05 thebravoman

I would like to see this resolved as-well.

hidr0 avatar May 25 '20 08:05 hidr0

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

mathieujobin avatar Mar 11 '21 23:03 mathieujobin