Fix traverseFolderShortcuts from folder_shortcuts.js with DriveFS.
Previously, traverseFolderShortcuts expanded the directory tree by faking a mouse click on the expand icon once it exists. However, it didn't wait for it to be visible or ready to click, which are only the case after updating the directory contents. Fix this by waiting for the row to have the has-children attribute set to true. Run this test with DriveFS enabled. addRemoveFolderShortcuts seems to be as reliable with or without DriveFS enabled so run it with DriveFS enabled too. Bug: 891197 Change-Id: I40df199feda04461b65891112e3314e0eca8496d Reviewed-on: https://chromium-review.googlesource.com/c/1258372Reviewed-by:Noel Gordon <noel@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#596413}
Showing
Please register or sign in to comment