diff --git a/tests/resources/Harbor-Pages/Project-Repository.robot b/tests/resources/Harbor-Pages/Project-Repository.robot index 13283046f..c63e55051 100644 --- a/tests/resources/Harbor-Pages/Project-Repository.robot +++ b/tests/resources/Harbor-Pages/Project-Repository.robot @@ -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 diff --git a/tests/resources/Harbor-Pages/Project-Repository_Elements.robot b/tests/resources/Harbor-Pages/Project-Repository_Elements.robot index 61072e9f4..4b5e7379c 100644 --- a/tests/resources/Harbor-Pages/Project-Repository_Elements.robot +++ b/tests/resources/Harbor-Pages/Project-Repository_Elements.robot @@ -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 \ No newline at end of file +${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