Skip to content

Commit 0bdec56

Browse files
committed
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.
1 parent 42c983f commit 0bdec56

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

org.eclipse.wb.tests/src/org/eclipse/wb/tests/designer/swing/model/layout/MigLayout/MigLayoutConstraintsTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,7 @@ public void accept(SWTBot bot) {
992992
" }",
993993
"}");
994994
}
995+
waitEventLoop(5);
995996
// open dialog, commit changes
996997
new UiContext().executeAndCheck(new FailableRunnable<>() {
997998
@Override

0 commit comments

Comments
 (0)