diff --git a/Tests/Regression/Manager/GUI_Common.robot b/Tests/Regression/Manager/GUI_Common.robot index 7d0a2e92e..642a8c985 100644 --- a/Tests/Regression/Manager/GUI_Common.robot +++ b/Tests/Regression/Manager/GUI_Common.robot @@ -100,28 +100,32 @@ Open Manager GUI ${result}= Wait Until Keyword Succeeds ${default_image_timeout} sec 500ms Process Should Be Running ${process_manager} Log Process Is Running: ${result} console=True - ${img}= Set Variable manager_${platform}_button_runschedule.png - ${passed}= Run Keyword And Return Status Wait For ${img} timeout=${default_image_timeout / 2} - IF not ${passed} - ${running}= Is Process Running ${process_manager} - IF not ${running} - ${result} = Get Process Result - - Log rc: ${result.rc} console=True - Log stdout: ${result.stdout} console=True - Log stderr: ${result.stderr} console=True - Log stdout_path: ${result.stdout_path} console=True - Log stderr_path: ${result.stderr_path} console=True - - Show Log ${result.stdout_path} - Show Log ${result.stderr_path} - - Show Log ${OUTPUT DIR}${/}stdout_manager.txt - Show Log ${OUTPUT DIR}${/}stderr_manager.txt - - Fail Manager not running - ELSE - Wait For ${img} timeout=${default_image_timeout / 2} + IF '-n' in ${options} + Sleep 10 + ELSE + ${img}= Set Variable manager_${platform}_button_runschedule.png + ${passed}= Run Keyword And Return Status Wait For ${img} timeout=${default_image_timeout / 2} + IF not ${passed} + ${running}= Is Process Running ${process_manager} + IF not ${running} + ${result} = Get Process Result + + Log rc: ${result.rc} console=True + Log stdout: ${result.stdout} console=True + Log stderr: ${result.stderr} console=True + Log stdout_path: ${result.stdout_path} console=True + Log stderr_path: ${result.stderr_path} console=True + + Show Log ${result.stdout_path} + Show Log ${result.stderr_path} + + Show Log ${OUTPUT DIR}${/}stdout_manager.txt + Show Log ${OUTPUT DIR}${/}stderr_manager.txt + + Fail Manager not running + ELSE + Wait For ${img} timeout=${default_image_timeout / 2} + END END END