feat: servicios WhatsApp, Bitácora WebControl, SQLite v4, UI y store listing

This commit is contained in:
Pablinux
2026-11-22 17:40:46 -05:00
parent 7ffb8d3c52
commit 4aaae043fe
47 changed files with 2552 additions and 361 deletions
+10 -20
View File
@@ -1,30 +1,20 @@
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility that Flutter provides. 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/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:seguridad_electronica/main.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:sqflite_common_ffi/sqflite_ffi.dart';
void main() {
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
TestWidgetsFlutterBinding.ensureInitialized();
sqfliteFfiInit();
databaseFactory = databaseFactoryFfi;
SharedPreferences.setMockInitialValues({});
testWidgets('SENTINEL ONE smoke test', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(const MyApp());
// Verify that our counter starts at 0.
expect(find.text('0'), findsOneWidget);
expect(find.text('1'), findsNothing);
// Tap the '+' icon and trigger a frame.
await tester.tap(find.byIcon(Icons.add));
await tester.pump();
// Verify that our counter has incremented.
expect(find.text('0'), findsNothing);
expect(find.text('1'), findsOneWidget);
// Verify that the title or brand is rendered
expect(find.text('SENTINEL ONE'), findsAtLeastNWidgets(1));
});
}