mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-29 21:54:13 +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
|
Delete Repo
|
||||||
[Arguments] ${projectname}
|
[Arguments] ${projectname}
|
||||||
Click Element xpath=//clr-dg-row[contains(.,"${projectname}")]//clr-checkbox//label
|
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")]
|
Click Element xpath=//button[contains(.,"Delete")]
|
||||||
Sleep 1
|
Wait Until Element Is Visible //clr-modal//button[2]
|
||||||
Click Element xpath=//clr-modal//button[2]
|
Click Element xpath=//clr-modal//button[2]
|
||||||
Sleep 1
|
|
||||||
|
|
||||||
Delete Repo on CardView
|
Delete Repo on CardView
|
||||||
[Arguments] ${reponame}
|
[Arguments] ${reponame}
|
||||||
|
Loading…
Reference in New Issue
Block a user