mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-30 06:03:45 +01:00
Update automation test cases (#5991)
Longer the wait time to pass the nightly testing Signed-off-by: Wenkai Yin <yinw@vmware.com>
This commit is contained in:
parent
577ff3bd1a
commit
d1981d23b1
@ -84,6 +84,7 @@ Make Project Private
|
|||||||
Go Into Project ${project name}
|
Go Into Project ${project name}
|
||||||
Sleep 1
|
Sleep 1
|
||||||
Click Element xpath=//project-detail//a[contains(.,'Configuration')]
|
Click Element xpath=//project-detail//a[contains(.,'Configuration')]
|
||||||
|
Sleep 1
|
||||||
Checkbox Should Be Selected xpath=//input[@name='public']
|
Checkbox Should Be Selected xpath=//input[@name='public']
|
||||||
Click Element //clr-checkbox[@name='public']//label
|
Click Element //clr-checkbox[@name='public']//label
|
||||||
Click Element //button[contains(.,'SAVE')]
|
Click Element //button[contains(.,'SAVE')]
|
||||||
|
@ -45,9 +45,8 @@ Scan Repo
|
|||||||
#select one tag
|
#select one tag
|
||||||
Click Element //clr-dg-row[contains(.,"${tagname}")]//label
|
Click Element //clr-dg-row[contains(.,"${tagname}")]//label
|
||||||
Click Element //button[contains(.,'Scan')]
|
Click Element //button[contains(.,'Scan')]
|
||||||
Sleep 20
|
Run Keyword If '${status}' == 'Succeed' Wait Until Element Is Visible //hbr-vulnerability-bar//hbr-vulnerability-summary-chart 300
|
||||||
Run Keyword If '${status}' == 'Succeed' Wait Until Element Is Visible //hbr-vulnerability-bar//hbr-vulnerability-summary-chart
|
Run Keyword If '${status}' == 'Fail' Wait Until Element Is Visible //hbr-vulnerability-bar//a 300
|
||||||
Run Keyword If '${status}' == 'Fail' Wait Until Element Is Visible //hbr-vulnerability-bar//a
|
|
||||||
|
|
||||||
|
|
||||||
Summary Chart Should Display
|
Summary Chart Should Display
|
||||||
|
@ -68,6 +68,7 @@ Test Case - Read Only Mode
|
|||||||
Cannot Push image ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} project${d} busybox:latest
|
Cannot Push image ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} project${d} busybox:latest
|
||||||
|
|
||||||
Disable Read Only
|
Disable Read Only
|
||||||
|
Sleep 5
|
||||||
Push image ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} project${d} busybox:latest
|
Push image ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} project${d} busybox:latest
|
||||||
Close Browser
|
Close Browser
|
||||||
|
|
||||||
@ -265,6 +266,8 @@ Test Case - User View Logs
|
|||||||
Go Into Project project${d}
|
Go Into Project project${d}
|
||||||
Delete Repo project${d}
|
Delete Repo project${d}
|
||||||
|
|
||||||
|
Sleep 1
|
||||||
|
|
||||||
Go To Project Log
|
Go To Project Log
|
||||||
Advanced Search Should Display
|
Advanced Search Should Display
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user