Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Unified Diff: ios/showcase/suggestions/sc_suggestions_egtest.mm

Issue 2764063002: Add TabContainer to Showcase (Closed)
Patch Set: Other heuristic for back button Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/showcase/core/showcase_model.mm ('k') | ios/showcase/tab/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/showcase/suggestions/sc_suggestions_egtest.mm
diff --git a/ios/showcase/suggestions/sc_suggestions_egtest.mm b/ios/showcase/suggestions/sc_suggestions_egtest.mm
index 8509dea47b56b3323ed001f21bc474e0668b96b1..c698878ff07445bf2394516b963b3ae35cd7be5f 100644
--- a/ios/showcase/suggestions/sc_suggestions_egtest.mm
+++ b/ios/showcase/suggestions/sc_suggestions_egtest.mm
@@ -4,6 +4,7 @@
#import <EarlGrey/EarlGrey.h>
+#import "ios/showcase/test/showcase_matchers.h"
#import "ios/showcase/test/showcase_test_case.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
@@ -17,10 +18,12 @@
@implementation SCSuggestionsTestCase
// Tests launching ContentSuggestionsViewController.
-- (void)testLaunchAndTappingCell {
+- (void)testLaunch {
[[EarlGrey
selectElementWithMatcher:grey_text(@"ContentSuggestionsViewController")]
performAction:grey_tap()];
+ [[EarlGrey selectElementWithMatcher:showcase_matchers::FirstLevelBackButton()]
+ performAction:grey_tap()];
}
@end
« no previous file with comments | « ios/showcase/core/showcase_model.mm ('k') | ios/showcase/tab/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698