From bacb807efd74b9eeee0bc8395943328302d8bcde Mon Sep 17 00:00:00 2001 From: Shai Almog <67850168+shai-almog@users.noreply.github.com> Date: Sun, 1 Mar 2026 08:04:46 +0200 Subject: [PATCH] Make orientation screenshot test run last --- .../examples/hellocodenameone/tests/Cn1ssDeviceRunner.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/hellocodenameone/common/src/main/java/com/codenameone/examples/hellocodenameone/tests/Cn1ssDeviceRunner.java b/scripts/hellocodenameone/common/src/main/java/com/codenameone/examples/hellocodenameone/tests/Cn1ssDeviceRunner.java index 84b2e16e8a..dcdcb95be9 100644 --- a/scripts/hellocodenameone/common/src/main/java/com/codenameone/examples/hellocodenameone/tests/Cn1ssDeviceRunner.java +++ b/scripts/hellocodenameone/common/src/main/java/com/codenameone/examples/hellocodenameone/tests/Cn1ssDeviceRunner.java @@ -68,9 +68,10 @@ public final class Cn1ssDeviceRunner extends DeviceRunner { new TransformCamera(), new BrowserComponentScreenshotTest(), new MediaPlaybackScreenshotTest(), - new OrientationLockScreenshotTest(), new SheetScreenshotTest(), new ImageViewerNavigationScreenshotTest(), + // Keep this as the last screenshot test; orientation changes can leak into subsequent screenshots. + new OrientationLockScreenshotTest(), new InPlaceEditViewTest(), new BytecodeTranslatorRegressionTest(), new BackgroundThreadUiAccessTest(),