test(chat): verify stock Back with the processing animation active

This commit is contained in:
2026-10-24 13:15:40 +01:00
parent 7ad1afb09f
commit 6920483be2
3 changed files with 15 additions and 1 deletions
@@ -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));