Skip to content

Commit

Permalink
Merge pull request #16704 from YangJiao0817/add-open-imageScanners-do…
Browse files Browse the repository at this point in the history
…c-page-testcase

Add open image scanners documentation page test case
  • Loading branch information
YangJiao0817 authored Apr 18, 2022
2 parents 1a981cb + c5591cb commit 5eb0c08
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
5 changes: 5 additions & 0 deletions tests/resources/Harbor-Pages/Vulnerability.robot
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
12 changes: 11 additions & 1 deletion tests/robot-cases/Group1-Nightly/Routing.robot
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5eb0c08

Please sign in to comment.