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

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

Issue 2848973003: MD Settings: convert paper-icon-button to paper-icon-button-light. (Closed)
Patch Set: move unrelated fix to another CL 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
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 55090acee83b67ea322946205fe3c1de21b21968..5eb50207eaf6fec762d5effdd89470740e92bce3 100644
--- a/chrome/test/data/webui/settings/search_engines_page_test.js
+++ b/chrome/test/data/webui/settings/search_engines_page_test.js
@@ -176,7 +176,7 @@ cr.define('settings_search_engines_page', function() {
test('Remove_Enabled', function() {
// Open action menu.
- MockInteractions.tap(entry.$$('paper-icon-button'));
+ MockInteractions.tap(entry.$$('button'));
var menu = entry.$$('dialog[is=cr-action-menu]');
assertTrue(menu.open);
@@ -193,7 +193,7 @@ cr.define('settings_search_engines_page', function() {
test('MakeDefault_Enabled', function() {
// Open action menu.
- MockInteractions.tap(entry.$$('paper-icon-button'));
+ MockInteractions.tap(entry.$$('button'));
var menu = entry.$$('dialog[is=cr-action-menu]');
assertTrue(menu.open);
@@ -210,7 +210,7 @@ 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'));
+ MockInteractions.tap(entry.$$('button'));
var menu = entry.$$('dialog[is=cr-action-menu]');
assertTrue(menu.open);
@@ -396,7 +396,7 @@ cr.define('settings_search_engines_page', function() {
document.body.appendChild(entry);
// Open action menu.
- MockInteractions.tap(entry.$$('paper-icon-button'));
+ MockInteractions.tap(entry.$$('button'));
});
teardown(function() { entry.remove(); });

Powered by Google App Engine
This is Rietveld 408576698