From ff7598dd0939d035e2b6cfa1896e9997749334ca Mon Sep 17 00:00:00 2001 From: Steve Phuc Date: Fri, 12 Jan 2024 12:21:03 +0200 Subject: [PATCH] Update getting-started.mdx FAQ related to use with riverpod --- docs/getting-started.mdx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/getting-started.mdx b/docs/getting-started.mdx index 7917c2460..ed1f6adc9 100644 --- a/docs/getting-started.mdx +++ b/docs/getting-started.mdx @@ -492,6 +492,17 @@ within the patrol test."> of a wrapper function. + + It seems atm riverpod and pumpAndSettle are not working, as a nasty quick hack you can try something like this: + ``` + for (int i = 0; i < 5; i++) { + // because pumpAndSettle doesn't work with riverpod + await tester.pump(Duration(seconds: 1)); + } + ``` + [Learn more](https://stackoverflow.com/questions/67186472/error-pumpandsettle-timed-out-maybe-due-to-riverpod) + + #### Android