Files
imajviewer/test/widget_test.dart
Alhan 504d84f6f6
Some checks failed
Build & Release / build-linux (push) Has been cancelled
Build & Release / build-windows (push) Has been cancelled
Build & Release / create-release (push) Has been cancelled
feat: i18n (en/tr), zoom orijinal cozunurluk + max 20x + gaplessPlayback, app id com.softmediadesign.imajviewer, CI analyze+test
2026-08-07 00:16:48 +03:00

17 lines
534 B
Dart

import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:imajviewer/app.dart';
void main() {
testWidgets('App renders empty state', (WidgetTester tester) async {
await tester.pumpWidget(const ImajViewerApp());
// Pump pending timers (Future.delayed in initState + polling)
await tester.pump(const Duration(milliseconds: 500));
// Should show drag-drop hint (Key-based, locale independent)
expect(find.byKey(const Key('dragDropHint')), findsOneWidget);
});
}