kif-framework / KIF

Keep It Functional - An iOS Functional Testing Framework
Other
6.2k stars 911 forks source link

- (void)selectPickerViewRowWithTitle:(NSString *)title inComponent:(NSInteger)component fromPicker:(UIPickerView *)picker withSearchOrder:(KIFPickerSearchOrder)searchOrder has a bug #1112

Open didiaodanding opened 5 years ago

didiaodanding commented 5 years ago

企业微信截图_156048499178 pickview's component number has changed after pickview select a component , the func will throw a exception:[NSArrayM objectAtIndex:]:index 1 beyond bounds[0...0]

justinseanmartin commented 5 years ago

Thanks for reporting this issue! Would you want to supply a fix and a test case that reproduces the issue to ensure that it doesn't regress in the future?

justinseanmartin commented 5 years ago

Also, could you please supply the line number and callstack for when the exception gets thrown?