calabash / calabash-ios-server

An embedded HTTP server for performing queries and test automation
Other
87 stars 82 forks source link

Fix: subviewWithMark only returns a match if the last subview has the mark #379

Closed jescriba closed 7 years ago

jescriba commented 7 years ago

Motivation

I noticed failures in using ScrollTo(Mark) because subviewWithMark would return a null value even though a view with the matching mark was found (it just wasn't the last subview so result would be set to null after having a non-null value) resulting in no scrolling being performed.