Skip to content

Commit

Permalink
First try to Update test cases for Donation Reminder
Browse files Browse the repository at this point in the history
Issue #252
  • Loading branch information
damies13 committed Oct 27, 2024
1 parent 76e1b69 commit 95a9810
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Tests/Regression/Reporter/GUI_Common.robot
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ ${IMAGE_DIR} ${CURDIR}${/}Images${/}file_method
${pyfile} ${EXECDIR}${/}rfswarm_reporter${/}rfswarm_reporter.py
${process} None
${sssleep} 0.5
${DonationReminter} ${False}

*** Keywords ***
Set Platform
Expand Down Expand Up @@ -275,14 +276,13 @@ Open GUI
Get Platform
${keyword}= Set Variable Open GUI ${platform}
Run Keyword ${keyword} @{appargs}
Sleep 3
Handle Donation Reminder

Get Platform
&{platforms}= Create Dictionary Linux=ubuntu Darwin=macos Java=notsupported Windows=windows
${os}= Evaluate platform.system() platform
Set Suite Variable ${platform} ${platforms}[${os}]


Open GUI windows
[Arguments] @{appargs}
# Set Suite Variable ${platform} windows
Expand Down Expand Up @@ -323,6 +323,12 @@ Open GUI macos
Set Screenshot Folder ${OUTPUT DIR}
# Take A Screenshot

Handle Donation Reminder
VAR ${DonationReminter} ${False} scope=TEST
${found}= Run Keyword And Return Status Click Button MaybeLater
IF ${found}
VAR ${DonationReminter} ${True} scope=TEST
END

Close GUI
${keyword}= Set Variable Close GUI ${platform}
Expand Down
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 95a9810

Please sign in to comment.