Bug 1972631 - Update search config tests for Google Partner Code. r=standard8 a=pascalc

Differential Revision: https://phabricator.services.mozilla.com/D254507
This commit is contained in:
Moritz Beier
2025-07-08 09:07:34 +02:00
committed by pchevrel@mozilla.com
parent d55385a1dd
commit eb59c44268
4 changed files with 48 additions and 10 deletions

View File

@@ -118,10 +118,9 @@ add_task(async function test_search_config_codes_in_search_telemetry() {
`Should have the base partner code ${engine.base.partnerCode} listed in the search telemetry 'taggedCodes'`
);
} else {
Assert.equal(
telemetryEntry.telemetryId,
"baidu",
"Should only not have a base partner code for Baidu"
Assert.ok(
["google", "baidu"].includes(telemetryEntry.telemetryId),
"Should only not have a base partner code for Google and Baidu"
);
}