| // Copyright 2022 The Chromium 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:integration_test/integration_test_driver_extended.dart'; |
| |
| Future<void> main() async { |
| final FlutterDriver driver = await FlutterDriver.connect(); |
| await integrationDriver( |
| driver: driver, |
| onScreenshot: ( |
| String screenshotName, |
| List<int> screenshotBytes, [ |
| Map<String, Object?>? args, |
| ]) async { |
| // TODO(kenz): implement golden image testing. |
| return true; |
| }, |
| ); |
| } |