Merge pull request #16704 from YangJiao0817/add-open-imageScanners-doc-page-testcase

Add open image scanners documentation page test case
This commit is contained in:
Yang Jiao 2022-04-18 21:21:52 +08:00 committed by GitHub
commit 5eb0c083dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View File

@ -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')]

View File

@ -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