Commit d61316b3 authored by Gauthier Ambard's avatar Gauthier Ambard Committed by Commit Bot

[iOS] Disable testNTPStayForInvalidURL for iOS 12

The test is flaky on iOS 12.

Fixed: 1095534
Change-Id: I31acfa4187a3e14edd76914131d08b35beff30ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2396115
Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org>
Auto-Submit: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: default avatarStepan Khapugin <stkhapugin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#804870}
parent 5fdeff2a
......@@ -53,6 +53,10 @@ BOOL WaitForHistoryToDisappear() {
// Tests that the NTP is still displayed after loading an invalid URL.
- (void)testNTPStayForInvalidURL {
if (@available(iOS 13, *)) {
} else {
EARL_GREY_TEST_DISABLED(@"Failing on iOS 12.");
}
// TODO(crbug.com/1067813): Test won't pass on iPad device.
#if !TARGET_IPHONE_SIMULATOR
if ([ChromeEarlGrey isIPadIdiom]) {
......
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