mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-08 13:09:30 +01:00
15 lines
515 B
Dart
15 lines
515 B
Dart
import 'package:fluffychat/controllers/homeserver_picker_controller.dart';
|
|
import 'package:fluffychat/main.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
|
|
void main() {
|
|
testWidgets('Test if the widget can be created', (WidgetTester tester) async {
|
|
await tester.pumpWidget(FluffyChatApp(testWidget: HomeserverPicker()));
|
|
|
|
await tester.tap(find.byType(TextField));
|
|
await tester.tap(find.byType(ElevatedButton));
|
|
await tester.pumpAndSettle();
|
|
});
|
|
}
|