mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-08 17:08:17 +01:00
Add E2E test for build history
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
This commit is contained in:
parent
9a46d6b3ac
commit
e7b8fb8f04
@ -25,6 +25,10 @@ View Repo Scan Details
|
||||
Wait Until Page Contains high
|
||||
Wait Until Page Contains medium
|
||||
Page Should Contain CVE
|
||||
Sleep 2
|
||||
Click Element xpath=${build_history_btn}
|
||||
Sleep 1
|
||||
Page Should Contain Element xpath=${build_history_data}
|
||||
|
||||
View Scan Error Log
|
||||
Page Should Contain View Log
|
||||
|
@ -18,4 +18,6 @@ Documentation This resource provides any keywords related to the Harbor private
|
||||
*** Variables ***
|
||||
${first_repo_xpath} //clr-dg-row//clr-dg-cell[2]//a
|
||||
${first_cve_xpath} //clr-dg-row[1]//clr-dg-cell//a
|
||||
${view_log_xpath} //clr-dg-row[1]//clr-dg-cell[5]//a
|
||||
${view_log_xpath} //clr-dg-row[1]//clr-dg-cell[5]//a
|
||||
${build_history_btn} //button[contains(.,'Build History')]
|
||||
${build_history_data} //clr-dg-row
|
||||
|
Loading…
Reference in New Issue
Block a user