Skip to content

Commit 239d3f1

Browse files
committed
Fix UI test.
1 parent 8581b8b commit 239d3f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sample Project/CheckBoxUITests/CheckBoxUITests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ - (void)tearDown {
2727
}
2828

2929
- (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];
30+
XCUIElement *element = [[[[[[[[XCUIApplication alloc] init].otherElements containingType:XCUIElementTypeNavigationBar identifier:@"BEMCheckBox"] childrenMatchingType:XCUIElementTypeOther].element childrenMatchingType:XCUIElementTypeOther].element childrenMatchingType:XCUIElementTypeOther].element childrenMatchingType:XCUIElementTypeOther] elementBoundByIndex:1];
3131
XCTAssertTrue(element.isHittable);
3232

3333
[element tap];

0 commit comments

Comments
 (0)