Fix transferFromDownloadsToMyFilesMove transfer.js test
The transferBetweenVolumes function adds the file to be moved into the list of expected files after the move, only runs if the flag "isMove" is false. Because of this, the file that was moved was not added to the list of expected files, and the test can fail. Removes this condition, and do not add the file to be moved to the list when the source is the same as the destination, or if the test is expected to fail. All tests that use transferBetweenVolumes now pass in step-by-step mode, to complete issue 1035220. Bug: 1035220 Change-Id: If9031eab26340af6af2440f2fd9e30d48b5a248d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1976138Reviewed-by:Noel Gordon <noel@chromium.org> Commit-Queue: Isabella Scalzi <isabellascalzi@google.com> Cr-Commit-Position: refs/heads/master@{#726672}
Showing
Please register or sign in to comment