diff --git a/Ghidra/Framework/Docking/src/test.slow/java/docking/framework/SplashScreenTest.java b/Ghidra/Framework/Docking/src/test.slow/java/docking/framework/SplashScreenTest.java index 11001d1b3d..8883c9efb5 100644 --- a/Ghidra/Framework/Docking/src/test.slow/java/docking/framework/SplashScreenTest.java +++ b/Ghidra/Framework/Docking/src/test.slow/java/docking/framework/SplashScreenTest.java @@ -74,7 +74,8 @@ public class SplashScreenTest extends AbstractDockingTest { String newStatusText = "New Status Text"; SplashScreen.updateSplashScreenStatus(newStatusText); - String updatedText = statusLabel.getText().trim(); + waitForSwing(); + String updatedText = runSwing(() -> statusLabel.getText().trim()); assertEquals("The text of the label does not match the updated " + "text that was passed.", newStatusText, updatedText);