Skip to content

Commit

Permalink
remove incorrect test
Browse files Browse the repository at this point in the history
  • Loading branch information
xsahil03x committed Dec 24, 2024
1 parent 214595b commit 269b284
Showing 1 changed file with 0 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 269b284

Please sign in to comment.