@@ -210,7 +210,7 @@ void main() {
210210 await setupAllChannelsPage (tester, channels: [eg.stream ()]);
211211
212212 await tester.longPress (find.byType (AllChannelsListEntry ));
213- await tester.pumpAndSettle ();
213+ await tester.pump ();
214214 await transitionDurationObserver.pumpPastTransition (tester);
215215
216216 check (find.byType (BottomSheet )).findsOne ();
@@ -219,15 +219,17 @@ void main() {
219219 testWidgets ('navigate to channel feed on tap' , (tester) async {
220220 final channel = eg.stream (name: 'some-channel' );
221221 await setupAllChannelsPage (tester, channels: [channel]);
222+
222223 connection.prepare (json: eg.newestGetMessagesResult (
223224 foundOldest: true , messages: [eg.streamMessage (stream: channel)]).toJson ());
225+ await tester.tap (find.byType (AllChannelsListEntry ));
226+ await tester.pump ();
227+ await transitionDurationObserver.pumpPastTransition (tester);
224228
225- await tester.tap (find.byType (AllChannelsListEntry ).at (0 ));
226- await tester.pumpAndSettle ();
227229 check (find.descendant (
228- of: find.byType (MessageListPage ),
229- matching: find.text ('some-channel' )),
230- ).findsOne ();
230+ of: find.byType (MessageListPage ),
231+ matching: find.text ('some-channel' )),
232+ ).findsOne ();
231233 });
232234
233235 testWidgets ('use toggle switch to subscribe/unsubscribe' , (tester) async {
0 commit comments