1dede9eb78
- Removed AppColors class and migrated all references to AppPalette. - Updated VaultAccessScreen, MenuDrawer, NoteCard, SearchAppBar, and other widgets to use AppPalette for color management. - Introduced AppPalette to handle light and dark themes with appropriate color schemes. - Adjusted theme application in AppTheme to utilize AppPalette extensions. - Updated tests to reflect changes in theme structure and color references.
14 lines
390 B
Dart
14 lines
390 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
|
|
import 'package:notas/app.dart';
|
|
|
|
void main() {
|
|
testWidgets('Loads the notes app shell', (WidgetTester tester) async {
|
|
await tester.pumpWidget(const NotesApp());
|
|
|
|
expect(find.byType(MaterialApp), findsOneWidget);
|
|
expect(find.text('Preparando el vault local...'), findsWidgets);
|
|
});
|
|
}
|