Commit fd300614 authored by Ewann's avatar Ewann Committed by Commit Bot

Re-enable LocationBarEditStateTestCase.testEmptyOmnibox

Only failure for EG1 were seen.
Enables testEmptyOmnibox for iPhone 13.3 and later, EG2 only.

Bug: 1046787
Change-Id: I2aec75146a8a6a32ba28f14438cc092956ee09d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2094988
Commit-Queue: Ewann Pellé <ewannpv@chromium.org>
Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750501}
parent 24a3cb05
...@@ -459,10 +459,14 @@ id<GREYMatcher> SearchCopiedTextButton() { ...@@ -459,10 +459,14 @@ id<GREYMatcher> SearchCopiedTextButton() {
// it should be displayed. Select & SelectAll buttons should be hidden when the // it should be displayed. Select & SelectAll buttons should be hidden when the
// omnibox is empty. // omnibox is empty.
- (void)testEmptyOmnibox { - (void)testEmptyOmnibox {
// TODO(crbug.com/1046787): Test is failing for EG1.
#if defined(CHROME_EARL_GREY_1)
if (![ChromeEarlGrey isIPadIdiom] && if (![ChromeEarlGrey isIPadIdiom] &&
base::ios::IsRunningOnOrLater(13, 3, 0)) { base::ios::IsRunningOnOrLater(13, 3, 0)) {
EARL_GREY_TEST_SKIPPED(@"Test disabled on iOS 13.3 iPhone and later."); EARL_GREY_TEST_SKIPPED(@"Test skipped on Earl Grey 1.");
} }
#endif
// Focus omnibox. // Focus omnibox.
[self focusFakebox]; [self focusFakebox];
[[EarlGrey selectElementWithMatcher:chrome_test_util::Omnibox()] [[EarlGrey selectElementWithMatcher:chrome_test_util::Omnibox()]
......
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