Eliminated DrawerItem, use ListTile instead (#8992)

This commit is contained in:
Hans Muller
2017-03-24 15:34:43 -07:00
committed by GitHub
parent 51ea62c143
commit 606f56221b
21 changed files with 774 additions and 653 deletions

View File

@@ -131,7 +131,6 @@ Future<Null> runSmokeTest(WidgetTester tester) async {
await smokeDemo(tester, routeName);
tester.binding.debugAssertNoTransientCallbacks('A transient callback was still active after leaving route $routeName');
}
expect(errors, 0);
final Finder navigationMenuButton = find.byTooltip('Open navigation menu');
@@ -150,6 +149,11 @@ Future<Null> runSmokeTest(WidgetTester tester) async {
await tester.pump();
await tester.pump(const Duration(seconds: 1)); // Wait until it's changed.
// scroll the 'Send feedback' item into view
await tester.drag(find.text('Light'), const Offset(0.0, -200.0));
await tester.pump();
await tester.pump(const Duration(seconds: 1)); // Wait until it's changed.
// send feedback
expect(hasFeedback, false);
await tester.tap(find.text('Send feedback'));