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

Show js client side console errors in logs #16

Closed
kellyselden opened this issue Sep 12, 2019 · 3 comments
Closed

Show js client side console errors in logs #16

kellyselden opened this issue Sep 12, 2019 · 3 comments

Comments

@kellyselden
Copy link
Collaborator

kellyselden commented Sep 12, 2019

We should also try to log any ajax errors too.

@vitch
Copy link

vitch commented Dec 16, 2019

I would suggest maybe taking it a step further.

We could gather information about all ajax requests and the status codes returned and output this at the end of every test run. This would make comparing the API interactions of a green test run against a red test run very quick and easy. And should help to very quickly narrow down failures which are happening because of broken APIs...

@kellyselden
Copy link
Collaborator Author

ajax requests will be a bit more difficult requiring a proxy https://stackoverflow.com/questions/36203022/configure-webdriverio-with-browsermobproxy.

@kellyselden
Copy link
Collaborator Author

Tracked here #317

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

No branches or pull requests

2 participants