e2e_test.dart 535 Bytes
Newer Older
1 2 3 4
// 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.

5
import 'package:integration_test/integration_test_driver.dart' as driver;
6

7
Future<void> main() => driver.integrationDriver(
8 9 10 11 12
  timeout: const Duration(minutes: 5),
  responseDataCallback: (Map<String, dynamic> data) async {
    await driver.writeResponseData(
      data['performance'] as Map<String, dynamic>,
      testOutputFilename: 'e2e_perf_summary',
13 14
    );
  }
15
);