2020-01-01 19:10:13 +01:00
|
|
|
// This is a basic Flutter widget test.
|
|
|
|
//
|
|
|
|
// To perform an interaction with a widget in your test, use the WidgetTester
|
|
|
|
// utility that Flutter provides. For example, you can send tap and scroll
|
|
|
|
// gestures. You can also use WidgetTester to find child widgets in the widget
|
|
|
|
// tree, read text, and verify that the values of widget properties are correct.
|
|
|
|
|
2021-04-12 18:33:43 +02:00
|
|
|
import 'package:fluffychat/main.dart';
|
2020-01-01 19:10:13 +01:00
|
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
|
|
|
2021-06-23 15:35:23 +02:00
|
|
|
import 'utils/test_client.dart';
|
|
|
|
|
2020-01-01 19:10:13 +01:00
|
|
|
void main() {
|
2020-01-02 22:31:39 +01:00
|
|
|
testWidgets('Test if the app starts', (WidgetTester tester) async {
|
2021-06-23 15:35:23 +02:00
|
|
|
await tester.pumpWidget(FluffyChatApp(
|
|
|
|
client: await prepareTestClient(),
|
|
|
|
));
|
2020-01-01 19:10:13 +01:00
|
|
|
});
|
|
|
|
}
|