Eliminated DrawerItem, use ListTile instead (#8992)
This commit is contained in:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user