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

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

Issue 2739693002: MD Settings: Close action menu when opening edit cookie exception dialog. (Closed)
Patch Set: Add test assertion. Created 3 years, 9 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/settings/site_settings/site_list.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/settings/site_list_tests.js
diff --git a/chrome/test/data/webui/settings/site_list_tests.js b/chrome/test/data/webui/settings/site_list_tests.js
index 594fb8a503f8b6ff005f5ab0e1c67e23f8890eef..852a35a93411995d58dc34844088e459eeca09a1 100644
--- a/chrome/test/data/webui/settings/site_list_tests.js
+++ b/chrome/test/data/webui/settings/site_list_tests.js
@@ -633,10 +633,13 @@ cr.define('site_list', function() {
openActionMenu(0);
assertMenu(['Allow', 'Block', 'Edit', 'Remove'], testElement);
+ var menu = testElement.$$('dialog[is=cr-action-menu]');
+ assertTrue(menu.open);
var edit = testElement.$.edit;
assertTrue(!!edit);
MockInteractions.tap(edit);
Polymer.dom.flush();
+ assertFalse(menu.open);
assertTrue(!!testElement.$$('settings-edit-exception-dialog'));
});
« no previous file with comments | « chrome/browser/resources/settings/site_settings/site_list.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698