зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1648773 - don't fail test_module_LoginStoreTelemetry.js for Thunderbird. r=MattN
Thunderbird is not in the collected products, but the test runs. Avoid the failure by collecting data during the test. Differential Revision: https://phabricator.services.mozilla.com/D81450
This commit is contained in:
Родитель
fcc7d40c2f
Коммит
3ece3e66ca
|
@ -10,6 +10,13 @@ const { TelemetryTestUtils } = ChromeUtils.import(
|
|||
"resource://testing-common/TelemetryTestUtils.jsm"
|
||||
);
|
||||
|
||||
// Enable the collection (during test) for all products so even products
|
||||
// that don't collect the data will be able to run the test without failure.
|
||||
Services.prefs.setBoolPref(
|
||||
"toolkit.telemetry.testing.overrideProductsCheck",
|
||||
true
|
||||
);
|
||||
|
||||
/**
|
||||
* Tests collecting telemetry when login store is missing.
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче