mirror of
https://github.com/goharbor/harbor
synced 2025-04-21 19:49:49 +00:00
fix: update total permission count to 59 (#20352)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
This commit is contained in:
parent
dee73a44f3
commit
9471f5d5a6
@ -24,8 +24,8 @@ Create A Project Robot Account
|
|||||||
${permission_count}= Create Dictionary
|
${permission_count}= Create Dictionary
|
||||||
${total}= Set Variable 0
|
${total}= Set Variable 0
|
||||||
IF '${first_resource}' == 'all'
|
IF '${first_resource}' == 'all'
|
||||||
Set To Dictionary ${permission_count} all=56
|
Set To Dictionary ${permission_count} all=59
|
||||||
${total}= Set Variable 56
|
${total}= Set Variable 59
|
||||||
Retry Element Click //span[text()='Select all']
|
Retry Element Click //span[text()='Select all']
|
||||||
ELSE
|
ELSE
|
||||||
FOR ${item} IN @{resources}
|
FOR ${item} IN @{resources}
|
||||||
|
@ -745,7 +745,7 @@ Test Case - System Robot Account
|
|||||||
|
|
||||||
${robot_account_name} ${token}= Create A System Robot Account sys2${d} days days=2 description=For testing cover_all_project_resources=${true}
|
${robot_account_name} ${token}= Create A System Robot Account sys2${d} days days=2 description=For testing cover_all_project_resources=${true}
|
||||||
Push image ${ip} '${robot_account_name}' ${token} project${d} hello-world:latest
|
Push image ${ip} '${robot_account_name}' ${token} project${d} hello-world:latest
|
||||||
Retry Wait Element Visible //clr-dg-row[.//clr-dg-cell[contains(.,'${robot_account_name}')] and .//clr-icon[contains(@class, 'color-green')] and .//span[text()='All projects with'] and .//button[text()=' 56 PERMISSION(S) '] and .//span[contains(.,'1d 23h')] and .//clr-dg-cell[text()='For testing'] and .//clr-dg-cell//span[text()=' None ']]
|
Retry Wait Element Visible //clr-dg-row[.//clr-dg-cell[contains(.,'${robot_account_name}')] and .//clr-icon[contains(@class, 'color-green')] and .//span[text()='All projects with'] and .//button[text()=' 59 PERMISSION(S) '] and .//span[contains(.,'1d 23h')] and .//clr-dg-cell[text()='For testing'] and .//clr-dg-cell//span[text()=' None ']]
|
||||||
Retry Action Keyword Check System Robot Account API Permission ${robot_account_name} ${token} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} all 1
|
Retry Action Keyword Check System Robot Account API Permission ${robot_account_name} ${token} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} all 1
|
||||||
Retry Action Keyword Check Project Robot Account API Permission ${robot_account_name} ${token} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} ${project_id} ${project_name} hello-world latest all
|
Retry Action Keyword Check Project Robot Account API Permission ${robot_account_name} ${token} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} ${project_id} ${project_name} hello-world latest all
|
||||||
Close Browser
|
Close Browser
|
||||||
|
Loading…
x
Reference in New Issue
Block a user