Commit d948af6b authored by zhaoyangli's avatar zhaoyangli Committed by Commit Bot

[iOS] Disable failing EG2 tests in ui suite.

Disabled 2 tests failing in downstream builder.

Bug: 1106996, 1106997
Change-Id: I96f0d9197e4242587b667b271cc9d51ba50c0b37
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2305123Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Commit-Queue: Zhaoyang Li <zhaoyangli@chromium.org>
Cr-Commit-Position: refs/heads/master@{#790065}
parent 2c0864cc
...@@ -183,6 +183,10 @@ void TapOnContextMenuButton(id<GREYMatcher> context_menu_item_button) { ...@@ -183,6 +183,10 @@ void TapOnContextMenuButton(id<GREYMatcher> context_menu_item_button) {
// Tests "Open in New Tab" on context menu. // Tests "Open in New Tab" on context menu.
- (void)testContextMenuOpenInNewTab { - (void)testContextMenuOpenInNewTab {
// TODO(crbug.com/1107513): Test fails in some iPads.
if ([ChromeEarlGrey isIPadIdiom]) {
EARL_GREY_TEST_SKIPPED(@"Test disabled on iPad.");
}
const GURL initialURL = self.testServer->GetURL(kInitialPageUrl); const GURL initialURL = self.testServer->GetURL(kInitialPageUrl);
[ChromeEarlGrey loadURL:initialURL]; [ChromeEarlGrey loadURL:initialURL];
[ChromeEarlGrey [ChromeEarlGrey
......
...@@ -78,12 +78,8 @@ void AssertURLIs(const GURL& expectedURL) { ...@@ -78,12 +78,8 @@ void AssertURLIs(const GURL& expectedURL) {
// Verifies that the content offset of the web view is set up at the correct // Verifies that the content offset of the web view is set up at the correct
// initial value when initially displaying a PDF. // initial value when initially displaying a PDF.
// TODO(crbug.com/947536): Fails on iOS 12 devices. // TODO(crbug.com/947536): Fails on iOS 12 devices.
#if !TARGET_IPHONE_SIMULATOR // TODO(crbug.com/1106997): Test fails in simulator builders.
#define MAYBE_testLongPDFInitialState DISABLED_testLongPDFInitialState - (void)DISABLED_testLongPDFInitialState {
#else
#define MAYBE_testLongPDFInitialState testLongPDFInitialState
#endif
- (void)MAYBE_testLongPDFInitialState {
web::test::SetUpFileBasedHttpServer(); web::test::SetUpFileBasedHttpServer();
GURL URL = web::test::HttpServer::MakeUrl( GURL URL = web::test::HttpServer::MakeUrl(
"http://ios/testing/data/http_server_files/two_pages.pdf"); "http://ios/testing/data/http_server_files/two_pages.pdf");
......
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