Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1296)

Unified Diff: chrome/browser/ui/webui/options/language_options_browsertest.js

Issue 399353006: Update test "LanguageOptionsWebUITest.reselectUILocale" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/language_options_browsertest.js
diff --git a/chrome/browser/ui/webui/options/language_options_browsertest.js b/chrome/browser/ui/webui/options/language_options_browsertest.js
index dd3cd8943cd9521e29cbe71748783f317013d360..eedfeb600b0e8f9e127034a32682eb62113f0e1c 100644
--- a/chrome/browser/ui/webui/options/language_options_browsertest.js
+++ b/chrome/browser/ui/webui/options/language_options_browsertest.js
@@ -27,6 +27,7 @@ GEN('#if defined(OS_WIN) || defined(OS_CHROMEOS)');
// or a [ Display Chrome in this language ] button.
TEST_F('LanguageOptionsWebUITest', 'reselectUILocale', function() {
var currentLang = loadTimeData.getString('currentUiLanguageCode');
+ $('language-options-list').selectLanguageByCode(currentLang);
LanguageOptions.uiLanguageSaved(currentLang);
expectTrue($('language-options-ui-language-button').hidden);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698