mardi 22 septembre 2020

flutter driver tap message is taking a long time to complete

Recently I am using flutter driver to do integration testing.

I noticed that it is so easy to stuck with driver.tap() with error message below :

tap message is taking a long time to complete...

The weirdest part is that before the tap I will usually use

await driver.waitFor(target);
await driver.tap(target);

The waitFor passed (I did try print line in between them) but the tap is not completing and showing the error message above and finally failed with message :

TimeoutException after 0:02:00.000000: Test timed out after 2 minutes.

Aucun commentaire:

Enregistrer un commentaire