Created
November 9, 2015 12:53
-
-
Save catehstn/0792ce051bc0e3aac09f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)testChangeAccuracySlider { | |
[[app_ buttons][[SHAStrings galleryButtonTitleString]] tap]; | |
[[[app_ tables] buttons][@"Moments"] tap]; | |
[[[app_ collectionViews] cells][@"Photo, Landscape, August 08, 2012, 7:52 PM"] tap]; | |
XCUIElement *slider = [app_ sliders][[SHAStrings accuracySliderA11yLabel]]; | |
[slider tap]; | |
// Go back to Home Page. | |
[[[[[app_ navigationBars][@"Edit"] childrenMatchingType:XCUIElementTypeButton] | |
matchingIdentifier:@"Back"] elementBoundByIndex:0] tap]; | |
[self verifyHomePageButtons]; | |
} | |
- (void)testChangeToleranceSlider { | |
[[app_ buttons][[SHAStrings galleryButtonTitleString]] tap]; | |
[[[app_ tables] buttons][@"Moments"] tap]; | |
[[[app_ collectionViews] cells][@"Photo, Landscape, August 08, 2012, 7:52 PM"] tap]; | |
[self verifyEditPageButtonsVisible]; | |
XCUIElement *slider = [app_ sliders][[SHAStrings toleranceSliderA11yLabel]]; | |
[slider tap]; | |
// Go back to Home Page. | |
[[[[[app_ navigationBars][@"Edit"] childrenMatchingType:XCUIElementTypeButton] | |
matchingIdentifier:@"Back"] elementBoundByIndex:0] tap]; | |
[self verifyHomePageButtons]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment