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); |