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

Side by Side Diff: ios/showcase/tab_grid/sc_tab_grid_egtest.mm

Issue 2592593003: Upstream ios/showcase source code. (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « ios/showcase/tab_grid/sc_tab_grid_coordinator.mm ('k') | ios/showcase/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #import <EarlGrey/EarlGrey.h>
6
7 #import "ios/showcase/test/showcase_test_case.h"
8
9 #if !defined(__has_feature) || !__has_feature(objc_arc)
10 #error "This file requires ARC support."
11 #endif
12
13 // Tests for the tab grid view controller.
14 @interface SCTabGridTestCase : ShowcaseTestCase
15 @end
16
17 @implementation SCTabGridTestCase
18
19 // Tests launching TabGridViewController and tapping a cell.
20 - (void)testLaunchAndTappingCell {
21 [[EarlGrey selectElementWithMatcher:grey_text(@"TabGridViewController")]
22 performAction:grey_tap()];
23 [[EarlGrey selectElementWithMatcher:grey_text(@"Tab 0")]
24 performAction:grey_tap()];
25 [[EarlGrey selectElementWithMatcher:grey_text(@"TabGridActionDelegate")]
26 assertWithMatcher:grey_notNil()];
27 [[EarlGrey selectElementWithMatcher:grey_text(@"Done")]
28 performAction:grey_tap()];
29 }
30
31 @end
OLDNEW
« no previous file with comments | « ios/showcase/tab_grid/sc_tab_grid_coordinator.mm ('k') | ios/showcase/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698