Closed cassioseffrin closed 3 years ago
I managed to solve my problem by removing some effects like shouldIconPulse in the component flushbar. There are some issues in flushbar for appium-flutter-driver testing. I made a copy and customized it to resolve my situation. If anyone has the necessary needs, I can do a PR on this
The Issue It's impossible to get the element by ValueKey pair. We are using the appium-flutter-driver for mobile test automation. Using the ordinary snackbar I can get the element without any problem.
Snackbar
Flushbar
Automation test with Java with appium-flutter-driver
What I have tried I was unable to diagnose the problem. I suspect this is happening because the Flushbar widget tree is built on top of all screen elements. The main widget is a Stack. The Flushbar is an awesome option for all king of flutter apps, and It's also very important to do test automation, so I'll be grateful if anyone can help me with that.
Thanks in advance!