Fix up card view keyword (#4718)

Fix up card view keyword and failed test case
This commit is contained in:
sigsbee 2018-04-19 10:07:55 +08:00 committed by GitHub
parent 5792829951
commit 5bd9a99984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -107,9 +107,9 @@ Delete Repo
Delete Repo on CardView
[Arguments] ${reponame}
Click Element xpath=//hbr-gridview//span[contains(.,'reponame')]//clr-dropdown/button
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')]
Click Element xpath=//hbr-gridview//span[contains(.,'${reponame}')]//clr-dropdown/clr-dropdown-menu/button[contains(.,'Delete')]
Sleep 1
Click Element //clr-modal//button[contains(.,'DELETE')]
Sleep 3
@ -201,7 +201,7 @@ Go Into Repo
Switch To CardView
Sleep 2
Click Element xpath=//hbr-repository-gridview//span[1]/clr-icon
Click Element xpath=//hbr-repository-gridview//span[@class='card-btn']/clr-icon
Sleep 5
Expand Repo

View File

@ -551,7 +551,7 @@ Test Case - Delete Repo on CardView
Sleep 2
Go Into Project project${d}
Switch To CardView
Delete Repo on CardView hello-world
Delete Repo on CardView busybox
# Verify
Delete Success
Close Browser
@ -632,4 +632,4 @@ Test Case - View Scan Error
#Test Case - OVA reset
# Reset VM ${vm_name} ${vc_host} ${vc_user} ${vc_password}
# Wait for Harbor Ready https ${ip}
# Wait for Harbor Ready https ${ip}