On Fri, 19 Sep 2025 08:23:11 GMT, Jayathirth D V <[email protected]> wrote:
> We are seeing very rare intermittent failures in RegionBackgroundFillUITest & > RegionBackgroundImageUITest tests in linux. We already have > [JDK-8328217](https://bugs.openjdk.org/browse/JDK-8328217) to fix this issue. > > To identify the root cause better, we want to capture the test content when > it is failing using ScreenCaptureTestWatcher utility. > > Since we want to capture the test window before test stage is cleared. We are > now clearing the test stage in the next test setup. Initially tried updating > this behaviour in `VisualTestBase` itself, but that causes tests like > `test.robot.test3d.PointLightIlluminationTest` to fail as it overrides the > test setup functions. > > This change is tested to make sure ScreenCaptureTestWatcher takes appropriate > screen capture on failure and CI full headful test run is green. This pull request has now been integrated. Changeset: 405450db Author: Jayathirth D V <[email protected]> URL: https://git.openjdk.org/jfx/commit/405450dbbbf5ef1b7ed63ec54666b0d5d6e90c03 Stats: 76 lines in 12 files changed: 28 ins; 20 del; 28 mod 8367991: Update RegionBackground tests to use ScreenCaptureTestWatcher utility Reviewed-by: kcr, angorya ------------- PR: https://git.openjdk.org/jfx/pull/1913
