From 269b2846ec7d9041bb6b43fa217f16e6ff36bc0f Mon Sep 17 00:00:00 2001 From: Sahil Kumar Date: Tue, 24 Dec 2024 18:48:47 +0100 Subject: [PATCH] remove incorrect test --- .../src/poll/interactor/poll_footer_test.dart | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/packages/stream_chat_flutter/test/src/poll/interactor/poll_footer_test.dart b/packages/stream_chat_flutter/test/src/poll/interactor/poll_footer_test.dart index 4a0bc8113..1a6193234 100644 --- a/packages/stream_chat_flutter/test/src/poll/interactor/poll_footer_test.dart +++ b/packages/stream_chat_flutter/test/src/poll/interactor/poll_footer_test.dart @@ -178,29 +178,6 @@ void main() async { }, ); - testWidgets( - 'View Comments button is not visible when the poll is closed', - (WidgetTester tester) async { - await tester.pumpWidget(_wrapWithMaterialApp( - PollFooter( - poll: poll.copyWith( - isClosed: true, - answersCount: 1, - ), - currentUser: currentUser, - onViewComments: () {}, - ), - )); - - final viewCommentsButton = find.ancestor( - of: find.text('View Comments'), - matching: find.byType(PollFooterButton), - ); - - expect(viewCommentsButton, findsNothing); - }, - ); - testWidgets( 'Suggest Option button is visible and enabled when allowed', (WidgetTester tester) async {