File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ + (NSArray *)stepsToTearDown
1919 return @[[KIFTestStep stepToTapViewWithAccessibilityLabel: @" Test Suite" traits: UIAccessibilityTraitButton]];
2020}
2121
22- #if 0
23-
2422+ (instancetype )scenarioToTestWaitingForViewWithAccessibilityLabel
2523{
2624 KIFTestScenario *scenario = [self scenarioWithDescription: @" Wait for view with accessibility label." ];
@@ -313,24 +311,16 @@ + (instancetype)scenarioToTestSwiping
313311 return scenario;
314312}
315313
316- #endif
317-
318- #if 1
319-
320314+ (instancetype )scenarioToTestScrolling
321315{
322316 KIFTestScenario *scenario = [self scenarioWithDescription: @" Scrolling" ];
323- [scenario addStep: [KIFTestStep stepToScrollViewWithAccessibilityLabel: @" Middle " byFractionOfSizeHorizontal: 0 vertical: -5 ]];
324- [scenario addStep: [KIFTestStep stepToWaitForAbsenceOfViewWithAccessibilityLabel :@" Tapping " ]];
325- [scenario addStep: [KIFTestStep stepToScrollViewWithAccessibilityLabel: @" Middle " byFractionOfSizeHorizontal: 0 vertical: 5 ]];
326- [scenario addStep: [KIFTestStep stepToWaitForViewWithAccessibilityLabel :@" Tapping" ]];
317+ [scenario addStep: [KIFTestStep stepToScrollViewWithAccessibilityLabel: @" Table View " byFractionOfSizeHorizontal: 0 vertical: -0.9 ]];
318+ [scenario addStep: [KIFTestStep stepToWaitForTappableViewWithAccessibilityLabel :@" Find Me " ]];
319+ [scenario addStep: [KIFTestStep stepToScrollViewWithAccessibilityLabel: @" Table View " byFractionOfSizeHorizontal: 0 vertical: 0.9 ]];
320+ [scenario addStep: [KIFTestStep stepToWaitForTappableViewWithAccessibilityLabel :@" Tapping" ]];
327321 return scenario;
328322}
329323
330- #endif
331-
332- #if 0
333-
334324+ (instancetype )scenarioToTestWaitingForFirstResponder
335325{
336326 KIFTestScenario *scenario = [self scenarioWithDescription: @" Wait for first responder" ];
@@ -341,6 +331,4 @@ + (instancetype)scenarioToTestWaitingForFirstResponder
341331 return scenario;
342332}
343333
344- #endif
345-
346334@end
Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ @interface KIFTestScenario (ModalViews)
1414
1515@implementation KIFTestScenario (ModalViews)
1616
17- #if 0
18-
1917+ (instancetype )scenarioToTestAlertViews
2018{
2119 KIFTestScenario *scenario = [self scenarioWithDescription: @" Alert view" ];
@@ -52,6 +50,4 @@ + (instancetype)scenarioToTestActivityViewControllers
5250 return scenario;
5351}
5452
55- #endif
56-
5753@end
Original file line number Diff line number Diff line change 4343 <key >UISupportedInterfaceOrientations </key >
4444 <array >
4545 <string >UIInterfaceOrientationPortrait </string >
46- <string >UIInterfaceOrientationLandscapeLeft </string >
47- <string >UIInterfaceOrientationLandscapeRight </string >
4846 </array >
4947</dict >
5048</plist >
You can’t perform that action at this time.
0 commit comments