On Wed, 9 Mar 2022 15:04:13 GMT, Maxim Kartashev <d...@openjdk.java.net> wrote:
> > Does it make sense to run all the checks before throwing the exception? > > I mean run all the checks that the test performs and accumulate failures if > > any. If the list of failures isn't empty, throw an exception to fail the > > entire test. > > That might turn out to be useful for debugging a failure, I think. Yes, it will provide the results for all the points that are verified as well as the screenshot. The screenshot should probably be taken with `createMultiResolutionScreenCapture` especially where the uiScale is above 1. I partially implemented it in my own branch while I was running the tests. Shall I submit a new issue? ------------- PR: https://git.openjdk.java.net/jdk/pull/7613