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

Unified Diff: chrome/test/data/webui/settings/usb_devices_tests.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/usb_devices_tests.js
diff --git a/chrome/test/data/webui/settings/usb_devices_tests.js b/chrome/test/data/webui/settings/usb_devices_tests.js
index 74742ce60f1e677ca130c19fef456a21edc696cc..beeaae432c340e7be4506419e49ea43b39d4d38d 100644
--- a/chrome/test/data/webui/settings/usb_devices_tests.js
+++ b/chrome/test/data/webui/settings/usb_devices_tests.js
@@ -90,7 +90,7 @@ suite('UsbDevices', function() {
browserProxy.setUsbDevices(deviceList);
return initPage().then(function() {
- var menuButton = testElement.$$('paper-icon-button');
+ var menuButton = testElement.$$('button.icon-more-vert');
assertTrue(!!menuButton);
MockInteractions.tap(menuButton);
var dialog = testElement.$$('dialog[is=cr-action-menu]');
@@ -108,8 +108,8 @@ suite('UsbDevices', function() {
* Test whether or not clicking remove-button sends the correct
* parameters to the browserProxy.removeUsbDevice() function.
*/
- var menuButton =
- testElement.root.querySelectorAll('paper-icon-button')[indexToRemove];
+ var menuButton = testElement.root.querySelectorAll(
+ 'button.icon-more-vert')[indexToRemove];
var removeButton = testElement.$.removeButton;
MockInteractions.tap(menuButton);
MockInteractions.tap(removeButton);
« no previous file with comments | « chrome/test/data/webui/settings/settings_subpage_test.js ('k') | chrome/test/data/webui/settings/zoom_levels_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698