We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d0aef0 commit 8581b8bCopy full SHA for 8581b8b
Sample Project/CheckBoxUITests/CheckBoxUITests.m
@@ -7,6 +7,7 @@
7
//
8
9
#import <XCTest/XCTest.h>
10
+#import "BEMCheckBox.h"
11
12
@interface CheckBoxUITests : XCTestCase
13
@@ -25,4 +26,15 @@ - (void)tearDown {
25
26
[super tearDown];
27
}
28
29
+- (void)testOn {
30
+ XCUIElement *element = [[[[[[[[XCUIApplication alloc] init].otherElements containingType:XCUIElementTypeNavigationBar identifier:@"BEMCheckBox"] childrenMatchingType:XCUIElementTypeOther].element childrenMatchingType:XCUIElementTypeOther].element childrenMatchingType:XCUIElementTypeOther].element childrenMatchingType:XCUIElementTypeOther] elementBoundByIndex:0];
31
+ XCTAssertTrue(element.isHittable);
32
+
33
+ [element tap];
34
35
36
37
38
+}
39
40
@end
0 commit comments