update job service selection
Code scanning - action / CodeQL-Build (push) Has been cancelled Details
CI / UTTEST (push) Has been cancelled Details
CI / APITEST_DB (push) Has been cancelled Details
CI / APITEST_DB_PROXY_CACHE (push) Has been cancelled Details
CI / APITEST_LDAP (push) Has been cancelled Details
CI / OFFLINE (push) Has been cancelled Details
CI / UI_UT (push) Has been cancelled Details

Signed-off-by: stonezdj <stonezdj@gmail.com>
This commit is contained in:
stonezdj 2025-07-22 05:52:22 +00:00
parent d931088cad
commit df1fa2f37f
4 changed files with 5 additions and 3 deletions

View File

@ -11,6 +11,7 @@ ip = "<harbor ip address or fqdn>"
# fixed value, do not change
LOCAL_REGISTRY = "registry.goharbor.io"
LOCAL_REGISTRY_NAMESPACE = "harbor-ci"
HARBOR_ADMIN = "admin"
HARBOR_PASSWORD = "Harbor12345"
OIDC_HOSTNAME = "nightly-oidc.harbor.io"
http_get_ca = "true"

View File

@ -355,7 +355,7 @@ Delete A Distribution
${is_exsit} evaluate not ${deletable}
Switch To Distribution
Filter Distribution List ${name} ${endpoint}
Retry Double Keywords When Error Select Distribution ${name} Wait Until Element Is Visible //clr-datagrid//clr-dg-footer//clr-checkbox-wrapper/label[contains(@class,'clr-control-label')]
Retry Double Keywords When Error Select Distribution ${name} Wait Until Element Is Visible //clr-datagrid//div[contains(@class, 'clr-checkbox-wrapper')]//label[contains(@class, 'clr-control-label')]
Retry Double Keywords When Error Retry Element Click ${distribution_action_btn_id} Wait Until Element Is Visible And Enabled ${distribution_del_btn_id}
Retry Double Keywords When Error Retry Element Click ${distribution_del_btn_id} Wait Until Element Is Visible And Enabled ${delete_confirm_btn}
Retry Double Keywords When Error Retry Element Click ${delete_confirm_btn} Retry Wait Until Page Not Contains Element ${delete_confirm_btn}
@ -365,7 +365,7 @@ Edit A Distribution
[Arguments] ${name} ${endpoint} ${new_endpoint}=${null}
Switch To Distribution
Filter Distribution List ${name} ${endpoint}
Retry Double Keywords When Error Select Distribution ${name} Wait Until Element Is Visible //clr-datagrid//clr-dg-footer//clr-checkbox-wrapper/label[contains(@class,'clr-control-label')] times=9
Retry Double Keywords When Error Select Distribution ${name} Wait Until Element Is Visible //clr-datagrid//div[contains(@class, 'clr-checkbox-wrapper')]//label[contains(@class, 'clr-control-label')] times=9
Retry Double Keywords When Error Retry Element Click ${distribution_action_btn_id} Wait Until Element Is Visible And Enabled ${distribution_edit_btn_id}
Retry Double Keywords When Error Retry Element Click ${distribution_edit_btn_id} Wait Until Element Is Visible And Enabled ${distribution_name_input_id}
Retry Text Input ${distribution_endpoint_id} ${new_endpoint}

View File

@ -30,7 +30,7 @@ Switch To Job Workers
Select Jobs
[Arguments] @{job_types}
FOR ${job_type} IN @{job_types}
Retry Double Keywords When Error Retry Element Click //clr-datagrid//clr-dg-row[contains(.,'${job_type}')]//div[contains(@class,'clr-checkbox-wrapper')] Retry Checkbox Should Be Selected //clr-datagrid//clr-dg-row[contains(.,'${job_type}')]//input
Retry Double Keywords When Error Retry Element Click //clr-datagrid//clr-dg-row[contains(.,'${job_type}')]//clr-checkbox-wrapper/label[contains(@class, 'clr-control-label')] Retry Checkbox Should Be Selected //clr-datagrid//clr-dg-row[contains(.,'${job_type}')]//clr-checkbox-wrapper/input
END
Stop Pending Jobs

View File

@ -23,6 +23,7 @@ ${HARBOR_ADMIN} admin
*** Test Cases ***
Test Case - Distribution CRUD
[Tags] distribution_crud
${d}= Get Current Date result_format=%m%s
${name}= Set Variable distribution${d}
${endpoint}= Set Variable https://32.1.1.2