Skip to content

ci: add console errors to smoke tests#705

Closed
nickofthyme wants to merge 4 commits intoelastic:masterfrom
nickofthyme:smoke-test-logs
Closed

ci: add console errors to smoke tests#705
nickofthyme wants to merge 4 commits intoelastic:masterfrom
nickofthyme:smoke-test-logs

Conversation

@nickofthyme
Copy link
Copy Markdown
Collaborator

Summary

Add console errors to smoke tests to help identify the issue. Currently the test just fails and doesn't output the console.errors.

Comment on lines +65 to +66
console.log('ERRRORS BROWSER', JSON.stringify(entries));
console.log('ERRRORS CLIENT', JSON.stringify(entries2));
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aaaaaaaaagaaaaaiiiiinnnn thhhhhiiiiss. ccccccccouldddd beeeeee fffffffiiiiiixxxxxeddd :D

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol I'm trying to log the console errors from the webdriver on the browser tests. Any ideas? This doesn't log anything.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the logging API has not been implemented in the IE driver

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and since this will be sunsetted very soon I think we should not care that much

@nickofthyme nickofthyme deleted the smoke-test-logs branch June 15, 2020 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants