From e25c9671e401976325aea9bb78812527b67bed33 Mon Sep 17 00:00:00 2001 From: dzmipt Date: Sat, 6 Jan 2024 00:54:22 +0100 Subject: [PATCH] checking the test again --- src/studio/ui/StudioWindow.java | 2 +- test-integration/studio/ui/EditorTest.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/studio/ui/StudioWindow.java b/src/studio/ui/StudioWindow.java index 189d389c..693efa7d 100755 --- a/src/studio/ui/StudioWindow.java +++ b/src/studio/ui/StudioWindow.java @@ -833,7 +833,7 @@ public void close() { if (allWindows.size() == 1) { quit(); } else { - log.info("SW: Before close tab"); +// log.info("SW: Before close tab"); boolean result = execute(editorTab -> editorTab.getEditorsPanel().closeTab(editorTab)); if (!result) return; log.info("StudioWindow closing"); diff --git a/test-integration/studio/ui/EditorTest.java b/test-integration/studio/ui/EditorTest.java index 16ca8e25..40e2d444 100644 --- a/test-integration/studio/ui/EditorTest.java +++ b/test-integration/studio/ui/EditorTest.java @@ -122,6 +122,7 @@ protected boolean isMatching(StudioWindow f) { //tear down newFrameFixture.close(); + pause(50, TimeUnit.MILLISECONDS); // wait as closure happens asynchronously optionPaneButtonClick("No"); pause(new Condition("Wait till new window is closed") {