maestro icon indicating copy to clipboard operation
maestro copied to clipboard

[Feature Request] Flow screenshots record before every action

Open OHoussein opened this issue 2 years ago • 2 comments

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 avatar Oct 13 '23 14:10 OHoussein

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

OHoussein avatar Oct 13 '23 14:10 OHoussein

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

camoles avatar Jan 16 '24 12:01 camoles

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

bartekpacia avatar Jul 26 '24 23:07 bartekpacia

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.

OHoussein avatar Jul 30 '24 08:07 OHoussein