theappbusiness / TABTestKit

Library designed to make writing and maintaining automated tests for iOS applications. This includes automation of bio-metrics and controlling of mock servers
MIT License
59 stars 13 forks source link

Support scrolling a Scrollable element until some element has a particular _value_ #72

Closed KaneCheshire closed 4 years ago

KaneCheshire commented 4 years ago

At the moment, it's only possible to scroll until some element is in a particular state, i.e. visible, hittable etc, but it would be good if we could also scroll an element until something has a particular value.

A use case for this, is scrolling a screen until a page indicator has a particular value of something like "page 2 of 2".

annapiktas commented 4 years ago

I've added the scroll func, @bengilroy kindly agreed to add an element with changing value to an example app so I can test the func. We are both on hols next week so this will be on hold for a bit.

annapiktas commented 4 years ago

The issue was resolved and merged to develop branch.