Merge pull request #3602 from wy65701436/fix-tc-log

Add screenshot to monitor TC execution
This commit is contained in:
Daniel Jiang 2017-11-13 04:18:06 -06:00 committed by GitHub
commit fa83b3a31e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,12 +161,13 @@ Do Log Advanced Search
#others
Click Element xpath=//audit-log//clr-dropdown/button
Click Element xpath=//audit-log//clr-dropdown//a[contains(.,"Others")]
Sleep 1
Click element xpath=//audit-log//hbr-filter//clr-icon
Input Text xpath = //audit-log//hbr-filter//input harbor
Sleep 1
${c} = Get Matching Xpath Count //audit-log//clr-dg-row
Should be equal as integers ${c} 0
Click Element xpath=//audit-log//hbr-filter//clr-icon
Input Text xpath=//audit-log//hbr-filter//input harbor
Sleep 1
Capture Page Screenshot LogAdvancedSearch2.png
${rc} = Get Matching Xpath Count //audit-log//clr-dg-row
Should Be Equal As Integers ${rc} 0
Expand Repo
[Arguments] ${projectname}