'How to trigger Navigator.pop()
so I am using Flutter v2.10.3 and writting some integration tests.
I have a button and it does some http requests and some other things and when everything is done it does a Navigator.pop(). When using on an emulator or a real device, everything works great but in my test after tapping the button nothing happens. I've put an await tester.pumpAndSettle(const Duration(seconds: 20)); to try to wait for the frames to render but nothing happens. Here is a video recording for better understanding
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
