Commit d03d85b2 authored by Gauthier Ambard's avatar Gauthier Ambard Committed by Commit Bot

[iOS] Fix autofill test

This test is failing when BVC is contained.
This is because with BVC contained, the Recent Tabs from the TabGrid
are always in the view hierarchy.

Bug: 1038034
Change-Id: Id81552d2e53fe79ba5262cf0c6fa8da39bb853e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2095117
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Commit-Queue: Olivier Robin <olivierrobin@chromium.org>
Auto-Submit: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: default avatarOlivier Robin <olivierrobin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#748191}
parent 84d1f087
......@@ -114,7 +114,8 @@ id<GREYMatcher> NavigationBarEditButton() {
ButtonWithAccessibilityLabelId(IDS_AUTOFILL_ADDRESSES_SETTINGS_TITLE);
[[[EarlGrey selectElementWithMatcher:addressesButton]
usingSearchAction:grey_scrollInDirection(kGREYDirectionDown, 200)
onElementWithMatcher:grey_kindOfClassName(@"UITableView")]
onElementWithMatcher:grey_allOf(grey_kindOfClassName(@"UITableView"),
grey_sufficientlyVisible(), nil)]
performAction:grey_tap()];
}
......
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