wolfenrain / fluttium

Fluttium, the user flow testing tool for Flutter
https://fluttium.dev
MIT License
361 stars 10 forks source link

feat: Support taking screenshot when test fails #389

Open k-ane opened 8 months ago

k-ane commented 8 months ago

Not sure if this is currently possible or maybe related to https://github.com/wolfenrain/fluttium/issues/197.

But would love to be able to pass an option to fluttium.yaml to allow taking screenshots on test failure.

What I'm hoping to do is run in CI and get screenshots of the failed tests and well as the logs, to save as artifacts and send to Slack maybe.

wolfenrain commented 7 months ago

That should be doable once I land !293, with that refactor we have more control over what we want to do once a test fails for instance.

Thanks for opening up this feature request! It is a solid one