Commit 155b67d6 authored by Justin Cohen's avatar Justin Cohen Committed by Commit Bot

[ios] Disables failing iOS12 tests while EG team investigates.

It seems with Xcode 10 items behind the keyboard are appearing as visible.
This is likely an EG bug.

Bug: 854847
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I905d4e7809afe6d5d35e240b8e6c815f70cd41df
Reviewed-on: https://chromium-review.googlesource.com/1109307Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Reviewed-by: default avatarSergio Collazos <sczs@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#569242}
parent ac28ca4a
......@@ -5,6 +5,7 @@
#import <EarlGrey/EarlGrey.h>
#import <XCTest/XCTest.h>
#include "base/ios/ios_util.h"
#include "base/strings/sys_string_conversions.h"
#include "components/strings/grit/components_strings.h"
#include "ios/chrome/browser/infobars/infobar_manager_impl.h"
......@@ -470,6 +471,11 @@ void FocusOmnibox() {
// Check the button visibility of the toolbar when the omnibox is focused from a
// different orientation than the default one.
- (void)testFocusOmniboxFromOtherOrientation {
// TODO(crbug.com/854847) Re-enable these tests once EG bug is fixed.
if (base::ios::IsRunningOnIOS12OrLater()) {
EARL_GREY_TEST_DISABLED(@"Test disabled on iOS 12.");
}
// Load a page to have the toolbar visible (hidden on NTP).
[ChromeEarlGrey loadURL:GURL("chrome://version")];
......@@ -508,6 +514,10 @@ void FocusOmnibox() {
// Check the button visibility of the toolbar when the omnibox is focused from
// the default orientation.
- (void)testFocusOmniboxFromPortrait {
// TODO(crbug.com/854847) Re-enable these tests once EG bug is fixed.
if (base::ios::IsRunningOnIOS12OrLater()) {
EARL_GREY_TEST_DISABLED(@"Test disabled on iOS 12.");
}
// Load a page to have the toolbar visible (hidden on NTP).
[ChromeEarlGrey loadURL:GURL("chrome://version")];
......
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