KIF Framework for iOS: can it mimic the touch and hold gesture?
2 answers
Functions are now built into the structure. You can use it like this:
[steps addObject:[KIFTestStep stepToLongPressViewWithAccessibilityLabel:@"myView" duration:5]];
or
[scenario addStep:[KIFTestStep stepToLongPressViewWithAccessibilityLabel:@"myView" duration:5]];
Obviously, the first is to add to a step
and the second to a scenario
.
+4
source to share