Skip to content

Commit

Permalink
Wait 5s after UI robot types in a config file
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Gooderham <[email protected]>
  • Loading branch information
turkeylurkey committed Oct 30, 2024
1 parent dc562cc commit 1dac83f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1104,6 +1104,7 @@ public static void insertConfigIntoConfigFile(RemoteRobot remoteRobot, String fi
keyboard.enter();

keyboard.enterText(configNameSnippet);
TestUtils.sleepAndIgnoreException(5);

// Narrow down the config name completion suggestions in the pop-up window that is automatically
// opened as text is typed based on the value of configNameSnippet. Avoid hitting ctrl + space as it has the side effect of selecting
Expand All @@ -1123,6 +1124,7 @@ public static void insertConfigIntoConfigFile(RemoteRobot remoteRobot, String fi
keyboard.hotKey(VK_END);

keyboard.enterText(configValueSnippet);
TestUtils.sleepAndIgnoreException(5);

if (completeWithPopup) {
// Select the appropriate value completion suggestion in the pop-up window that is automatically
Expand Down

0 comments on commit 1dac83f

Please sign in to comment.