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

Unified Diff: chrome/test/data/webui/settings/languages_page_browsertest.js

Issue 2324293002: Roll performance-oriented iron-list changes (Closed)
Patch Set: test fix courtesy of michaelpg@ Created 4 years, 3 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
Index: chrome/test/data/webui/settings/languages_page_browsertest.js
diff --git a/chrome/test/data/webui/settings/languages_page_browsertest.js b/chrome/test/data/webui/settings/languages_page_browsertest.js
index 47f04e21e7648e81192218890bed34b756f6beb2..b563d3d57727342cf5ffe22838ab63dc69cf098c 100644
--- a/chrome/test/data/webui/settings/languages_page_browsertest.js
+++ b/chrome/test/data/webui/settings/languages_page_browsertest.js
@@ -113,8 +113,9 @@ TEST_F('SettingsLanguagesPageBrowserTest', 'MAYBE_LanguagesPage', function() {
languagesCollapse.querySelector('.list-button:last-of-type');
MockInteractions.tap(addLanguagesButton);
- // The page stamps the dialog and registers listeners asynchronously.
- Polymer.Base.async(function() {
+ // The page stamps the dialog, registers listeners, and populates the
+ // iron-list asynchronously at microtask timing, so wait for a new task.
+ setTimeout(function() {
dialog = languagesPage.$$('settings-add-languages-dialog');
assertTrue(!!dialog);
« no previous file with comments | « chrome/browser/resources/md_history/app.crisper.js ('k') | third_party/polymer/v1_0/components-chromium/iron-list/bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698