Skip to content

Commit

Permalink
Update result
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Aug 24, 2023
1 parent 4d72a92 commit 975346f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#import "XCUIElement+FBUtilities.h"
#import "FBElementUtils.h"
#import "XCTestPrivateSymbols.h"
#import "XCUIHitPointResult.h"

#define BROKEN_RECT CGRectMake(-1, -1, 0, 0)

Expand Down Expand Up @@ -228,7 +229,8 @@ - (NSUInteger)wdIndex

- (BOOL)isWDHittable
{
return [self hitPoint:nil] != nil;
XCUIHitPointResult *result = [self hitPoint:nil];
return result.hittable;
}

- (NSDictionary *)wdRect
Expand Down

0 comments on commit 975346f

Please sign in to comment.