Commit 4c707ca2 authored by Justin Cohen's avatar Justin Cohen Committed by Commit Bot

ios: Disable more autofill tests on device ios12.4.

TBR: michaeldo
Bug: 1108809
Change-Id: Iae89246f4a66b6661db11292129631996f20d6cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2419269
Auto-Submit: Justin Cohen <justincohen@chromium.org>
Reviewed-by: default avatarJustin Cohen <justincohen@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#808541}
parent e5163e01
......@@ -81,6 +81,15 @@ id<GREYMatcher> NavigationBarEditButton() {
// Tests that editing the credit card nickname is possible.
- (void)testValidNickname {
#if !TARGET_OS_SIMULATOR
// TODO(crbug.com/1108809): These seem to fail on device only downstream,
// iOS 12.4 only.
if (@available(iOS 13, *)) {
} else {
EARL_GREY_TEST_DISABLED(@"Test disabled on iOS12 device.");
}
#endif
[[EarlGrey selectElementWithMatcher:NicknameTextField()]
performAction:grey_replaceText(@"Nickname")];
......@@ -94,6 +103,15 @@ id<GREYMatcher> NavigationBarEditButton() {
// Tests that invalid nicknames are not allowed when editing a card.
- (void)testInvalidNickname {
#if !TARGET_OS_SIMULATOR
// TODO(crbug.com/1108809): These seem to fail on device only downstream,
// iOS 12.4 only.
if (@available(iOS 13, *)) {
} else {
EARL_GREY_TEST_DISABLED(@"Test disabled on iOS12 device.");
}
#endif
[[EarlGrey selectElementWithMatcher:NicknameTextField()]
performAction:grey_typeText(@"1233")];
......
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