kif-framework/KIF — pull request #474 by ksuther (2014-10-07 17:09:54+00:00)
Title: Only call scrollRectToVisible if the view isn't already visible

I've found that scrollRectToVisible will act a bit oddly on iOS 8 when dealing with table view that have custom section headers and large contentInsets. Asking to scroll to a specific rect row will cause that row to scroll up under the section header, which then makes the row untappable. Skipping the call to scrollRectToVisible fixes the problem for me and doesn't affect any of the other KIF tests.