-
Notifications
You must be signed in to change notification settings - Fork 361
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
test: [M3-7557] - remove console logs from e2e tests #10506
Conversation
Coverage Report: ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The diff LGTM and doing a search for console.
in the codebase didn't show any other results in cypress/e2e/*/
. The tests did fail for me locally though due a timeout so I'll approve once the remote tests pass
@@ -154,15 +127,6 @@ describe('longview', () => { | |||
cy.findByText('Waiting for data...'); | |||
}); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Install Longview on Linode by SSHing into machine and executing cURL command. | |
installLongview(linodeIp, linodePassword, installCommand); |
In this case we still want to call installLongview
, we just don't want to log its output. (This is going to be moot soon thanks to M3-8107, but I'm not sure this test will pass reliably in the meantime without this)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I reverted the changes and put the installlongview()
back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @AzureLatte!
Description 📝
Some of our Cypress tests have stray calls to console.log and similar functions (console.info, console.error, etc.), and these should be removed.
Changes 🔄
Remove console.log functions in the spec files (cypress/e2e/*/)
How to test 🧪
As an Author I have considered 🤔
Check all that apply