mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-27 02:58:05 +01:00
Update automation test case "Delete Repo" (#6087)
Replace the "Sleep x seconds" with "Wait Until xxx" in the "Delete Repo" case Signed-off-by: Wenkai Yin <yinw@vmware.com>
This commit is contained in:
parent
96d260a379
commit
f5166431be
@ -105,11 +105,10 @@ Make Project Public
|
||||
Delete Repo
|
||||
[Arguments] ${projectname}
|
||||
Click Element xpath=//clr-dg-row[contains(.,"${projectname}")]//clr-checkbox//label
|
||||
Sleep 1
|
||||
Wait Until Element Is Enabled //button[contains(.,"Delete")]
|
||||
Click Element xpath=//button[contains(.,"Delete")]
|
||||
Sleep 1
|
||||
Wait Until Element Is Visible //clr-modal//button[2]
|
||||
Click Element xpath=//clr-modal//button[2]
|
||||
Sleep 1
|
||||
|
||||
Delete Repo on CardView
|
||||
[Arguments] ${reponame}
|
||||
|
Loading…
Reference in New Issue
Block a user