Commit f64dcb9b authored by Mike Dougherty's avatar Mike Dougherty Committed by Commit Bot

Disable PrintController EarlGrey tests for iOS 10 devices.

TBR=marq@chromium.org

Bug: 869477
Change-Id: I74a659e745f2480e2a35535085e837b6b5e5bc73
Reviewed-on: https://chromium-review.googlesource.com/1157066Reviewed-by: default avatarMike Dougherty <michaeldo@chromium.org>
Commit-Queue: Mike Dougherty <michaeldo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579488}
parent 8d73ce20
...@@ -70,6 +70,13 @@ id<GREYMatcher> ShareMenuCollectionView() { ...@@ -70,6 +70,13 @@ id<GREYMatcher> ShareMenuCollectionView() {
@"UIRefresh flag is enabled."); @"UIRefresh flag is enabled.");
} }
#if !TARGET_IPHONE_SIMULATOR
if (!base::ios::IsRunningOnIOS11OrLater()) {
// TODO(crbug.com/869477): Re-enable this test on device.
EARL_GREY_TEST_DISABLED(@"Fails on iOS 10.0 devices.");
}
#endif
GURL url = web::test::HttpServer::MakeUrl(kHTMLURL); GURL url = web::test::HttpServer::MakeUrl(kHTMLURL);
std::map<GURL, std::string> responses; std::map<GURL, std::string> responses;
std::string response = "Test"; std::string response = "Test";
...@@ -90,6 +97,12 @@ id<GREYMatcher> ShareMenuCollectionView() { ...@@ -90,6 +97,12 @@ id<GREYMatcher> ShareMenuCollectionView() {
@"Dispatcher-based printing does not work on iOS11 when the " @"Dispatcher-based printing does not work on iOS11 when the "
@"UIRefresh flag is enabled."); @"UIRefresh flag is enabled.");
} }
#if !TARGET_IPHONE_SIMULATOR
if (!base::ios::IsRunningOnIOS11OrLater()) {
// TODO(crbug.com/869477): Re-enable this test on device.
EARL_GREY_TEST_DISABLED(@"Fails on iOS 10.0 devices.");
}
#endif
web::test::SetUpFileBasedHttpServer(); web::test::SetUpFileBasedHttpServer();
GURL url = web::test::HttpServer::MakeUrl(kPDFURL); GURL url = web::test::HttpServer::MakeUrl(kPDFURL);
......
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