OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 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 "ios/showcase/test/showcase_matchers.h" | |
6 | |
7 #if !defined(__has_feature) || !__has_feature(objc_arc) | |
8 #error "This file requires ARC support." | |
9 #endif | |
10 | |
11 namespace showcase_matchers { | |
12 | |
13 id<GREYMatcher> FirstLevelBackButton() { | |
14 return grey_allOf(grey_accessibilityLabel(@"Showcase"), | |
15 grey_kindOfClass([UILabel class]), nil); | |
edchin
2017/03/21 17:04:20
This matcher seems too generic. Is there some iden
lpromero
2017/03/21 22:41:59
I propose:
return grey_kindOfClass(
NSClas
| |
16 } | |
17 | |
18 } // namespace showcase_matchers | |
OLD | NEW |