mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Bug 1654392 - Ensure the order of the search engine configuration is consistent, and add some more distribution tests. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D95022
This commit is contained in:
parent
07f304d057
commit
9ad9fa5a59
@ -140,7 +140,7 @@ class SearchEngineSelector {
|
||||
let result = [];
|
||||
let failed = false;
|
||||
try {
|
||||
result = await this._remoteConfig.get();
|
||||
result = await this._remoteConfig.get({ order: "id" });
|
||||
} catch (ex) {
|
||||
logConsole.error(ex);
|
||||
failed = true;
|
||||
|
@ -514,6 +514,13 @@ for (const locale of ["en-US", "de"]) {
|
||||
});
|
||||
}
|
||||
|
||||
tests.push({
|
||||
locale: "ru",
|
||||
region: "RU",
|
||||
distribution: "gmx",
|
||||
test: engines => hasDefault(engines, "GMX Suche"),
|
||||
});
|
||||
|
||||
tests.push({
|
||||
locale: "en-GB",
|
||||
distribution: "gmxcouk",
|
||||
@ -528,6 +535,13 @@ tests.push({
|
||||
hasEnginesFirst(engines, ["GMX Search"]),
|
||||
});
|
||||
|
||||
tests.push({
|
||||
locale: "ru",
|
||||
region: "RU",
|
||||
distribution: "gmxcouk",
|
||||
test: engines => hasDefault(engines, "GMX Search"),
|
||||
});
|
||||
|
||||
tests.push({
|
||||
locale: "es",
|
||||
distribution: "gmxes",
|
||||
@ -542,6 +556,13 @@ tests.push({
|
||||
hasEnginesFirst(engines, ["GMX Search"]),
|
||||
});
|
||||
|
||||
tests.push({
|
||||
locale: "ru",
|
||||
region: "RU",
|
||||
distribution: "gmxes",
|
||||
test: engines => hasDefault(engines, "GMX - Búsqueda web"),
|
||||
});
|
||||
|
||||
tests.push({
|
||||
locale: "fr",
|
||||
distribution: "gmxfr",
|
||||
@ -556,6 +577,13 @@ tests.push({
|
||||
hasEnginesFirst(engines, ["GMX Search"]),
|
||||
});
|
||||
|
||||
tests.push({
|
||||
locale: "ru",
|
||||
region: "RU",
|
||||
distribution: "gmxfr",
|
||||
test: engines => hasDefault(engines, "GMX - Recherche web"),
|
||||
});
|
||||
|
||||
tests.push({
|
||||
locale: "ru",
|
||||
distribution: "yandex-drp",
|
||||
|
Loading…
x
Reference in New Issue
Block a user