Integration test for WebView should constantly call WidgetTester.pump
otherwise it will get frozen for slow page loading
#2485
Labels
bug
Something isn't working
Is there an existing issue for this?
Current Behavior
Currently, when I run the cookie_manager integration test, it fails sometimes and the whole program get frozen.
Expected Behavior
Shouldn't get frozen
Steps with code example to reproduce
Steps with code example to reproduce
// Just run the integration test a couple of times if needed (Loading a slower website to make sure it happen)
Stacktrace/Logs
Stacktrace/Logs
Flutter version
v3.24.3
Operating System, Device-specific and/or Tool
Android API 30
Plugin version
v6.1.5
Additional information
flutter_inappwebview/flutter_inappwebview/example/integration_test/cookie_manager/set_get_delete.dart
Lines 48 to 52 in 0aaf7a0
My workaround:
We could write a helper function for this in general.
Self grab
The text was updated successfully, but these errors were encountered: