Another attempt to deflake BookmarkTest#testOpenBookmark
A previous CL attempted to deflake this test by waiting for page load start instead of page load finished. This appears to have helped a bit but there was a failed run after the "fix". The failures were due to either the pageLoadStarted check comparison failing to get the right Tab (claimed activity tab URL was about:blank while post test screenshot showed correcct URL) or an NPE when attempting to get the activity tab. This CL waits for the last focused activity to be ChromeTabbedActivity then polls for ChromeTabbedActivity#getActivityTab()'s URL to match the expected test page. BUG=1068608 Change-Id: I13dd6e3ad59963ebfa21d99d011e8b8a600496d2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2145764 Commit-Queue: Theresa <twellington@chromium.org> Reviewed-by:Ted Choc <tedchoc@chromium.org> Cr-Commit-Position: refs/heads/master@{#758267}
Showing
Please register or sign in to comment