unlock device before running transition test (#6371)

This commit is contained in:
Yegor 2016-10-18 10:20:05 -07:00 committed by GitHub
parent 88cf68c847
commit 1eda886e7e

View File

@ -24,7 +24,9 @@ class GalleryTransitionTest {
final DeviceOperatingSystem os;
Future<TaskResult> call() async {
String deviceId = (await devices.workingDevice).deviceId;
Device device = await devices.workingDevice;
await device.unlock();
String deviceId = device.deviceId;
Directory galleryDirectory =
dir('${flutterDirectory.path}/examples/flutter_gallery');
await inDirectory(galleryDirectory, () async {