mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-10 18:07:42 +01:00
feat: add test case for customizing OIDC provider name (#20287)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
This commit is contained in:
parent
654aa8edcf
commit
6709c789fb
@ -26,6 +26,18 @@ Test Case - Get Harbor Version
|
||||
#Just get harbor version and log it
|
||||
Get Harbor Version
|
||||
|
||||
Test Case - Update OIDC Provider Name
|
||||
[Tags] oidc_provider_name
|
||||
Init Chrome Driver
|
||||
Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} is_oidc=${true}
|
||||
# Set OIDC Provider Name to TestDex
|
||||
Switch To Configuration Authentication
|
||||
Retry Text Input //input[@id='oidcName'] TestDex
|
||||
Retry Element Click ${config_auth_save_button_xpath}
|
||||
Logout Harbor
|
||||
Retry Wait Until Page Contains Element //span[normalize-space()='LOGIN WITH TestDex']
|
||||
Close Browser
|
||||
|
||||
Test Case - OIDC User Sign In
|
||||
#Sign in with all 9 users is for user population, other test cases might use these users.
|
||||
Sign In Harbor With OIDC User ${HARBOR_URL}
|
||||
|
Loading…
Reference in New Issue
Block a user