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

Unified Diff: chrome/test/data/webui/md_user_manager/import_supervised_user_tests.js

Issue 1995043003: Fix UserManagerBrowserTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: esaber Created 4 years, 7 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 | « chrome/browser/resources/md_user_manager/import_supervised_user.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/md_user_manager/import_supervised_user_tests.js
diff --git a/chrome/test/data/webui/md_user_manager/import_supervised_user_tests.js b/chrome/test/data/webui/md_user_manager/import_supervised_user_tests.js
index 4e3f23e759d386ea29ff3a903bba17e8c761619c..fe1321c32ff6a0d145472fbe720dd0b3367d3c46 100644
--- a/chrome/test/data/webui/md_user_manager/import_supervised_user_tests.js
+++ b/chrome/test/data/webui/md_user_manager/import_supervised_user_tests.js
@@ -25,7 +25,11 @@ cr.define('user_manager.import_supervised_user_tests', function() {
Polymer.dom.flush();
});
- teardown(function() { importElement.remove(); });
+ teardown(function(done) {
+ importElement.remove();
+ // Allow asynchronous tasks to finish.
+ setTimeout(done);
+ });
test('Dialog does not show if no signed-in user is provided', function() {
// The dialog is initially not visible.
« no previous file with comments | « chrome/browser/resources/md_user_manager/import_supervised_user.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698