mobile-dev-inc / maestro

Painless Mobile UI Automation
https://maestro.mobile.dev/
Apache License 2.0
5.85k stars 276 forks source link

[Feature Request] Flow screenshots record before every action #1526

Open OHoussein opened 1 year ago

OHoussein commented 1 year ago

Problem When you run a full flow, it's not easy to understand what steps has been done and how the app reacted on each action

Solution Generate automatically a screenshot before every action like tapOn, back (can be added through and option) and generate a report after the test execution, it will look like this screen below Capture d’écran 2023-10-13 à 14 53 26

OHoussein commented 1 year ago

I'm open to contribute to the project to add this feature :)

camoles commented 9 months ago

This is now possible with the takeScreenshot command, this issue should be closed. https://maestro.mobile.dev/api-reference/commands/takescreenshot

bartekpacia commented 3 months ago

Yeah, takeScreenshot should solve this, but I understand that the request here is to essentially have takeScreenshot called automatically before each action?

OHoussein commented 3 months ago

Exactly, doing takeScreenshot manually after each action doesn't look productive. The goal of this is to have a quick understanding of the test execution.