Commit bc3df432 authored by Eugene But's avatar Eugene But Committed by Commit Bot

Marked FindLinkImageAtPointForFileUrl as flaky on device.

Bug: 796418
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I5ef06201abfb1c416fedd867617a8625851c3616
Reviewed-on: https://chromium-review.googlesource.com/1102668Reviewed-by: default avatarMike Dougherty <michaeldo@chromium.org>
Commit-Queue: Eugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567730}
parent de898602
......@@ -551,7 +551,15 @@ TEST_F(ContextMenuJsFindElementAtPointTest,
// Tests that an image link returns details for both the image and the link
// destination when the image source is a file:// url.
TEST_F(ContextMenuJsFindElementAtPointTest, FindLinkImageAtPointForFileUrl) {
// TODO(crbug.com/796418): This test is flaky on devices.
#if TARGET_IPHONE_SIMULATOR
#define MAYBE_FindLinkImageAtPointForFileUrl FindLinkImageAtPointForFileUrl
#else
#define MAYBE_FindLinkImageAtPointForFileUrl \
FLAKY_FindLinkImageAtPointForFileUrl
#endif
TEST_F(ContextMenuJsFindElementAtPointTest,
MAYBE_FindLinkImageAtPointForFileUrl) {
NSString* link_image =
@"<a href='file:///linky'>"
"<img id='foo' style='width:200;height:200;' src='file:///bogus'/>"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment