Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
- (void)testOpenGalleryAndCancel {
[[app_ buttons][[SHAStrings galleryButtonTitleString]] tap];
[[[[[app_ navigationBars][@"Photos"] childrenMatchingType:XCUIElementTypeButton]
matchingIdentifier:@"Cancel"] elementBoundByIndex:0] tap];
// Should be at Home Page.
[self verifyHomePageButtons];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.