test(chat): verify stock Back with the processing animation active
This commit is contained in:
@@ -134,6 +134,10 @@ void main() {
|
||||
);
|
||||
await tester.pumpAndSettle();
|
||||
expect(scroll.offset, closeTo(scroll.position.maxScrollExtent, 1));
|
||||
// A continuously animated processing control must not keep Back open.
|
||||
gateway.emitEvent(chatStepFrame('running'));
|
||||
await tester.pump();
|
||||
await tester.pump();
|
||||
await tester.binding.handlePopRoute();
|
||||
await tester.pump();
|
||||
await tester.pump(const Duration(milliseconds: 500));
|
||||
|
||||
Reference in New Issue
Block a user