Heavy logging in the console slows down unit test execution

NEW
Unassigned

Status

Mozilla Labs
Jetpack SDK
4 years ago
4 years ago

People

(Reporter: Honza, Unassigned)

Tracking

Details

(Reporter)

Description

4 years ago
I am using the following code in my Jetpack unit test to open a new browser tab:

  let browser = getMostRecentBrowserWindow();

  // Open a new browser tab.
  let newTab = openTab(browser, "http://google.com", {
    inBackground: false
  });

It produces a lot of logs in the system console (where I am running cfx) and slows down the entire test execution (several seconds).

There should be way to switch this off or remove the logging entirely.

(--verbose flag for cfx doesn't seem to have any influence on this)

Honza
You need to log in before you can comment on or make changes to this bug.