From 4a04ff05f5e36b9ef99eb0c6b2491ed236e1648b Mon Sep 17 00:00:00 2001 From: kukkok3 <93382903+kukkok3@users.noreply.github.com> Date: Fri, 27 Sep 2024 16:22:35 +0200 Subject: [PATCH] feat: adds simple test --- catalyst_voices/integration_test/app_test.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/catalyst_voices/integration_test/app_test.dart b/catalyst_voices/integration_test/app_test.dart index c2774be7e4..e52c749481 100644 --- a/catalyst_voices/integration_test/app_test.dart +++ b/catalyst_voices/integration_test/app_test.dart @@ -6,7 +6,7 @@ import 'package:integration_test/integration_test.dart'; void main() { IntegrationTestWidgetsFlutterBinding.ensureInitialized(); - group('end-to-end test', () { + group('End to end tests', () { testWidgets('run app', (tester) async { final args = await bootstrap(); await tester.pumpWidget(App(routerConfig: args.routerConfig)); @@ -15,9 +15,8 @@ void main() { // pump and settle every 100ms to simulate almost production-like FPS await tester.pumpAndSettle(const Duration(milliseconds: 100)); + expect(find.text('Coming'), findsOneWidget); - // wait 10s until the test is finished - await Future.delayed(const Duration(seconds: 10)); }); }); }