Skip to content

Is there someone who use riverpod with convenient test ? #366

Answered by fzyzcjy
Bazni asked this question in Q&A
Discussion options

You must be logged in to vote

Quoting flutter_convenient_test doc:

// OK even if "fetch data" needs undeterministic time interval. Will automatically pump, wait and retry.
await t.get(find.text('New Data')).should(findsOneWidget);

i.e. use something like this to await the widget to appear

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Bazni
Comment options

@fzyzcjy
Comment options

@Bazni
Comment options

@fzyzcjy
Comment options

Answer selected by Bazni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants