// Copyright 2014 The Flutter Authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.import'dart:io';import'package:flutter_devicelab/framework/devices.dart';import'package:flutter_devicelab/framework/framework.dart';import'package:flutter_devicelab/framework/task_result.dart';import'package:flutter_devicelab/framework/utils.dart';import'package:path/path.dart'aspath;voidmain(){task(()async{deviceOperatingSystem=DeviceOperatingSystem.ios;finalDevicedevice=awaitdevices.workingDevice;awaitdevice.unlock();finalDirectoryappDir=dir(path.join(flutterDirectory.path,'dev/integration_tests/ui'));section('TEST WHETHER `flutter drive --route` WORKS on IOS');awaitinDirectory(appDir,()async{returnflutter('drive',options:<String>['--verbose','-d',device.deviceId,'--route','/smuggle-it','lib/route.dart',],);});returnTaskResult.success(null);});}