mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-22 16:48:30 +01:00
Fix up card view keyword (#4718)
Fix up card view keyword and failed test case
This commit is contained in:
parent
5792829951
commit
5bd9a99984
@ -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
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user