• Rushan Suleymanov's avatar
    [Sync] Fix bookmarks reupload integration tests · 3b5c790b
    Rushan Suleymanov authored
    Some tests related to bookmarks reupload are flaky because there is used
    UpdatedProgressMarkerChecker. It doesn't guarantee that all current
    changes are committed.
    
    The better option is to wait for the actual expected data on the server
    rather than for the next commit message.
    
    For bookmarks reupload there are two possible titles in specifics:
    legacy canonicalized title and full title. This CL extends the
    ServerBookmarksEqualityChecker to wait until both of them are equal to
    the expected title.
    
    Bug: 1135271
    Change-Id: I0a80949e30b085d94e00a82ddd8d79db39309891
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462268Reviewed-by: default avatarJan Krcal <jkrcal@chromium.org>
    Commit-Queue: Rushan Suleymanov <rushans@google.com>
    Cr-Commit-Position: refs/heads/master@{#816154}
    3b5c790b
bookmarks_helper.cc 46.5 KB