mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-22 23:51:27 +01:00
Update filter label xpath (#17585)
Because this PR #17577 modifies the filter label Signed-off-by: Yang Jiao <jiaoya@vmware.com>
This commit is contained in:
parent
b44c9d01dd
commit
a686f30b01
@ -304,17 +304,17 @@ Add Labels To Tag
|
||||
|
||||
Filter Labels In Tags
|
||||
[Arguments] ${labelName1} ${labelName2}
|
||||
Retry Element Click xpath=//*[@id='filterArea']//hbr-filter/span/clr-icon
|
||||
Retry Element Click xpath=//clr-main-container//artifact-list-tab//clr-select-container//select
|
||||
Retry Element Click xpath=//clr-main-container//artifact-list-tab//clr-select-container//select/option[@value='labels']
|
||||
Retry Element Click xpath=//*[@id='search-btn']
|
||||
Retry Element Click xpath=//*[@id='type-select']
|
||||
Retry Element Click xpath=//*[@id='type-select']/option[@value='labels']
|
||||
Retry Wait Until Page Contains Element xpath=//*[@id='filterArea']//div//button[contains(.,'${labelName1}')]
|
||||
Retry Element Click xpath=//*[@id='filterArea']//div//button[contains(.,'${labelName1}')]
|
||||
Retry Element Click xpath=//*[@id='filterArea']//hbr-filter/span/clr-icon
|
||||
Retry Element Click xpath=//app-artifact-filter//clr-icon[contains(@shape,'search')]
|
||||
Retry Wait Until Page Contains Element xpath=//clr-datagrid//label[contains(.,'${labelName1}')]
|
||||
|
||||
Retry Element Click xpath=//*[@id='filterArea']//hbr-filter/span/clr-icon
|
||||
Retry Element Click xpath=//*[@id='search-btn']
|
||||
Retry Element Click xpath=//*[@id='filterArea']//div//button[contains(.,'${labelName2}')]
|
||||
Retry Element Click xpath=//*[@id='filterArea']//hbr-filter/span/clr-icon
|
||||
Retry Element Click xpath=//app-artifact-filter//clr-icon[contains(@shape,'search')]
|
||||
Sleep 2
|
||||
Retry Wait Until Page Contains Element xpath=//clr-dg-row[contains(.,'${labelName2}')]
|
||||
Retry Wait Until Page Not Contains Element xpath=//clr-dg-row[contains(.,'${labelName1}')]
|
||||
|
@ -62,7 +62,7 @@ Select Filter Label Model
|
||||
Select Filter Label
|
||||
[Arguments] ${label}
|
||||
Retry Element Click ${filter_label_xpath}
|
||||
Retry Element Click //div[@class='filterSelect ng-star-inserted'][3]//label[contains(text(), '${label}')]
|
||||
Retry Element Click //hbr-label-piece//span[contains(text(), '${label}')]
|
||||
Retry Element Click ${filter_label_xpath}
|
||||
|
||||
Select Bandwidth Unit
|
||||
|
Loading…
Reference in New Issue
Block a user