Skip to content

web: mute more irrelevant logs in integration tests

Created by: valerybugakov

Context

Removing web development builds logs to unclutter out integration test logs. This PR is based on the previous work https://github.com/sourcegraph/sourcegraph/pull/38406 to showcase clean logs with both improvements.

Ideally, we want to use the production build of our web application for integration tests but this requires more time investment. We will be able to address this issue fully next quarter when we will look at our integration tests fundamentals.

Closes https://github.com/sourcegraph/sourcegraph/issues/37666.

Changes

  1. Muted more types of logs.
  2. Upgraded @percy/cli to the latest version to remove warnings.
  3. Added missing mocks to remove error messages from one of the tests.
Before After
Screen Shot 2022-07-08 at 16 06 29 Screen Shot 2022-07-08 at 16 06 29

Test plan

Check that integration test logs are much cleaner! 🧹

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading