mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
Add open image scanners documentation page test case
Add a test case for opening the Image Scanners Documentation Page to ensure this function is correct Signed-off-by: Yang Jiao <jiaoya@vmware.com>
This commit is contained in:
parent
1a981cb4ad
commit
c5591cba46
@ -119,3 +119,8 @@ Check Scan All Artifact Job Status Is Stopped
|
||||
Wait Until Element Is Visible ${stopped_icon}
|
||||
${stopped_total}= Get Text ${stopped_icon}
|
||||
Should Be True ${stopped_total} > 0
|
||||
|
||||
Open Image Scanners Documentation
|
||||
Switch To Scanners Page
|
||||
Retry Element Click //clr-signpost//cds-icon
|
||||
Retry Link Click //clr-signpost-content//a[contains(.,'view documentation')]
|
@ -106,4 +106,14 @@ Test Case - Open CVE Details Page
|
||||
Sleep 3
|
||||
Switch Window locator=NEW
|
||||
Retry Wait Element //h1[contains(.,'${cve}')]
|
||||
Close Browser
|
||||
Close Browser
|
||||
|
||||
Test Case - Open Image Scanners Documentation Page
|
||||
[Tags] image_scanners_documentation_page
|
||||
Init Chrome Driver
|
||||
Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
|
||||
Open Image Scanners Documentation
|
||||
Sleep 3
|
||||
Switch Window locator=NEW
|
||||
Retry Wait Until Page Contains Vulnerability Scanning with Pluggable Scanners
|
||||
Close Browser
|
||||
|
Loading…
Reference in New Issue
Block a user