14 lines
439 B
Dart
14 lines
439 B
Dart
import 'package:flutter_test/flutter_test.dart';
|
|
|
|
import 'package:wisata_app/main.dart';
|
|
|
|
void main() {
|
|
testWidgets('shows Explore Lumajang login screen', (WidgetTester tester) async {
|
|
await tester.pumpWidget(const ExploreLumajangApp());
|
|
|
|
expect(find.text('Tourism Companion'), findsOneWidget);
|
|
expect(find.text('Sign In to Explore'), findsOneWidget);
|
|
expect(find.text('Explore with nature'), findsOneWidget);
|
|
});
|
|
}
|