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

Fix code for disabling test

The condition for disabling the test was wrong, the test is failing on
device.

Bug: 855368
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I6b3a5696e6cdec5b80e12bc3b74d81c443f8cd46
Reviewed-on: https://chromium-review.googlesource.com/1113186Reviewed-by: default avatarRohit Rao <rohitrao@chromium.org>
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#569991}
parent 4f654365
...@@ -427,7 +427,7 @@ void AssertURLIs(const GURL& expectedURL) { ...@@ -427,7 +427,7 @@ void AssertURLIs(const GURL& expectedURL) {
// Tests that the header is shown when loading an error page in a native view // Tests that the header is shown when loading an error page in a native view
// even if fullscreen was enabled previously. // even if fullscreen was enabled previously.
- (void)testShowHeaderOnErrorPage { - (void)testShowHeaderOnErrorPage {
#if TARGET_OS_SIMULATOR #if !TARGET_OS_SIMULATOR
if (!base::ios::IsRunningOnIOS11OrLater()) { if (!base::ios::IsRunningOnIOS11OrLater()) {
// TODO(crbug.com/855368): Reenable this test. // TODO(crbug.com/855368): Reenable this test.
EARL_GREY_TEST_DISABLED(@"Test failing on iOS 10 devices"); EARL_GREY_TEST_DISABLED(@"Test failing on iOS 10 devices");
......
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