[driver] refactor API to finder objects (#3365)

This commit is contained in:
Yegor
2016-04-15 16:57:35 -07:00
parent a91bc0ba9c
commit 9ce995f65e
11 changed files with 182 additions and 219 deletions

View File

@@ -22,7 +22,7 @@ void main() {
test('measure', () async {
Timeline timeline = await driver.traceAction(() async {
// Find the scrollable stock list
ObjectRef stockList = await driver.findByValueKey('main-scroll');
SerializableFinder stockList = find.byValueKey('main-scroll');
expect(stockList, isNotNull);
// Scroll down