Skip to content

Commit

Permalink
Wait Agent Ready & runsettings
Browse files Browse the repository at this point in the history
  • Loading branch information
damies13 committed Feb 14, 2024
1 parent cb1eec7 commit d3e4934
Show file tree
Hide file tree
Showing 32 changed files with 38 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Tests/Regression/Manager/GUI_Bugs.robot
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@ Issue #171
[Tags] ubuntu-latest windows-latest macos-latest
Open Agent
Open Manager GUI
Click Tab Agents
# give time for agent to start and connect to manager
Sleep 20
Resize Window 100 10
Take A Screenshot

Wait Agent Ready
Click Tab Run

# manager_macos_button_runsettings
Click Button runsettings
Take A Screenshot

Run Keyword Close Manager GUI ${platform}
Expand Down
30 changes: 30 additions & 0 deletions Tests/Regression/Manager/GUI_Common.robot
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,33 @@ Click Tab
Click Image ${img}
Sleep 0.1
Take A Screenshot

Click Button
[Arguments] ${btnname}
${btnnamel}= Convert To Lower Case ${btnname}
${img}= Set Variable manager_${platform}_button_${btnnamel}.png
Log ${CURDIR}
Log ${IMAGE_DIR}
Wait For ${img} timeout=300
@{coordinates}= Locate ${img}
Click Image ${img}
Sleep 0.1
Take A Screenshot


Resize Window
[Arguments] ${x}=0 ${y}=0
# manager_macos_corner_resize
${img}= Set Variable manager_${platform}_corner_resize.png
Wait For ${img} timeout=300
@{coordinates}= Locate ${img}
@{coordinates2}= Create List @{coordinates}[0]+${x} @{coordinates}[1]+${y}
Move To @{coordinates}
Mouse Down
Move To @{coordinates2}
Mouse Up

Wait Agent Ready
Click Tab Agents
${img}= Set Variable manager_${platform}_agents_ready.png
Wait For ${img} timeout=300
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d3e4934

Please sign in to comment.