mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-27 19:17:47 +01:00
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:
commit
5eb0c083dd
@ -119,3 +119,8 @@ Check Scan All Artifact Job Status Is Stopped
|
|||||||
Wait Until Element Is Visible ${stopped_icon}
|
Wait Until Element Is Visible ${stopped_icon}
|
||||||
${stopped_total}= Get Text ${stopped_icon}
|
${stopped_total}= Get Text ${stopped_icon}
|
||||||
Should Be True ${stopped_total} > 0
|
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')]
|
@ -107,3 +107,13 @@ Test Case - Open CVE Details Page
|
|||||||
Switch Window locator=NEW
|
Switch Window locator=NEW
|
||||||
Retry Wait Element //h1[contains(.,'${cve}')]
|
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