blob: e0abe90f75aad478c9d8b3fccb37a2d4b91b5198 [file] [log] [blame]
// Copyright 2013 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/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:quick_actions_example/main.dart' as app;
void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
testWidgets('Can run MyApp', (WidgetTester tester) async {
app.main();
await tester.pumpAndSettle();
await tester.pump(const Duration(seconds: 1));
expect(find.byType(Text), findsWidgets);
expect(find.byType(app.MyHomePage), findsOneWidget);
});
}