Skip to content

Commit

Permalink
dig a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
damies13 committed Oct 30, 2024
1 parent 6f98bb1 commit 334df18
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
11 changes: 6 additions & 5 deletions Tests/Regression/Reporter/GUI_Common.robot
Original file line number Diff line number Diff line change
Expand Up @@ -170,20 +170,21 @@ Get Text Value To Right Of
IF $valueg != $value
${value}= Set Variable ${valueg}
END
IF $platform == 'macos'
IF $platform == 'macos' and $b4value == $value
Click To The Right Of Image ${img} ${offsetx}
Sleep 10 ms
Click To The Right Of Image ${img} ${offsetx}
Sleep 10 ms
Take A Screenshot
Click To The Right Of Image ${img} ${offsetx} clicks=3
Take A Screenshot
Press Combination KEY.command KEY.x
Sleep 10 ms
Take A Screenshot
Press Combination KEY.command KEY.v
Press Combination KEY.command KEY.c
# Press Combination KEY.command KEY.v
Sleep 10 ms
Take A Screenshot
# Press Combination KEY.command KEY.v
# Sleep 10 ms
# Take A Screenshot
${valueg}= Get Clipboard Content
IF $valueg != $value
${value}= Set Variable ${valueg}
Expand Down
16 changes: 12 additions & 4 deletions Tests/Regression/Reporter/GUI_Features.robot
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,25 @@ Whole report time range
Wait For Status PreviewLoaded

Click Section Robots
Take A Screenshot
Click Tab Preview
Take A Screenshot

# check the graph as expected
Take A Screenshot
Set Confidence 0.7
Locate reporter_${platform}_graph_robots1.png
Set Confidence 0.9

Click Tab Settings
Take A Screenshot
Click Section Report

# Take A Screenshot
Take A Screenshot

${title}= Get Text Value To Right Of Title

Take A Screenshot
# Set start time 14:20
# Select Field With Label StartTime
# Press Combination KEY.END
Expand Down Expand Up @@ -498,7 +506,7 @@ Verify the Content Of the DOCX Report
Lists Should Be Equal ${22_sect_10_expected} ${22_sect_10} msg=[ Expected != Converted ]
# [15] equals middle row
@{22_sect_15} Convert To List ${docx_tables}[7][15]
VAR @{22_sect_15_expected}
VAR @{22_sect_15_expected}
... Result: Text 'Requests for Quotation' did not appear in 2 minutes. Test: Odoo Process RFQs Script: Odoo.robot Count: 1
Lists Should Be Equal ${22_sect_15_expected} ${22_sect_15} msg=[ Expected != Converted ]
# [20] equals upper middle row
Expand Down Expand Up @@ -1013,7 +1021,7 @@ Verify the Content Of the XLSX Report
Lists Should Be Equal ${22_sect_10_expected} ${22_sect_10} msg=[ Expected != Converted ]
# [15] equals middle row
@{22_sect_15} Convert To List ${22_sect_content}[15]
VAR @{22_sect_15_expected}
VAR @{22_sect_15_expected}
... Result: Text 'Requests for Quotation' did not appear in 2 minutes. Test: Odoo Process RFQs Script: Odoo.robot Count: 1
Lists Should Be Equal ${22_sect_15_expected} ${22_sect_15} msg=[ Expected != Converted ]
# [20] equals upper middle row
Expand Down Expand Up @@ -1425,4 +1433,4 @@ Verify Plan Table
#


#
#

0 comments on commit 334df18

Please sign in to comment.