This includes ways to wait for a blocked or loaded image.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d8423f61bb3ea38ada88c240ef92ee6c0aa691f3 commit d8423f61bb3ea38ada88c240ef92ee6c0aa691f3 Author: Mike Baxley <baxley@chromium.org> Date: Mon Aug 28 14:48:24 2017 Replace matcher that waits for blocked or loaded images. Create ChromeEarlGrey method to wait for an image in a web view. Bug: 757982 Change-Id: Ibfb2945950a9acf8be7ca8866607808bf209ba2d Reviewed-on: https://chromium-review.googlesource.com/627598 Commit-Queue: Mike Baxley <baxley@chromium.org> Reviewed-by: Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#497759} [modify] https://crrev.com/d8423f61bb3ea38ada88c240ef92ee6c0aa691f3/ios/chrome/test/earl_grey/chrome_earl_grey.h [modify] https://crrev.com/d8423f61bb3ea38ada88c240ef92ee6c0aa691f3/ios/chrome/test/earl_grey/chrome_earl_grey.mm [modify] https://crrev.com/d8423f61bb3ea38ada88c240ef92ee6c0aa691f3/ios/chrome/test/earl_grey/chrome_matchers.mm [modify] https://crrev.com/d8423f61bb3ea38ada88c240ef92ee6c0aa691f3/ios/web/public/test/earl_grey/web_view_matchers.mm [modify] https://crrev.com/d8423f61bb3ea38ada88c240ef92ee6c0aa691f3/ios/web/public/test/web_view_content_test_util.h [modify] https://crrev.com/d8423f61bb3ea38ada88c240ef92ee6c0aa691f3/ios/web/public/test/web_view_content_test_util.mm
The following revision refers to this bug: https://chrome-internal.googlesource.com/chrome/ios_internal.git/+/1c3ce611f36cf651afc95dd87fa612f01bc7a343 commit 1c3ce611f36cf651afc95dd87fa612f01bc7a343 Author: Mike Baxley <baxley@google.com> Date: Thu Aug 31 22:04:48 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9570bc5a9444060b7bf4cec1899cb079b76bbc63 commit 9570bc5a9444060b7bf4cec1899cb079b76bbc63 Author: Mike Baxley <baxley@chromium.org> Date: Mon Sep 11 23:20:30 2017 Delete matchers that wait for images. Matchers should not wait, and have been replaced by methods in ChromeEarlGrey. Bug: 757982 Change-Id: I68b1b5d9eb6f50cf80af3ef514c1ea43d080e926 Reviewed-on: https://chromium-review.googlesource.com/647805 Reviewed-by: Yuke Liao <liaoyuke@chromium.org> Reviewed-by: Kurt Horimoto <kkhorimoto@chromium.org> Commit-Queue: Mike Baxley <baxley@chromium.org> Cr-Commit-Position: refs/heads/master@{#501088} [modify] https://crrev.com/9570bc5a9444060b7bf4cec1899cb079b76bbc63/ios/chrome/test/earl_grey/chrome_matchers.h [modify] https://crrev.com/9570bc5a9444060b7bf4cec1899cb079b76bbc63/ios/chrome/test/earl_grey/chrome_matchers.mm [modify] https://crrev.com/9570bc5a9444060b7bf4cec1899cb079b76bbc63/ios/web/public/test/earl_grey/web_view_matchers.h [modify] https://crrev.com/9570bc5a9444060b7bf4cec1899cb079b76bbc63/ios/web/public/test/earl_grey/web_view_matchers.mm
Comment 1 by bugdroid1@chromium.org
, Aug 28 2017