blob: b267e0c0beec7235a8dc4270a298056a48b73e06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#import "KIFTestActor+MapboxGL.h"
#import <KIF/UIApplication-KIFAdditions.h>
#import <KIF/UIAccessibilityElement-KIFAdditions.h>
#import "MGLMapView.h"
@implementation KIFTestActor (MapboxGL)
- (UIWindow *)window {
return [[UIApplication sharedApplication] statusBarWindow];
}
- (UIViewController *)viewController {
return (UIViewController *)[[tester.mapView nextResponder] nextResponder];
}
- (MGLMapView *)mapView {
return (MGLMapView *)[tester waitForViewWithAccessibilityLabel:@"Map"];
}
- (UIView *)compass {
return [tester waitForViewWithAccessibilityLabel:@"Compass"];
}
@end
|