kif-framework / KIF

Keep It Functional - An iOS Functional Testing Framework
Other
6.21k stars 913 forks source link

[iOS 12] `viewTester tapStatusBar` not scrolling the element into view #1089

Open mikelupo opened 6 years ago

mikelupo commented 6 years ago

I've taken iOS 12 beta (16A5366A) on an iPhone 8 Plus. This is actual hardware. Not a simulator. Xcode is 10, beta 6.

Some observations: When scrolling table views, you can cause a table to scroll the destination object into view by using the tapRowAtIndexPath method, however if you just try [viewTester tapStatusBar] method, the status bar will not scroll into view.

The test that exhibits this failure is in TableViewTests_ViewTestActor::testScrollingToTop No known workaround to get the test to pass.

justinseanmartin commented 6 years ago

Lets log individual issues for everything that needs to be addressed and add it to the "Xcode 10 / iOS 12" project. I'll edit the title of this one to be more specific. Are you seeing this issue in your test suite as well or just in the KIF integration tests?

mikelupo commented 6 years ago

This was seen in the KIF Integration tests. Note that I was running on an actual hardware device. iPhone X running iOS 11.4.1.