[Sync] Fix bookmarks reupload integration tests
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:Jan Krcal <jkrcal@chromium.org> Commit-Queue: Rushan Suleymanov <rushans@google.com> Cr-Commit-Position: refs/heads/master@{#816154}
Showing
This diff is collapsed.
Please register or sign in to comment