// 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'package:flutter_driver/flutter_driver.dart';import'package:test/test.dart'hideTypeMatcher,isInstanceOf;Future<void>main()async{
test('Animate for 250 frames',()async{finalFlutterDriverdriver=awaitFlutterDriver.connect();awaitdriver.forceGC();finalTimelinetimeline=awaitdriver.traceAction(()async{awaitdriver.requestData('waitForAnimation');});finalTimelineSummarysummary=TimelineSummary.summarize(timeline);awaitsummary.writeTimelineToFile(fileName,pretty:true);awaitdriver.close();