[Feature Request] Support for soft assertions
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:
- 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 withinrepeat. 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.
- Add
optional:trueto 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 @Fishbowler Any ETA when we are receiving this feature. Or any other thread where there is a workaround for this?
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?