Commit 9184f8d8 authored by Jérôme Lebel's avatar Jérôme Lebel Committed by Commit Bot

[iOS] Fixing Google services settings tests

Searching for UITableViewCell instead of UICollectionViewCell.

Bug: 918711
Change-Id: If93179ae630a8b6224836955931117fb18d166d7
Reviewed-on: https://chromium-review.googlesource.com/c/1394596
Commit-Queue: Jérôme Lebel <jlebel@chromium.org>
Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#619932}
parent e287f32c
......@@ -40,8 +40,7 @@ using chrome_test_util::SettingsDoneButton;
@synthesize scrollViewMatcher = _scrollViewMatcher;
// Opens the Google services settings view, and closes it.
// TODO(crbug.com/918711): Tests failing.
- (void)DISABLED_testOpenGoogleServicesSettings {
- (void)testOpenGoogleServicesSettings {
[self openGoogleServicesSettings];
// Assert title and accessibility.
......@@ -55,8 +54,7 @@ using chrome_test_util::SettingsDoneButton;
}
// Tests the Google Services settings.
// TODO(crbug.com/918711): Tests failing.
- (void)DISABLED_testOpeningServices {
- (void)testOpeningServices {
[self openGoogleServicesSettings];
[self assertNonPersonalizedServices];
}
......@@ -90,7 +88,7 @@ using chrome_test_util::SettingsDoneButton;
GetNSString(detailTextID)];
}
return grey_allOf(grey_accessibilityLabel(accessibilityLabel),
grey_kindOfClass([UICollectionViewCell class]),
grey_kindOfClass([UITableViewCell class]),
grey_sufficientlyVisible(), nil);
}
......
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