Skip to content

Commit bdf2298

Browse files
Justin Martindostrander
authored andcommitted
Wait for animations to complete after performing a scroll action
1 parent 5771d01 commit bdf2298

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Sources/KIF/Classes/KIFUITestActor.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,6 +1312,8 @@ - (void)scrollAccessibilityElement:(UIAccessibilityElement *)element inView:(UIV
13121312
scrollStart.y -= scrollDisplacement.y / 2;
13131313

13141314
[viewToScroll dragFromPoint:scrollStart displacement:scrollDisplacement steps:kNumberOfPointsInScrollPath];
1315+
1316+
[self waitForAnimationsToFinish];
13151317
}
13161318

13171319
- (void)waitForFirstResponderWithAccessibilityLabel:(NSString *)label

0 commit comments

Comments
 (0)