Mia ZHOU
06eec7b3ed
Merge pull request #6479 from zhoumeina/fix_scan_log_nightly
...
quick fix for scan log
2018-12-07 14:39:29 +08:00
Meina Zhou
7827f19671
quick fix for scan log
...
This is a quick fix
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-12-07 12:29:15 +08:00
wang yan
109350a8c3
Fix robot framework version to 3.0.4
...
As pip will always install the latest version, to avoid any break change,
just fix the framework to 3.0.4
Signed-off-by: wang yan <wangyan@vmware.com>
2018-12-07 11:45:57 +08:00
danfengliu
3356368bff
Add API test case assign system admin role. ( #6413 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-12-04 12:26:12 +08:00
Qian Deng
7d4de8743b
Fix: Rebotcase failure in upload chart ( #6411 )
...
Fix testcase because of wrong keyword
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-12-03 18:49:07 +08:00
danfengliu
b4c7663f5f
Add API test case scan all images and test case API test case list helm charts. ( #6388 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-12-03 17:05:06 +08:00
Mia ZHOU
a90fb5219c
Merge pull request #6394 from ninjadq/fix_robot_cases_for_global_search
...
Fix xpath in go to project robot case
2018-11-30 16:43:55 +08:00
Qian Deng
9dd509e0eb
Fix xpath in go to project robot case
...
Global search bug fix introduced test case failure, fix it by edit xpath
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-11-30 15:33:14 +08:00
Wenkai Yin
9d5cf57373
Check the existence of name when creating replication rule and fix bugs in testing library ( #6381 )
...
1. Fix #5102 by checking the existence of name when creating/editing replication rule
2. Add unique constraint to the name of replication policy and target
3. Fix bugs of testing library
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-11-30 13:32:20 +08:00
danfengliu
04fd4d444d
Add API test case for user view logs. ( #6370 )
...
Add API test case for user view logs.
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-29 18:27:53 +08:00
Mia ZHOU
3c000f10a0
Merge pull request #6338 from ninjadq/fix_chart_ui_related_issues
...
Fix chart ui related issues
2018-11-29 10:11:44 +08:00
danfengliu
c4bf65162c
add api test case for garbage collection ( #6366 )
...
Add API test case for garbage collection, and add swagger.yaml, GC and chart feature were updated in swagger.yaml.
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-27 19:17:41 +08:00
Qian Deng
8ca917291e
Fix: upload chart version testcase failure in nightly
...
This is because after 2 seconds the modal still exist
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-11-23 17:03:15 +08:00
danfengliu
ad77098acf
add test case project level policy content trust. ( #6309 )
...
Add test case project level policy content trust.
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-21 12:19:28 +08:00
Mia ZHOU
88cab5bc35
Merge pull request #6306 from pureshine/fy-test
...
Add E2E test for build history
2018-11-21 10:24:57 +08:00
danfengliu
5ceebcbb10
Add tese case of manage project memebers and modify ( #6304 )
...
Move admin_client to testutil.py as global parameter.
Change create_repository function name to push_image_to_project to make it reasonable.
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-20 14:24:13 +08:00
FangyuanCheng
e7b8fb8f04
Add E2E test for build history
...
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2018-11-20 13:39:57 +08:00
danfengliu
9a46d6b3ac
Add elif to if condition to make if condition as one sentence, so return code is accurate for each sentence. ( #6291 )
...
Remove a space.
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-19 13:11:44 +08:00
Fangyuan Cheng
bbee74eba4
Merge pull request #6298 from pureshine/retag-test
...
Add E2E test for retag
2018-11-19 12:52:48 +08:00
FangyuanCheng
34dee765ec
Add E2E test for retag
...
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2018-11-19 12:20:19 +08:00
danfengliu
dcd34a37a9
add test case scan a not scanned image
...
Modify for codacy issues.
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-16 15:35:15 +08:00
Qian Deng
c716ebba59
Fix testcase of helm chart delete
...
Fix delete helm chart testcase
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-11-15 11:11:14 +08:00
danfengliu
1cc04183cb
add test case for edit project creation;
...
fixed some space and import issues coddcy;
remove a lib;
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-15 10:32:21 +08:00
Qian Deng
6d1163f592
Fix: Nightly test fail from time to time
...
Sometimes the time span of back to helm chart list is longer then 2 seconds.
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-11-13 17:22:12 +08:00
danfengliu
90fda71e4a
Recovery repository.py for calling wrong create function ( #6268 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-13 12:53:46 +08:00
danfengliu
6289275118
Modify script call create project ( #6263 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-12 23:39:16 +08:00
danfengliu
205a658afb
Only modify lib-project for seq of return ( #6261 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-12 16:59:55 +08:00
Mia ZHOU
08081d38fa
modify test ldap button xpath ( #6236 )
...
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-11-08 13:44:13 +08:00
danfengliu
7494050534
add test case name in API_DB
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
danfengliu
ce8a585858
modfiy repo
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
danfengliu
9265754936
modify codacy errors in target
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
danfengliu
a6151175e3
add lib for target
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
danfengliu
e6f5f62c53
Modify for codacy again
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
danfengliu
0b84ec84d9
Modify for codacy
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
danfengliu
660bfdf677
add test case of add a replication rule
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
Wenkai Yin
55c609b1a7
Update automation test case ( #6221 )
...
1. Add "Wait Until ..." to "Change User Role In Project"
2. Rename case name to "Scan Image On Push"
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-11-07 13:08:32 +08:00
Wenkai Yin
8c376ac55a
Merge pull request #6205 from ywk253100/181102_case
...
Check the vul data before running scan-on-push case
2018-11-05 21:09:26 +08:00
danfengliu
342a1051db
Merge pull request #6197 from danfengliu/add-tc-del-label
...
Add test cases <add global label to a image> and <delete repository>.
2018-11-02 18:46:19 +08:00
Wenkai Yin
40f8f4bc5d
Check the vul data before running scan-on-push case
...
Update the automation case to wait until the vul data is ready before running the scan-on-push case
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-11-02 17:54:47 +08:00
danfengliu
1979d17550
add tc add-sys-label-to-tag and del-repo
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-02 17:16:43 +08:00
Mia ZHOU
c920b025fa
fix the typpo error in nightly test case ( #6200 )
...
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-11-02 09:14:57 +08:00
Meina Zhou
0ba9856c66
fix nightly test
...
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-11-01 14:07:55 +08:00
danfengliu
894e0591bb
add new api tests ( #6127 )
...
Add API test libraries which were based on swagger doc,
it's including user and project , also add one scenario
test case which is test_add_member_to_private_project to
verify a user can see a project when the uesr is the member of it.
Delete 2 old test case.Delete a quota.
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-10-31 13:13:31 +08:00
wang yan
2ef11c396a
Fix failure on GC test case
...
As the changes on scan all, the default schedule was removed from source code,
hence the gc job should be the first admin job, to change to job id to 1.
Signed-off-by: wang yan <wangyan@vmware.com>
2018-10-29 14:15:06 +08:00
Meina Zhou
b68dd47a20
modify test case since replication log change to popup a new page
...
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-10-26 16:20:00 +08:00
Wenkai Yin
6c033574fa
Update automation test case "Delete Multi Project" ( #6116 )
...
Add "Wait Until xxx" to wait the expected page appear before the next step to avoid the case failure
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-10-24 15:37:36 +08:00
Wenkai Yin
f5166431be
Update automation test case "Delete Repo" ( #6087 )
...
Replace the "Sleep x seconds" with "Wait Until xxx" in the "Delete Repo" case
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-10-23 09:08:54 +08:00
Wenkai Yin
96d260a379
Add debug info to automation test case ( #6092 )
...
Add "Capture Page Screenshot" to help debug the case failure
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-10-23 09:08:33 +08:00
Mia ZHOU
c13a0bfaae
Merge pull request #6088 from pureshine/fixed_bug
...
Vulnerability scan cancel editing to make UI into orginal status
2018-10-23 08:39:32 +08:00
Cheng Fangyuan
8b6e72e56e
Vulnerability scan cancel editing to make UI into orginal status
...
Signed-off-by: Cheng Fangyuan <fangyuanc@fangyuanc-a01.vmware.com>
2018-10-19 13:14:43 +08:00