[Files app] Fix move files to MyFiles
Fix moving files/folders to MyFiles: it was failing because it was passing VolumeEntry to |moveTo| API, so unwrap to get the native Entry before passing to this API. Fix test to use "cut" command for moving files because this is the right name for "move" so the final "paste" works. Change DirectoryTree to add attribute volume-type-icon for MyFiles to be able to use the same testing helper |selectVolume|. Once we remove the MyFilesVolume flag we can remove this thus the TODO. Change transfer tests to ignore file size and modified time when comparing files in the file list, because LinuxFiles and PlayFiles don't work for these properties. Also fix a problem in waitForFiles which was mutating the expected value. In many cases that's a global variable and was interfering with subsequent tests. Bug: 925175 Change-Id: I13a12191491a648867d6d28cae09143da86763a7 Reviewed-on: https://chromium-review.googlesource.com/c/1436468 Commit-Queue: Luciano Pacheco <lucmult@chromium.org> Reviewed-by:Noel Gordon <noel@chromium.org> Auto-Submit: Luciano Pacheco <lucmult@chromium.org> Cr-Commit-Position: refs/heads/master@{#626826}
Showing
Please register or sign in to comment