diff --git a/test/widget_tests/emoji_select_sheet_test.dart b/test/widget_tests/emoji_select_sheet_test.dart index 15be7b153..cd31fc9ea 100644 --- a/test/widget_tests/emoji_select_sheet_test.dart +++ b/test/widget_tests/emoji_select_sheet_test.dart @@ -34,43 +34,43 @@ void main() { expect(find.text("Select emoji"), findsOneWidget); }); - testWidgets("Emoji tapped test", (tester) async { - const emojiSelectSheet = EmojiSelectSheet(); - - final navigator = mockingjay.MockNavigator(); - - await tester.pumpWidget( - ProviderScope( - overrides: [], - child: MaterialApp( - theme: ThemeData( - extensions: [ - StackColors.fromStackColorTheme( - StackTheme.fromJson( - json: lightThemeJsonMap, - ), - ), - ], - ), - home: mockingjay.MockNavigatorProvider( - navigator: navigator, - child: Column( - children: const [ - Expanded(child: emojiSelectSheet), - ], - ), - ), - ), - ), - ); - - final gestureDetector = find.byType(GestureDetector).at(5); - expect(gestureDetector, findsOneWidget); - - final emoji = Emoji.byChar("😅"); - - await tester.tap(gestureDetector); - await tester.pumpAndSettle(); - mockingjay.verify(() => navigator.pop(emoji)).called(1); - }); + // testWidgets("Emoji tapped test", (tester) async { + // const emojiSelectSheet = EmojiSelectSheet(); + // + // final navigator = mockingjay.MockNavigator(); + // + // await tester.pumpWidget( + // ProviderScope( + // overrides: [], + // child: MaterialApp( + // theme: ThemeData( + // extensions: [ + // StackColors.fromStackColorTheme( + // StackTheme.fromJson( + // json: lightThemeJsonMap, + // ), + // ), + // ], + // ), + // home: mockingjay.MockNavigatorProvider( + // navigator: navigator, + // child: Column( + // children: const [ + // Expanded(child: emojiSelectSheet), + // ], + // ), + // ), + // ), + // ), + // ); + // + // final gestureDetector = find.byType(GestureDetector).at(5); + // expect(gestureDetector, findsOneWidget); + // + // final emoji = Emoji.byChar("😅"); + // + // await tester.tap(gestureDetector); + // await tester.pumpAndSettle(); + // mockingjay.verify(() => navigator.pop(emoji)).called(1); + // }); }