Commit 94b94be1 authored by Mike Dougherty's avatar Mike Dougherty Committed by Commit Bot

Disable failing QRScanner EarlGrey tests for iOS 10 iPad.

TBR=eugenebut@google.com

Bug: 869176
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I9155f518e23fd6c739e2bd13c16eceff1d9f04b2
Reviewed-on: https://chromium-review.googlesource.com/1155793Reviewed-by: default avatarMike Dougherty <michaeldo@chromium.org>
Commit-Queue: Mike Dougherty <michaeldo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579268}
parent 1acc0630
...@@ -584,6 +584,11 @@ void TapKeyboardReturnKeyInOmniboxWithText(std::string text) { ...@@ -584,6 +584,11 @@ void TapKeyboardReturnKeyInOmniboxWithText(std::string text) {
// switched off and the correct button indicating that the torch is off is shown // switched off and the correct button indicating that the torch is off is shown
// when the scanner is opened again. // when the scanner is opened again.
- (void)testTorchButtonIsResetWhenQRScannerIsReopened { - (void)testTorchButtonIsResetWhenQRScannerIsReopened {
// TODO(crbug.com/869176): Re-enable this test on iOS 10 iPad.
if (!base::ios::IsRunningOnIOS11OrLater() && IsIPadIdiom()) {
EARL_GREY_TEST_DISABLED(@"Test disabled on iOS 10.");
}
id cameraControllerMock = id cameraControllerMock =
[self getCameraControllerMockWithAuthorizationStatus: [self getCameraControllerMockWithAuthorizationStatus:
AVAuthorizationStatusAuthorized]; AVAuthorizationStatusAuthorized];
...@@ -727,6 +732,11 @@ void TapKeyboardReturnKeyInOmniboxWithText(std::string text) { ...@@ -727,6 +732,11 @@ void TapKeyboardReturnKeyInOmniboxWithText(std::string text) {
// Tests that an error dialog is dismissed if the camera becomes available. // Tests that an error dialog is dismissed if the camera becomes available.
- (void)testDialogDismissedIfCameraBecomesAvailable { - (void)testDialogDismissedIfCameraBecomesAvailable {
// TODO(crbug.com/869176): Re-enable this test on iOS 10 iPad.
if (!base::ios::IsRunningOnIOS11OrLater() && IsIPadIdiom()) {
EARL_GREY_TEST_DISABLED(@"Test disabled on iOS 10.");
}
id cameraControllerMock = id cameraControllerMock =
[self getCameraControllerMockWithAuthorizationStatus: [self getCameraControllerMockWithAuthorizationStatus:
AVAuthorizationStatusAuthorized]; AVAuthorizationStatusAuthorized];
...@@ -805,6 +815,10 @@ void TapKeyboardReturnKeyInOmniboxWithText(std::string text) { ...@@ -805,6 +815,10 @@ void TapKeyboardReturnKeyInOmniboxWithText(std::string text) {
// Test that the correct page is loaded if the scanner result is a URL which is // Test that the correct page is loaded if the scanner result is a URL which is
// then manually edited. // then manually edited.
- (void)testReceivingQRScannerURLResultAndEditingTheURL { - (void)testReceivingQRScannerURLResultAndEditingTheURL {
// TODO(crbug.com/869176): Re-enable this test on iOS 10 iPad.
if (!base::ios::IsRunningOnIOS11OrLater() && IsIPadIdiom()) {
EARL_GREY_TEST_DISABLED(@"Test disabled on iOS 10.");
}
// TODO(crbug.com/753098): Re-enable this test on iOS 11 iPad once // TODO(crbug.com/753098): Re-enable this test on iOS 11 iPad once
// grey_typeText works on iOS 11. // grey_typeText works on iOS 11.
if (base::ios::IsRunningOnIOS11OrLater() && IsIPadIdiom()) { if (base::ios::IsRunningOnIOS11OrLater() && IsIPadIdiom()) {
...@@ -825,6 +839,10 @@ void TapKeyboardReturnKeyInOmniboxWithText(std::string text) { ...@@ -825,6 +839,10 @@ void TapKeyboardReturnKeyInOmniboxWithText(std::string text) {
// Test that the correct page is loaded if the scanner result is a search query // Test that the correct page is loaded if the scanner result is a search query
// which is then manually edited. // which is then manually edited.
- (void)testReceivingQRScannerSearchQueryResultAndEditingTheQuery { - (void)testReceivingQRScannerSearchQueryResultAndEditingTheQuery {
// TODO(crbug.com/869176): Re-enable this test on iOS 10 iPad.
if (!base::ios::IsRunningOnIOS11OrLater() && IsIPadIdiom()) {
EARL_GREY_TEST_DISABLED(@"Test disabled on iOS 10.");
}
// TODO(crbug.com/753098): Re-enable this test on iOS 11 iPad once // TODO(crbug.com/753098): Re-enable this test on iOS 11 iPad once
// grey_typeText works on iOS 11. // grey_typeText works on iOS 11.
if (base::ios::IsRunningOnIOS11OrLater() && IsIPadIdiom()) { if (base::ios::IsRunningOnIOS11OrLater() && 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