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:
Wenkai Yin 2018-10-23 09:08:54 +08:00 committed by Yan
parent 96d260a379
commit f5166431be

View File

@ -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}