From a728de0a7e3e3f99f59cef14b976ee5d660daa71 Mon Sep 17 00:00:00 2001 From: Cong Shi Date: Sun, 9 Feb 2025 19:21:58 -0800 Subject: [PATCH 1/2] Revert "Set .25s min for animation stabilization wait time, regardless of layer speed" This reverts commit cbf90e4b71a4953d94f82fdc76f74b2a98fd2165. --- Sources/KIF/Classes/KIFUITestActor.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/KIF/Classes/KIFUITestActor.m b/Sources/KIF/Classes/KIFUITestActor.m index 151e33cd..49a81660 100644 --- a/Sources/KIF/Classes/KIFUITestActor.m +++ b/Sources/KIF/Classes/KIFUITestActor.m @@ -230,8 +230,9 @@ - (void)waitForAnimationsToFinishWithTimeout:(NSTimeInterval)timeout stabilizati [self waitForTimeInterval:maximumWaitingTimeInterval relativeToAnimationSpeed:YES]; } } else { + // Wait for the view to stabilize and give them a chance to start animations before we wait for them. - [self waitForTimeInterval:MAX(stabilizationTime / [UIApplication sharedApplication].animationSpeed, 0.25) relativeToAnimationSpeed:NO]; + [self waitForTimeInterval:stabilizationTime relativeToAnimationSpeed:YES]; maximumWaitingTimeInterval -= stabilizationTime; NSTimeInterval startTime = [NSDate timeIntervalSinceReferenceDate]; From b10fd9bde0b794f63a4e881062d5b06a1bad6e7c Mon Sep 17 00:00:00 2001 From: Cong Shi Date: Fri, 14 Feb 2025 11:07:17 -0800 Subject: [PATCH 2/2] Bump version to 3.11.1 --- KIF.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KIF.podspec b/KIF.podspec index 1a2f0a29..96cef6ba 100644 --- a/KIF.podspec +++ b/KIF.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "KIF" - s.version = "3.11.0" + s.version = "3.11.1" s.summary = "Keep It Functional - iOS UI acceptance testing in an XCUnit harness." s.homepage = "https://github.com/kif-framework/KIF/" s.license = 'Apache 2.0'