From 38ca0dd2f4dacb8bd6151c4673a7df5f096b3515 Mon Sep 17 00:00:00 2001 From: Patrick Ziegler Date: Wed, 25 Jun 2025 23:08:53 +0200 Subject: [PATCH] Stabilize MigLayoutConstraintTest.test_contextMenu_ConstraintsAction There needs to be a small delay between opening the "Constraints" dialog. Otherwise the second dialog might be closed together with the first one, leading to a "Could not find shell matching: with text 'Cell properties'" error. --- .../swing/model/layout/MigLayout/MigLayoutConstraintsTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.eclipse.wb.tests/src/org/eclipse/wb/tests/designer/swing/model/layout/MigLayout/MigLayoutConstraintsTest.java b/org.eclipse.wb.tests/src/org/eclipse/wb/tests/designer/swing/model/layout/MigLayout/MigLayoutConstraintsTest.java index 58bcb143a..c5f863336 100644 --- a/org.eclipse.wb.tests/src/org/eclipse/wb/tests/designer/swing/model/layout/MigLayout/MigLayoutConstraintsTest.java +++ b/org.eclipse.wb.tests/src/org/eclipse/wb/tests/designer/swing/model/layout/MigLayout/MigLayoutConstraintsTest.java @@ -992,6 +992,7 @@ public void accept(SWTBot bot) { " }", "}"); } + waitEventLoop(5); // open dialog, commit changes new UiContext().executeAndCheck(new FailableRunnable<>() { @Override