• Sam McNally's avatar
    Fix traverseFolderShortcuts from folder_shortcuts.js with DriveFS. · d2d3ac45
    Sam McNally authored
    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: default avatarNoel Gordon <noel@chromium.org>
    Commit-Queue: Noel Gordon <noel@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#596413}
    d2d3ac45
file_manager_browsertest.cc 38.1 KB