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

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

Issue 2957943003: MD User manager: Migrate from PaperDialogBehavior to cr-dialog. (Closed)
Patch Set: Restore color. Created 3 years, 6 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/test/data/webui/md_user_manager/control_bar_tests.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 dc6b3c303ab98281cfeec2c9c0fe88af74e7f686..8e21ecc616a0429bf6505eada6d1f22dfd2a3f45 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
@@ -32,13 +32,13 @@ cr.define('user_manager.import_supervised_user_tests', function() {
test('Dialog does not show if no signed-in user is provided', function() {
// The dialog is initially not visible.
- assertFalse(importElement.$.dialog.opened);
+ assertFalse(importElement.$.dialog.open);
importElement.show(undefined, []);
Polymer.dom.flush();
// The dialog is still not visible.
- assertFalse(importElement.$.dialog.opened);
+ assertFalse(importElement.$.dialog.open);
});
test('Can import supervised user', function() {
@@ -61,20 +61,20 @@ cr.define('user_manager.import_supervised_user_tests', function() {
event.detail.supervisedUser.name == 'supervised user 2') {
Polymer.dom.flush();
// The dialog is no longer visible.
- assertFalse(importElement.$.dialog.opened);
+ assertFalse(importElement.$.dialog.open);
resolve();
}
});
// The dialog is initially not visible.
- assertFalse(importElement.$.dialog.opened);
+ assertFalse(importElement.$.dialog.open);
importElement.show(signedInUser, supervisedUsers);
Polymer.dom.flush();
// The dialog becomes visible.
- assertTrue(importElement.$.dialog.opened);
+ assertTrue(importElement.$.dialog.open);
// The correct message is displayed.
assertEquals(loadTimeData.getString('supervisedUserImportText'),
« no previous file with comments | « chrome/test/data/webui/md_user_manager/control_bar_tests.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698