Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
/* Any copyright is dedicated to the Public Domain.
"use strict";
/**
* Test the telemetry event for opening the about:translations page.
*/
add_task(async function test_about_translations_telemetry_open() {
const { cleanup } = await openAboutTranslations();
await TestTranslationsTelemetry.assertEvent(
Glean.translationsAboutTranslationsPage.open,
{
expectedEventCount: 1,
expectNewFlowId: true,
}
);
await cleanup();
});