mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-01 08:09:59 +01:00
Merge pull request #10654 from danfengliu/use-external-registry-goharbor-1.10
Fix project quotas API test issue
This commit is contained in:
commit
edefbe8c78
@ -67,7 +67,7 @@ class TestProjects(unittest.TestCase):
|
|||||||
|
|
||||||
#4.Push an image to project(PA) by user(UA), then check the project quota usage; -- {"count": 1, "storage": 2791709}
|
#4.Push an image to project(PA) by user(UA), then check the project quota usage; -- {"count": 1, "storage": 2791709}
|
||||||
#image = "harbor-repo.vmware.com/harbor-ci/alpine"
|
#image = "harbor-repo.vmware.com/harbor-ci/alpine"
|
||||||
image = "alpine"
|
image = "goharbor/alpine"
|
||||||
src_tag = "3.10"
|
src_tag = "3.10"
|
||||||
TestProjects.repo_name, _ = push_image_to_project(project_test_quota_name, harbor_server, user_test_quota_name, user_001_password, image, src_tag)
|
TestProjects.repo_name, _ = push_image_to_project(project_test_quota_name, harbor_server, user_test_quota_name, user_001_password, image, src_tag)
|
||||||
|
|
||||||
|
@ -106,7 +106,9 @@ Make Project Private
|
|||||||
Retry Checkbox Should Be Selected ${project_config_public_checkbox}
|
Retry Checkbox Should Be Selected ${project_config_public_checkbox}
|
||||||
Retry Double Keywords When Error Retry Element Click ${project_config_public_checkbox_label} Retry Checkbox Should Not Be Selected ${project_config_public_checkbox}
|
Retry Double Keywords When Error Retry Element Click ${project_config_public_checkbox_label} Retry Checkbox Should Not Be Selected ${project_config_public_checkbox}
|
||||||
Retry Element Click //button[contains(.,'SAVE')]
|
Retry Element Click //button[contains(.,'SAVE')]
|
||||||
Retry Wait Until Page Contains Configuration has been successfully saved
|
Go Into Project ${project name}
|
||||||
|
Switch To Project Configuration
|
||||||
|
Retry Checkbox Should Not Be Selected ${project_config_public_checkbox}
|
||||||
|
|
||||||
Make Project Public
|
Make Project Public
|
||||||
[Arguments] ${projectname}
|
[Arguments] ${projectname}
|
||||||
@ -115,7 +117,9 @@ Make Project Public
|
|||||||
Retry Checkbox Should Not Be Selected ${project_config_public_checkbox}
|
Retry Checkbox Should Not Be Selected ${project_config_public_checkbox}
|
||||||
Retry Double Keywords When Error Retry Element Click ${project_config_public_checkbox_label} Retry Checkbox Should Be Selected ${project_config_public_checkbox}
|
Retry Double Keywords When Error Retry Element Click ${project_config_public_checkbox_label} Retry Checkbox Should Be Selected ${project_config_public_checkbox}
|
||||||
Retry Element Click //button[contains(.,'SAVE')]
|
Retry Element Click //button[contains(.,'SAVE')]
|
||||||
Retry Wait Until Page Contains Configuration has been successfully saved
|
Go Into Project ${project name}
|
||||||
|
Switch To Project Configuration
|
||||||
|
Retry Checkbox Should Be Selected ${project_config_public_checkbox}
|
||||||
|
|
||||||
Delete Repo
|
Delete Repo
|
||||||
[Arguments] ${projectname}
|
[Arguments] ${projectname}
|
||||||
|
Loading…
Reference in New Issue
Block a user