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

Unified Diff: ui/file_manager/file_manager/background/js/test_util.js

Issue 902253003: Qualify drive label selector to drive tree...return the drive icon to the Cloud Import drop down. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Format numbers and bytes in human friendly ways. Created 5 years, 10 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 | « no previous file | ui/file_manager/file_manager/foreground/css/file_manager.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/background/js/test_util.js
diff --git a/ui/file_manager/file_manager/background/js/test_util.js b/ui/file_manager/file_manager/background/js/test_util.js
index 08ea431369ac4dd2377df40331e6517ff68442d2..cc44129f9a2d5c16f0c579993f6ad88ec4576f77 100644
--- a/ui/file_manager/file_manager/background/js/test_util.js
+++ b/ui/file_manager/file_manager/background/js/test_util.js
@@ -101,8 +101,8 @@ test.util.sync.openFile = function(contentWindow, filename) {
* whether the target is found and mousedown and click events are sent.
*/
test.util.async.selectVolume = function(contentWindow, iconName, callback) {
- var query = '[volume-type-icon=' + iconName + ']';
- var driveQuery = '[volume-type-icon=drive]';
+ var query = '#directory-tree [volume-type-icon=' + iconName + ']';
+ var driveQuery = '#directory-tree [volume-type-icon=drive]';
var isDriveSubVolume = iconName == 'drive_recent' ||
iconName == 'drive_shared_with_me' ||
iconName == 'drive_offline';
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/css/file_manager.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698