test(test): Added sample smoke test

This commit is contained in:
2024-03-11 14:53:44 +03:00
parent 116fcf5b7c
commit d346256f87
2 changed files with 85 additions and 0 deletions

16
test/auth_test.dart Normal file
View File

@@ -0,0 +1,16 @@
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:eatvio_app/presentation/auth/auth_screen/auth_screen.dart';
void main() {
testWidgets('AuthScreen Smoke Test', (WidgetTester tester) async {
// Создаем и загружаем виджет AuthScreen
await tester.pumpWidget(MaterialApp(
home: Builder(
builder: (context) {
return AuthScreen.builder(context);
},
),
));
});
}