Initial Flutter app
This commit is contained in:
16
test/widget_test.dart
Normal file
16
test/widget_test.dart
Normal file
@@ -0,0 +1,16 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
|
||||
import 'package:mapflow/main.dart';
|
||||
|
||||
void main() {
|
||||
testWidgets('renders the mapflow shell', (tester) async {
|
||||
await tester.pumpWidget(const ProviderScope(child: MapflowApp()));
|
||||
await tester.pump();
|
||||
|
||||
expect(find.text('выдохнуть'), findsOneWidget);
|
||||
expect(find.text('свидание'), findsOneWidget);
|
||||
expect(find.byIcon(Icons.add_location_alt_outlined), findsWidgets);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user