Commit 52f6db43 authored by Jérôme Lebel's avatar Jérôme Lebel Committed by Commit Bot

[iOS] Fixing GoogleServicesSettingsTestCase

grey_swipeSlowInDirection() was scrolling too far, and according to the
size of the scrollview, cell was moved out of the screen without being
seen.
It is now replaced with grey_scrollInDirection()
Issue introduced with crrev.com/c/1158404

TBR: sczs
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I1d4c198b035ed0ddc0acf58af9638c61bb2d9ab2
Reviewed-on: https://chromium-review.googlesource.com/1166902Reviewed-by: default avatarJérôme Lebel <jlebel@chromium.org>
Commit-Queue: Jérôme Lebel <jlebel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#581506}
parent 6aadbd46
...@@ -175,7 +175,7 @@ using unified_consent::prefs::kUnifiedConsentGiven; ...@@ -175,7 +175,7 @@ using unified_consent::prefs::kUnifiedConsentGiven;
grey_kindOfClass( grey_kindOfClass(
[UICollectionViewCell class]), [UICollectionViewCell class]),
grey_sufficientlyVisible(), nil)] grey_sufficientlyVisible(), nil)]
usingSearchAction:grey_swipeSlowInDirection(kGREYDirectionUp) usingSearchAction:grey_scrollInDirection(kGREYDirectionDown, 150)
onElementWithMatcher:self.scrollViewMatcher] onElementWithMatcher:self.scrollViewMatcher]
assertWithMatcher:grey_notNil()]; assertWithMatcher:grey_notNil()];
} }
......
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