Commit 2d75dda4 authored by Lindsay Pasricha's avatar Lindsay Pasricha Committed by Commit Bot

Disable testDialogDismissedIfCameraBecomesAvailable on iOS12.2+

due to crashes.

Bug: 1019211
Change-Id: Idc7d059fcadd0dfa589130f8cde1ac275a1c0088
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1888537
Auto-Submit: Lindsay Pasricha <lindsayw@chromium.org>
Commit-Queue: Olivier Robin <olivierrobin@chromium.org>
Reviewed-by: default avatarOlivier Robin <olivierrobin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#710743}
parent 9d896633
...@@ -641,7 +641,13 @@ void TapKeyboardReturnKeyInOmniboxWithText(std::string text) { ...@@ -641,7 +641,13 @@ 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.
// TODO(crbug.com/1019211): Re-enable test on iOS12.
- (void)testDialogDismissedIfCameraBecomesAvailable { - (void)testDialogDismissedIfCameraBecomesAvailable {
#if TARGET_IPHONE_SIMULATOR
if (!base::ios::IsRunningOnIOS13OrLater()) {
EARL_GREY_TEST_SKIPPED(@"Test fails iOS 12.2");
}
#endif // TARGET_IPHONE_SIMULATOR
id cameraControllerMock = id cameraControllerMock =
[QRScannerAppInterface cameraControllerMockWithAuthorizationStatus: [QRScannerAppInterface cameraControllerMockWithAuthorizationStatus:
AVAuthorizationStatusAuthorized]; AVAuthorizationStatusAuthorized];
......
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