app_test.dart 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. // This is a basic Flutter integration test.
  2. //
  3. // To perform an interaction with a widget in your test, use the WidgetTester
  4. // utility that Flutter provides. For example, you can send tap and scroll
  5. // gestures. You can also use WidgetTester to find child widgets in the widget
  6. // tree, read text, and verify that the values of widget properties are correct.
  7. // import 'package:flutter/material.dart';
  8. // import 'package:flutter_test/flutter_test.dart';
  9. // import 'package:integration_test/integration_test.dart';
  10. // import 'package:flowy_sdk_example/main.dart' as app;
  11. // void main() => run(_testMain);
  12. // void _testMain() {
  13. // testWidgets('Counter increments smoke test', (WidgetTester tester) async {
  14. // // Build our app and trigger a frame.
  15. // app.main();
  16. // // Trigger a frame.
  17. // await tester.pumpAndSettle();
  18. // // Verify that platform version is retrieved.
  19. // expect(
  20. // find.byWidgetPredicate(
  21. // (Widget widget) => widget is Text &&
  22. // widget.data.startsWith('Running on:'),
  23. // ),
  24. // findsOneWidget,
  25. // );
  26. // });
  27. // }