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

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

Issue 2402553002: MD Settings: Implementing modal popup/action menus. (Closed)
Patch Set: Address comments. Created 4 years, 2 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
Index: chrome/test/data/webui/settings/search_engines_page_test.js
diff --git a/chrome/test/data/webui/settings/search_engines_page_test.js b/chrome/test/data/webui/settings/search_engines_page_test.js
index 0aaa26daabffacc25658cd32c1c5ce85fcbacbb8..76dd00b94917d16682a984e4c67e2e2c23075644 100644
--- a/chrome/test/data/webui/settings/search_engines_page_test.js
+++ b/chrome/test/data/webui/settings/search_engines_page_test.js
@@ -187,6 +187,9 @@ cr.define('settings_search_engines_page', function() {
});
test('MakeDefault_Enabled', function() {
+ // Open action menu.
+ MockInteractions.tap(entry.$$('paper-icon-button'));
+
var makeDefaultButton = entry.$.makeDefault;
assertTrue(!!makeDefaultButton);
MockInteractions.tap(makeDefaultButton);
@@ -198,6 +201,9 @@ cr.define('settings_search_engines_page', function() {
// Test that clicking the "edit" button brings up a dialog.
test('Edit_Enabled', function() {
+ // Open action menu.
+ MockInteractions.tap(entry.$$('paper-icon-button'));
+
var engine = entry.engine;
var editButton = entry.$.edit;
assertTrue(!!editButton);

Powered by Google App Engine
This is Rietveld 408576698