Skip to content

Commit

Permalink
Changed inserting data solution for test cases Issue damies13#89
Browse files Browse the repository at this point in the history
  • Loading branch information
ArekKuczynski committed Sep 21, 2024
1 parent c8c3a25 commit 91691de
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 6 deletions.
42 changes: 36 additions & 6 deletions Tests/Regression/Manager/GUI_Features.robot
Original file line number Diff line number Diff line change
Expand Up @@ -2671,7 +2671,12 @@ Verify That Time Gets Correctly Validated For Schelduled Start

Click Button runschedule
Click RadioBtn default
Press key.tab 1 Times
Click Label With Horizontal Offset schedule_time 100
IF "${platform}" == "macos"
Press Combination KEY.command KEY.a
ELSE
Double Click
END
FOR ${i} IN RANGE 0 ${len}
Evaluate clipboard.copy("${start_times}[${i}]") modules=clipboard
IF "${platform}" == "macos"
Expand All @@ -2681,7 +2686,12 @@ Verify That Time Gets Correctly Validated For Schelduled Start
END
Press key.tab 1 Times
Sleep 1
Press key.tab 5 Times
Click Label With Horizontal Offset schedule_time 100
IF "${platform}" == "macos"
Press Combination KEY.command KEY.a
ELSE
Double Click
END
Sleep 1
IF "${platform}" == "macos"
Press Combination KEY.command KEY.c
Expand All @@ -2704,9 +2714,14 @@ Verify Schedule Date And Time Are Always In the Future

Click Button runschedule
Click RadioBtn default
Press key.tab 1 Times
${current_time}= Get Current Date result_format=%H:%M:%S

Click Label With Horizontal Offset schedule_time 100
IF "${platform}" == "macos"
Press Combination KEY.command KEY.a
ELSE
Double Click
END
IF "${platform}" == "macos"
Press Combination KEY.command KEY.c
ELSE
Expand All @@ -2724,7 +2739,12 @@ Verify Schedule Date And Time Are Always In the Future
Type ${copied_start_time_value}
Sleep 2

Press key.tab 1 Times
Click Label With Horizontal Offset schedule_date 100
IF "${platform}" == "macos"
Press Combination KEY.command KEY.a
ELSE
Double Click
END
IF "${platform}" == "macos"
Press Combination KEY.command KEY.c
ELSE
Expand Down Expand Up @@ -2754,15 +2774,25 @@ Verify That When Time Is Entered In the Past It Becomes the Next Day

Click Button runschedule
Click RadioBtn default
Press key.tab 1 Times
Click Label With Horizontal Offset schedule_time 100
IF "${platform}" == "macos"
Press Combination KEY.command KEY.a
ELSE
Double Click
END
${current_time}= Get Current Date result_format=%H:%M:
${new_time}= Subtract Time From Date ${current_time} 120 date_format=%H:%M: result_format=%H:%M:
Log To Console Current time: ${current_time}
Log To Console Applied time that is in the past: ${new_time}
Type ${new_time}
Sleep 2

Press key.tab 1 Times
Click Label With Horizontal Offset schedule_date 100
IF "${platform}" == "macos"
Press Combination KEY.command KEY.a
ELSE
Double Click
END
IF "${platform}" == "macos"
Press Combination KEY.command KEY.c
ELSE
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 91691de

Please sign in to comment.