mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 00:57:44 +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
|
||||
|
Loading…
Reference in New Issue
Block a user