// 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_test/flutter_test.dart'; import 'package:cb_prestige_qr/main.dart'; void main() { testWidgets('shows login form fields', (WidgetTester tester) async { await tester.pumpWidget(const MyApp()); expect(find.text('Login'), findsOneWidget); expect(find.text('Phone Number'), findsOneWidget); expect(find.text('User ID (Username)'), findsOneWidget); expect(find.text('Password'), findsOneWidget); expect(find.text('Sign In'), findsOneWidget); }); }