Skip to content

Commit

Permalink
Issue #171 try 3
Browse files Browse the repository at this point in the history
  • Loading branch information
damies13 committed Feb 14, 2024
1 parent fffa2bf commit f481920
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
2 changes: 2 additions & 0 deletions Tests/Regression/Manager/GUI_Bugs.robot
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
*** Settings ***
Resource GUI_Common.robot

Suite Setup Set Platform

*** Test Cases ***
Issue #171
[Tags] ubuntu-latest windows-latest macos-latest
Expand Down
25 changes: 12 additions & 13 deletions Tests/Regression/Manager/GUI_Common.robot
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Library String

Library ImageHorizonLibrary reference_folder=${IMAGE_DIR}

Suite Setup Set Platform

*** Variables ***
${IMAGE_DIR} ${CURDIR}/Images/file_method
Expand All @@ -16,26 +15,26 @@ ${process_agent} None

*** Keywords ***
Set Platform
[Tags] macos-latest
Set Suite Variable ${platform} macos

Set Platform
[Tags] windows-latest
Set Suite Variable ${platform} windows

Set Platform
[Tags] ubuntu-latest
Set Suite Variable ${platform} ubuntu
[Arguments] ${ostag}
IF ${ostag} == macos-latest
Set Suite Variable ${platform} macos
END
IF ${ostag} == windows-latest
Set Suite Variable ${platform} windows
END
IF ${ostag} == ubuntu-latest
Set Suite Variable ${platform} ubuntu
END

Open Agent
# [Arguments] ${options}
${process}= Start Process python3 ${pyfile} alias=Agent stdout=${OUTPUT DIR}${/}stdout_agent.txt stderr=${OUTPUT DIR}${/}stderr_agent.txt
${process}= Start Process python3 ${pyfile_agent} alias=Agent stdout=${OUTPUT DIR}${/}stdout_agent.txt stderr=${OUTPUT DIR}${/}stderr_agent.txt
Set Test Variable $process_agent ${process}

Open Manager GUI
# [Arguments] ${options}
Set Confidence 0.9
${process}= Start Process python3 ${pyfile} alias=Manager stdout=${OUTPUT DIR}${/}stdout_manager.txt stderr=${OUTPUT DIR}${/}stderr_manager.txt
${process}= Start Process python3 ${pyfile_manager} alias=Manager stdout=${OUTPUT DIR}${/}stdout_manager.txt stderr=${OUTPUT DIR}${/}stderr_manager.txt
Set Test Variable $process_manager ${process}
Sleep 10
Set Screenshot Folder ${OUTPUT DIR}
Expand Down

0 comments on commit f481920

Please sign in to comment.