Files
1356/lifetimer/test/widget_test.dart
T
Tomas Dvorak 37ffb93923 feat: Complete Phase 1 - Full Flutter app implementation with comprehensive features
Version: 1.1.0

Major changes:
- Implemented complete Flutter app structure with all core features
- Added comprehensive UI screens for auth, countdown, goals, profile, settings, and social features
- Integrated Supabase backend with authentication and data repositories
- Added offline support with Hive caching and local storage
- Implemented comprehensive routing with go_router
- Added location services with Google Maps integration
- Implemented notifications and home widget support
- Added voice recording capabilities and AI chat features
- Created comprehensive test suite and documentation
- Added Android and iOS platform configurations
- Implemented achievements system and social features
- Added calendar integration and bucket list functionality

This represents a complete Phase 1 milestone with 3,775 additions across 31 files.
2026-01-04 14:33:54 +01:00

29 lines
1.1 KiB
Dart

// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility in the flutter_test package. 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.
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:lifetimer/bootstrap/bootstrap.dart';
import 'package:lifetimer/main.dart';
void main() {
testWidgets('LifeTimerApp builds without crashing', (WidgetTester tester) async {
// Ensure app services (e.g., Supabase) are initialized similar to production.
await bootstrap();
// Build our app and trigger a frame.
await tester.pumpWidget(const ProviderScope(
child: LifeTimerApp(),
));
// Pump a few frames to allow initial build/layout without waiting for
// all animations/streams to settle indefinitely.
await tester.pump(const Duration(seconds: 1));
});
}