RFR: 8328716: [TestBug] Screen capturing utility for failed tests [v5]
Andy Goryachev
angorya at openjdk.org
Wed Apr 2 14:39:46 UTC 2025
> Introduce a facility, in the form of JUnit5 annotation, to allow for capturing a desktop screenshot of a failed test.
>
> The primary intent is to be able to debug an intermittent test case, rather than wholesale addition of the new annotation to all the tests.
>
> The log contains a base-64 encoded screenshot (like this: `data:image/png;base64,iVBORw0KGgoAAAANSUhEU...` )
> so it can be rendered in Safari (Chrome truncates the image possibly due to following a url length limit)
>
> Example:
>
> 
Andy Goryachev has updated the pull request incrementally with one additional commit since the last revision:
removed watchers
-------------
Changes:
- all: https://git.openjdk.org/jfx/pull/1746/files
- new: https://git.openjdk.org/jfx/pull/1746/files/02c185f9..5f6fee46
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jfx&pr=1746&range=04
- incr: https://webrevs.openjdk.org/?repo=jfx&pr=1746&range=03-04
Stats: 6 lines in 2 files changed: 0 ins; 5 del; 1 mod
Patch: https://git.openjdk.org/jfx/pull/1746.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1746/head:pull/1746
PR: https://git.openjdk.org/jfx/pull/1746
More information about the openjfx-dev
mailing list