RFR: 8328716: [TestBug] Screen capturing utility for failed tests [v3]
Andy Goryachev
angorya at openjdk.org
Mon Mar 31 18:35:03 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.
>
> A possible improvement could be to output a data URL
>
> `data:image/png;base64,iVBORw0KGgoAAAANSUhEU...`
>
> so it can be rendered in Safari (Chrome truncates the image possibly due to following a url length limit)
Andy Goryachev has updated the pull request incrementally with one additional commit since the last revision:
data url
-------------
Changes:
- all: https://git.openjdk.org/jfx/pull/1746/files
- new: https://git.openjdk.org/jfx/pull/1746/files/c7bdcee7..5e184b0d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jfx&pr=1746&range=02
- incr: https://webrevs.openjdk.org/?repo=jfx&pr=1746&range=01-02
Stats: 8 lines in 2 files changed: 0 ins; 5 del; 3 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