Skip to content

Commit b657adc

Browse files
committed
Add comments to explain why we need to pause
Signed-off-by: Paul Gooderham <[email protected]>
1 parent 1dac83f commit b657adc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/io/openliberty/tools/intellij/it/UIBotTestUtils.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,7 @@ public static void insertConfigIntoConfigFile(RemoteRobot remoteRobot, String fi
11041104
keyboard.enter();
11051105

11061106
keyboard.enterText(configNameSnippet);
1107+
// After typing it can take 1 or 2s for IntelliJ to render diagnostics etc. Must wait before continuing.
11071108
TestUtils.sleepAndIgnoreException(5);
11081109

11091110
// Narrow down the config name completion suggestions in the pop-up window that is automatically
@@ -1124,6 +1125,7 @@ public static void insertConfigIntoConfigFile(RemoteRobot remoteRobot, String fi
11241125
keyboard.hotKey(VK_END);
11251126

11261127
keyboard.enterText(configValueSnippet);
1128+
// After typing it can take 1 or 2s for IntelliJ to render diagnostics etc. Must wait before continuing.
11271129
TestUtils.sleepAndIgnoreException(5);
11281130

11291131
if (completeWithPopup) {

0 commit comments

Comments
 (0)