mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 00:57:44 +01:00
Update test cases (#6011)
Update the automation test cases to pass the nightly testing Signed-off-by: Wenkai Yin <yinw@vmware.com>
This commit is contained in:
parent
83147b1982
commit
32c4392b3b
@ -109,12 +109,11 @@ Delete Repo
|
||||
|
||||
Delete Repo on CardView
|
||||
[Arguments] ${reponame}
|
||||
Click Element xpath=//hbr-gridview//span[contains(.,'${reponame}')]//clr-dropdown/button
|
||||
Sleep 1
|
||||
Click Element xpath=//hbr-gridview//span[contains(.,'${reponame}')]//clr-dropdown/clr-dropdown-menu/button[contains(.,'Delete')]
|
||||
Sleep 1
|
||||
Click Element //hbr-gridview//span[contains(.,'${reponame}')]//clr-dropdown/button
|
||||
Wait Until Element Is Visible //hbr-gridview//span[contains(.,'${reponame}')]//clr-dropdown/clr-dropdown-menu/button[contains(.,'Delete')]
|
||||
Click Element //hbr-gridview//span[contains(.,'${reponame}')]//clr-dropdown/clr-dropdown-menu/button[contains(.,'Delete')]
|
||||
Wait Until Element Is Visible //clr-modal//button[contains(.,'DELETE')]
|
||||
Click Element //clr-modal//button[contains(.,'DELETE')]
|
||||
Sleep 3
|
||||
|
||||
Delete Project
|
||||
[Arguments] ${projectname}
|
||||
|
@ -36,6 +36,7 @@ Scan Is Disabled
|
||||
|
||||
Move To Summary Chart
|
||||
Sleep 2
|
||||
Wait Until Element Is Visible //hbr-vulnerability-bar//hbr-vulnerability-summary-chart
|
||||
Mouse Over //hbr-vulnerability-summary-chart
|
||||
Sleep 1
|
||||
|
||||
|
@ -79,7 +79,7 @@ Test Case - Repo Size
|
||||
Push Image With Tag ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} library alpine 2.6 2.6
|
||||
Go Into Project library
|
||||
Go Into Repo alpine
|
||||
Page Should Contain 1.92MB
|
||||
Wait Until Page Contains 1.92MB
|
||||
Close Browser
|
||||
|
||||
Test Case - Staticsinfo
|
||||
@ -97,6 +97,7 @@ Test Case - Staticsinfo
|
||||
Push Image ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} private${d} hello-world
|
||||
Push Image ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} public${d} hello-world
|
||||
Reload Page
|
||||
Wait Until Page Contains //statistics-panel
|
||||
${privaterepocount2}= Get Statics Private Repo
|
||||
${privateprojcount2}= get statics private project
|
||||
${publicrepocount2}= get statics public repo
|
||||
@ -266,7 +267,7 @@ Test Case - User View Logs
|
||||
Go Into Project project${d}
|
||||
Delete Repo project${d}
|
||||
|
||||
Sleep 1
|
||||
Sleep 3
|
||||
|
||||
Go To Project Log
|
||||
Advanced Search Should Display
|
||||
|
Loading…
Reference in New Issue
Block a user