diff --git a/Sources/KIF/Classes/KIFTestActor.m b/Sources/KIF/Classes/KIFTestActor.m index ad6dfa12..79325e5d 100644 --- a/Sources/KIF/Classes/KIFTestActor.m +++ b/Sources/KIF/Classes/KIFTestActor.m @@ -131,7 +131,7 @@ - (void)runBlock:(KIFTestExecutionBlock)executionBlock #pragma mark Class Methods -static NSTimeInterval KIFTestStepDefaultAnimationWaitingTimeout = 0.5; +static NSTimeInterval KIFTestStepDefaultAnimationWaitingTimeout = 2.0; static NSTimeInterval KIFTestStepDefaultAnimationStabilizationTimeout = 0.5; static NSTimeInterval KIFTestStepDefaultMainThreadDispatchStabilizationTimeout = 0.5; static NSTimeInterval KIFTestStepDefaultTimeout = 10.0; diff --git a/Sources/KIF/Classes/KIFUITestActor.m b/Sources/KIF/Classes/KIFUITestActor.m index 08c4ad4a..4306dca5 100644 --- a/Sources/KIF/Classes/KIFUITestActor.m +++ b/Sources/KIF/Classes/KIFUITestActor.m @@ -467,7 +467,7 @@ - (void)longPressAccessibilityElement:(UIAccessibilityElement *)element inView:( }]; // Wait for view to settle. - [self waitForTimeInterval:0.5 relativeToAnimationSpeed:YES]; + [self waitForAnimationsToFinish]; } - (void)waitForKeyboard