Skip to content

Commit

Permalink
Add test tracing to UIBotTestUtils.openLibertyToolWindow()
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Gooderham <[email protected]>
  • Loading branch information
turkeylurkey committed Jan 9, 2025
1 parent 3548ff0 commit 51fc882
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ public static void openAndValidateLibertyToolWindow(RemoteRobot remoteRobot, Str
* @param remoteRobot The RemoteRobot instance.
*/
public static void openLibertyToolWindow(RemoteRobot remoteRobot) {
TestUtils.printTrace(TestUtils.TraceSevLevel.INFO, "UIBotTestUtils.openLibertyToolWindow Entry");
int maxRetries = 6;
Exception error = null;
for (int i = 0; i < maxRetries; i++) {
Expand Down Expand Up @@ -466,6 +467,7 @@ public static void openLibertyToolWindow(RemoteRobot remoteRobot) {
if (error != null) {
throw new RuntimeException("Unable to open the Liberty tool window.", error);
}
TestUtils.printTrace(TestUtils.TraceSevLevel.INFO, "UIBotTestUtils.openLibertyToolWindow Exit");
}

/**
Expand Down

0 comments on commit 51fc882

Please sign in to comment.