forked from baron/baron-sso
17 lines
650 B
Dart
17 lines
650 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
import 'package:userfront/features/auth/presentation/qr_scan_screen.dart';
|
|
|
|
void main() {
|
|
testWidgets('QR 스캔 화면은 비활성 문구 대신 입력/이동 UI를 노출한다', (tester) async {
|
|
await tester.pumpWidget(const MaterialApp(home: QRScanScreen()));
|
|
|
|
expect(
|
|
find.text('QR Scanner is temporarily disabled for WASM build stability.'),
|
|
findsNothing,
|
|
);
|
|
expect(find.byKey(const ValueKey('qr_scan_manual_input')), findsOneWidget);
|
|
expect(find.byKey(const ValueKey('qr_scan_submit_button')), findsOneWidget);
|
|
});
|
|
}
|