wolfenrain / fluttium

Fluttium, the user flow testing tool for Flutter

Home Page:https://fluttium.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat: reset/uninstall the application between flows

lyio opened this issue · comments

Description
This is more of a question than an issue. But with a more complex application there are a number of scenarios that modify the application state in a way that persists across app starts, such as enabling/disabling things in settings or even logging in.

Is there a way to uninstall/reset the app between flows and if there is not: Should there be one? Would this be a custom action?

This would be an extension on Fluttium (#197) which I hope to tackle soon.

As installing/uninstall is not a multi platform concept, for instance on Linux nothing gets installed you just have an executable, so it would only be something that would work for some platforms.

But this should for sure be possible! So I am turning this into a feature request, thank you for opening this issue <3

Right now, we use Maestro to test our app. It has launchApp, stopApp, and clearState commands. I would gladly have something like this used between tests (so each test is not persistent) and have the ability to use them in a test so I can test functionality after restart etc.