Add more logging to the gallery transitions test (#6363)
This commit is contained in:
parent
995fcdc92b
commit
eabadad6c0
@ -115,6 +115,7 @@ void main() {
|
|||||||
// Scroll each demo menu item into view, launch the demo and
|
// Scroll each demo menu item into view, launch the demo and
|
||||||
// return to the demo menu 2x.
|
// return to the demo menu 2x.
|
||||||
for(String demoTitle in demoTitles) {
|
for(String demoTitle in demoTitles) {
|
||||||
|
print('Testing "$demoTitle" demo');
|
||||||
SerializableFinder menuItem = find.text(demoTitle);
|
SerializableFinder menuItem = find.text(demoTitle);
|
||||||
await driver.scrollIntoView(menuItem);
|
await driver.scrollIntoView(menuItem);
|
||||||
await new Future<Null>.delayed(new Duration(milliseconds: 500));
|
await new Future<Null>.delayed(new Duration(milliseconds: 500));
|
||||||
@ -125,6 +126,7 @@ void main() {
|
|||||||
await driver.tap(find.byTooltip('Back'));
|
await driver.tap(find.byTooltip('Back'));
|
||||||
await new Future<Null>.delayed(new Duration(milliseconds: 1000));
|
await new Future<Null>.delayed(new Duration(milliseconds: 1000));
|
||||||
}
|
}
|
||||||
|
print('Success');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
streams: const <TimelineStream>[
|
streams: const <TimelineStream>[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user