patrol icon indicating copy to clipboard operation
patrol copied to clipboard

Enable execution and reporting of multiple assertions within a test

Open kirksl opened this issue 1 year ago • 1 comments

Use case

I have multiple state based assertions to perform per screen Let's say I have 10 controls to validate state for I'd like the test to execute all assertions regardless of failure and report all assertions that failed at the end of the test

https://www.linkedin.com/pulse/soft-asserts-better-way-test-your-code-serhat-u%C3%A7ar/

Proposal

Alignment with other popular frameworks and packages that provide this capability

https://playwright.dev/docs/test-assertions#soft-assertions

kirksl avatar Feb 09 '24 00:02 kirksl

Hi, currently we don't have any plans to implement such feature but you can try to do it on your own. In this discussion there's one of the methods to achieve that.

fylyppo avatar Feb 27 '24 21:02 fylyppo

This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue.

github-actions[bot] avatar Jul 24 '24 10:07 github-actions[bot]