From 7e94ad7ceac449eca468903346bec95c69fa5f0c Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Fri, 13 Feb 2015 10:22:06 +0100 Subject: [PATCH] Add some delay to taps for UI tests, this could fix intermittent failures when filling forms --- KifTests/LinphoneTestCase.m | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/KifTests/LinphoneTestCase.m b/KifTests/LinphoneTestCase.m index afa40aaeb..b0aa88ab9 100644 --- a/KifTests/LinphoneTestCase.m +++ b/KifTests/LinphoneTestCase.m @@ -10,9 +10,15 @@ #import "LinphoneManager.h" +#import + @implementation LinphoneTestCase - ++ (void)initialize { + // default is 0.01, which sometimes confuses the simulator to the point that + // it will miss some keys + [KIFTypist setKeystrokeDelay:0.1]; +} - (NSString *)accountUsername { return @"testios";