Skip to content

Commit 1849f7e

Browse files
committed
msglist: Also test scroll position after ScrollToBottomButton was pressed
1 parent 8024d5d commit 1849f7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/widgets/message_list_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ void main() {
120120
await tester.tap(find.byType(ScrollToBottomButton));
121121
await tester.pumpAndSettle();
122122
check(isButtonVisible(tester)).equals(false);
123+
check(scrollController.position.pixels).equals(0);
123124
});
124125
});
125126
}

0 commit comments

Comments
 (0)