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

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

Issue 2727643010: InternetPageTest: flush dom after interactions (Closed)
Patch Set: Created 3 years, 10 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/test/data/webui/settings/internet_page_tests.js
diff --git a/chrome/test/data/webui/settings/internet_page_tests.js b/chrome/test/data/webui/settings/internet_page_tests.js
index f6d3fae5d9c109bed440874f454f063732d4d0e9..b4c35d56097c241c246034070c04da6e83742339 100644
--- a/chrome/test/data/webui/settings/internet_page_tests.js
+++ b/chrome/test/data/webui/settings/internet_page_tests.js
@@ -119,6 +119,7 @@ suite('Internet', function() {
var wifi = networkSummary_.$$('#WiFi');
assertTrue(!!wifi);
MockInteractions.tap(wifi.$$('button.subpage-arrow'));
+ Polymer.dom.flush();
var subpage = internetPage.$$('settings-internet-subpage');
assertTrue(!!subpage);
assertEquals(2, subpage.networkStateList_.length);
@@ -164,6 +165,7 @@ suite('Internet', function() {
var vpn = networkSummary_.$$('#VPN');
assertTrue(!!vpn);
MockInteractions.tap(vpn.$$('button.subpage-arrow'));
+ Polymer.dom.flush();
var subpage = internetPage.$$('settings-internet-subpage');
assertTrue(!!subpage);
assertEquals(2, subpage.networkStateList_.length);
« 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