maestro icon indicating copy to clipboard operation
maestro copied to clipboard

[Feature Request] Support for soft assertions

Open imTachu opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe.

While doing assertions within a repeat , there currently only two options to execute them and none of them really help me achieve the behavior I need:

  1. Simply assertVisible (or whatever other assertion)
  • This causes the flow to exit midways in repeat, let's say that there will be 3 assert failures within repeat. Then I have to await until we fix the first one, only to find out about the second one and so on. I would instead, like to be reported of all of them at the end of the flow execution.
  1. Add optional:true to the assertion
  • In this case, the assertion fails, but since it is executed within a repeat, the faulty assertion disappears and the final execution just says that everything was executed correctly.

Describe the solution you'd like

⭐⭐⭐⭐⭐ Support for soft assertions! The specific behavior I'd expect is that regardless whether there are repeats within the flow. I could get a report at the end of the flow execution that states all the assertion failures.

imTachu avatar Jun 22 '23 08:06 imTachu

@imTachu @Fishbowler Any ETA when we are receiving this feature. Or any other thread where there is a workaround for this?

NitinKumarGupta-HT avatar Dec 09 '25 07:12 NitinKumarGupta-HT

There's no ETA - staff can't automatically implement everything that folks want. But it's open source, so folks can contribute their own changes for features they want.

This is my first time reading through this issue - it predates me being heavily involved in this project.

Perhaps you could elaborate on your use case? The original post describes what amounts to a reporting issue, I think?

Fishbowler avatar Dec 09 '25 07:12 Fishbowler