Yang Jiao
7bbefca8c2
Add scan data export API test case ( #17603 )
...
1. Add export scan data API test case
2. Add get scan data export execution list test case
3. Add get scan data export execution test case
4. Add download scan data test case
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-10-17 13:25:03 +08:00
Yang Jiao
c1c1aaf612
Add audit log forward UI testcase ( #17591 )
...
Verify that the audit log forward function is correct.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-09-27 10:46:16 +08:00
Yang Jiao
b8b2c2a4ac
Add audit log forword API test case ( #17589 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-09-27 10:45:08 +08:00
MinerYang
83bc24f6c1
Bump up golang version to v1.19 ( #17588 )
...
Signed-off-by: yminer <yminer@vmware.com>
update
2022-09-22 17:38:26 +08:00
Yang Jiao
a686f30b01
Update filter label xpath ( #17585 )
...
Because this PR #17577 modifies the filter label
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-09-22 10:50:29 +08:00
Yang Jiao
a56d927143
Remove the log in testcase ( #17500 )
...
Remove logs that do not need to be printed
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-09-06 14:15:45 +08:00
Yang Jiao
0ec167a7c1
Add audit log and log rotation test cases ( #17465 )
...
1. Add audit log test case
2. Add log rotation test case
3. Add log rotation schedule test case
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-08-26 18:00:12 +08:00
Yang Jiao
f913b84a01
Update replication and trivy testcases ( #17367 )
...
1 Update replication filter_label_xpath because of this PR #17267 updated xpath
2 Update the Manual Scan All test case, because Scan All will affect other testcases if it is not finished running
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-08-10 18:26:36 +08:00
MinerYang
0fbff49eb0
bumpup golang to v1.18.5 ( #17307 )
...
Signed-off-by: yminer <yminer@vmware.com>
2022-08-03 17:44:03 +08:00
Yang Jiao
1dd2b0bc7c
Add purge audit log API test cases ( #17175 )
...
Added test cases for the following APIs:
1. PUT /system/purgeaudit/{purge_id} Stop the specific purge audit log execution
2. GET /system/purgeaudit/{purge_id} Get purge job status
3. GET /system/purgeaudit/{purge_id}/log Get purge job log
4. PUT /system/purgeaudit/schedule Update purge job's schedule
5. POST /system/purgeaudit/schedule Create a purge job schedule
6. GET /system/purgeaudit/schedule Get purge's schedule
7. GET /system/purgeaudit Get purge job results.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-08-01 16:52:57 +08:00
Shijun Sun
04fa3853c9
Fix router issues for UI ( #17235 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-07-29 19:04:01 +08:00
MinerYang
bd1d441b01
bumpup golang version to v1.18.4 ( #17257 )
...
Signed-off-by: yminer <yminer@vmware.com>
2022-07-29 09:43:01 +08:00
Yang Jiao
e58f18bd51
Update routing test case ( #17221 )
...
Add retry to improve test case stability
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-07-21 17:40:38 +08:00
Yang Jiao
72cd65df6a
Update delete multi project testcase ( #17169 )
...
Because this PR(#16236 ) update the delete project button xpath, so update synchronously
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-07-14 22:47:53 +08:00
Yang Jiao
349d220372
Update delete project test case ( #17158 )
...
Because this PR(#16236 ) update the delete project button xpath, so update synchronously
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-07-13 17:39:12 +08:00
Yang Jiao
8d397d5a07
Add retry to project quota GC test case ( #17164 )
...
Add retry to improve test case stability
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-07-13 17:38:22 +08:00
Yang Jiao
f852996fe5
Update tag immutability xpath ( #17149 )
...
Because this PR(#17138 ) update the tag immutability xpath, so update synchronously
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-07-11 15:59:55 +08:00
Yang Jiao
90e9b997bf
Enhancement Stop Scan Testcase ( #17105 )
...
Added error retries to improve test stability
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-30 17:40:30 +08:00
Yang Jiao
ff4eb7f27c
Add P2P Preheat Test case ( #17089 )
...
1.Add P2P Preheat test case triggered by manual
2.Add P2P Preheat test case triggered by events(Artifact is pushed Artifact is scanned Artifact is labeled)
3.Add P2P Preheat test case triggered by schedule
4.Migrated Distribution CRUD and P2P Preheat Policy CRUD to P2P_Preheat.robot for classification
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-28 18:14:46 +08:00
Yang Jiao
a594f5649d
Enhance webhook testcase ( #17031 )
...
Increase retry to improve test case stability.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-21 14:28:43 +08:00
Yang Jiao
c91d2f618c
Update harbor-e2e-engine image ( #17032 )
...
1 Bump up cnab-to-oci version to v0.3.3
2 Bump up carvel-imgpkg version to v0.29.0
3 Bump up cosign version to v1.9.0
4 Bump up chromedriver version to 102.0.5005.61
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-20 14:32:15 +08:00
Yang Jiao
9b7289d862
Update GC UI Testcase ( #16975 )
...
This PR #16941 modifies the GC UI, so update the test cases.
1 Update GC web element xpath.
2 Migrate GC content from Configuration.robot to GC.robot for classification.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-13 14:19:32 +08:00
Yang Jiao
a2829850b8
Update CVE allowlist UI test case ( #16980 )
...
Because this PR #16941 migrates CVE allowlist from Configuration System
Settings page to Configuration Security page.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-13 11:54:58 +08:00
Yang Jiao
4d2d7fdb1a
Update Web Routing test case ( #16981 )
...
Because this PR modifies the routing of the Web UI.
1 Modify harbor/gc to harbor/clearing-job/gc.
2 Added harbor/clearing-job/audit-log-purge route.
3 Added harbor/configs/security route.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-13 10:22:22 +08:00
MinerYang
b8a71ac348
bump up golang version to v1.18.3 ( #16957 )
...
Signed-off-by: yminer <yminer@vmware.com>
update ci/ut_install.sh
Signed-off-by: yminer <yminer@vmware.com>
2022-06-08 17:56:14 +08:00
Shijun Sun
eee72e2354
Add style lint and add code lint to the pipeline ( #16954 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-06-08 16:35:19 +08:00
Yang Jiao
5dcd2ccf8e
Add webhook functionality test case ( #16944 )
...
1.Add Webhook Tester to the test environment.
2.Create a new project and enable webhook.
3.Trigger different event types(Artifact pushed、Artifact
pulled、Artifact deleted、Scanning finished、Scanning stopped、Tag
retention finished、Replication finished、Quota near threshold、Quota exceed).
4.Verify that the message is correct in the Webhook Tester.
5.Moved Webhook CRUD test cases from Common.robot to Webhook.robot for
triage.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-07 17:10:11 +08:00
Yang Jiao
9b154e700c
Update header user xpath
...
Update it because #16796 modifies header user.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-05-27 08:16:14 +00:00
Yang Jiao
4d116893be
Merge pull request #16832 from YangJiao0817/update-cosign-testcase
...
Update cosign test case
2022-05-10 16:18:16 +08:00
Yang Jiao
2563cf1bfb
Merge pull request #16760 from YangJiao0817/add-imgpkg-copy-testcase
...
Add imgpkg copy test case
2022-05-10 16:17:50 +08:00
Yang Jiao
49ddaee603
Update cosign test case
...
1 bump up cosign version to 1.8.0
2 Add cosign Verify test
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-05-10 07:01:27 +00:00
MinerYang
1f797fafc4
add lint with golangci-lint, remove golint ( #16821 )
...
Signed-off-by: yminer <yminer@vmmware.com>
test ut_install.sh
Signed-off-by: yminer <yminer@vmmware.com>
test ut_install.sh001
Signed-off-by: yminer <yminer@vmmware.com>
test ut_install002
Signed-off-by: yminer <yminer@vmmware.com>
use curl binary to download golangcilint instead of go get
Signed-off-by: yminer <yminer@vmmware.com>
test ut-ci make lint
Signed-off-by: yminer <yminer@vmmware.com>
check ci GO111MODULE
Signed-off-by: yminer <yminer@vmmware.com>
test ci go env
Signed-off-by: yminer <yminer@vmmware.com>
test ci goenv 002
Signed-off-by: yminer <yminer@vmmware.com>
test ci GO111MODULE=auto
Signed-off-by: yminer <yminer@vmmware.com>
ci test entire ut_install.sh
Signed-off-by: yminer <yminer@vmmware.com>
remove needless debug comment
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-05-09 11:19:02 +08:00
Wang Yan
98c52e4478
enable default to build bin ( #16763 )
...
Change the default behavrior of building binaries for all the third parties to true.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-04-28 17:13:41 +08:00
Yang Jiao
18b9856dc5
Add imgpkg copy test case
...
Add this test case to make sure imgpkg copy to Harbor works.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-27 06:25:11 +00:00
Yang Jiao
1207982925
Add test case for Enable Deployment Security Policy replication
...
Add test cases for these three different scenarios to ensure that Replication functions correctly after Deployment Security Policy is enabled
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-25 02:59:20 +00:00
Yang Jiao
c5591cba46
Add open image scanners documentation page test case
...
Add a test case for opening the Image Scanners Documentation Page to ensure this function is correct
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-18 09:14:47 +00:00
Yang Jiao
31efa54a9a
Add open cve details page test case
...
Add a test case for opening the CVE Details Page to ensure this function is correct.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-18 06:40:31 +00:00
Yang Jiao
f92a25f793
Add open more info page test case
...
Add test case that open more info page to ensure correct functionality.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-18 03:30:46 +00:00
Yang Jiao
c1781bfb74
Add open license test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-15 08:08:05 +00:00
Yang Jiao
6dfdda7778
Add retries to test cases
...
Retry to solve the ecs environment s3aws Path not found issue
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-12 07:16:55 +00:00
Yang Jiao
4f6042e586
Add project tab routing test case
...
Add this test case to make sure the project tab routing is routed correctly
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-07 06:35:37 +00:00
Yang Jiao
376c4f220b
Add main menu routing test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-31 08:53:49 +00:00
Yang Jiao
9917d987a4
Add python-dateutil module in api e2e image
...
Because swagger_client adds dependency on python-dateutil module
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-25 05:07:07 +00:00
Yang Jiao
76e781c446
Update webhook testcase xpath from disable to deactivate
...
Synchronous modification due to UI changes
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-24 06:38:24 +00:00
Shengwen Yu
b48619be0f
fix: enable one skipped conformance test
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-03-15 14:36:45 +08:00
Yang Jiao
6673841526
Merge pull request #16493 from YangJiao0817/update_trivy_testcase
...
Update trivy test case
2022-03-10 16:06:27 +08:00
Yang Jiao
6a2ab99127
Add replication index testcase
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-10 06:59:29 +00:00
Yang Jiao
d1cf06a5aa
Update trivy test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-10 01:28:28 +00:00
Yang Jiao
62afa16b57
Add replication test cases triggered by events ( #16466 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-04 14:11:57 +08:00
MinerYang
74d2670616
bump up Go version to 1.17.7 ( #16415 )
...
Signed-off-by: yminer <yminer@vmmware.com>
update CONTRIBUTING.md 2.4 golang version to 1.17.7
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-02-25 17:23:18 +08:00
Wang Yan
6c3f9a8366
bump up distribution version to v2.8 ( #16338 )
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-02-10 11:46:58 +08:00
Yang Jiao
999adfad82
Add replication cosign test case ( #16313 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-01-29 11:23:26 +08:00
He Weiwei
8554b7d7c5
refactor: replace lib/pq with jackc/pgx ( #16267 )
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2022-01-27 11:09:37 +08:00
Yang Jiao
7100e893f1
Merge pull request #16257 from YangJiao0817/add-copy-cosign-accessory-testcase
...
Add copy accessory test case
2022-01-24 10:57:39 +08:00
Yang Jiao
4882def74f
Add copy accessory test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-01-20 09:26:05 +00:00
Yang Jiao
5f7f6c7d59
Add cosign Artifact API test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-01-20 02:48:56 +00:00
Yang Jiao
cc26d75b56
Merge pull request #16238 from YangJiao0817/add-cosign-ui-case
...
Add cosign UI test case
2022-01-18 11:29:17 +08:00
Yang Jiao
6e93089845
Add cosign UI test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-01-18 02:05:31 +00:00
yminer
9acf3d21ce
bump up go version to v1.17.6
...
Signed-off-by: yminer <yminer@vmmware.com>
2022-01-17 17:45:22 +00:00
Yang Jiao
3c10fd0db4
Merge pull request #16208 from YangJiao0817/specify-pgsqlversion13
...
Specify postgresql version to 13
2022-01-14 13:32:10 +08:00
Yang Jiao
cefdfad35a
Update Deployment security Notary xpath
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-01-13 07:24:00 +00:00
Yang Jiao
b4de95941b
Specify postgresql version to 13
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-01-12 08:55:42 +00:00
Yang Jiao
406e6ea1e3
Update Artifact size cell xpath
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-01-06 13:47:15 +08:00
Yang Jiao
338ab5844a
Temp disable test cases that rely on notary
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-23 17:14:17 +08:00
Yang Jiao
3d26bbc2e2
Merge pull request #16110 from YangJiao0817/fix-test-ldap-server
...
Modify test ldap button xpath
2021-12-14 09:28:52 +08:00
DQ
12b5338985
Remove temporty workaround of openssl issue
...
Signed-off-by: DQ <dengq@vmware.com>
2021-12-10 11:34:18 +08:00
Yang Jiao
83e7e8528c
Modify test ldap button xpath
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-10 03:25:27 +00:00
Yang Jiao
367dd02ef8
Modify build-package branch master to main
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-07 17:01:11 +08:00
Yang Jiao
4a2242fe47
Fix core private key
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-03 10:55:35 +08:00
Yang Jiao
43912674b1
Add robot account do replication test case ( #16044 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-29 10:58:01 +08:00
Yang Jiao
e9c5b3e759
Add replication testcase for exclude and bandwidth
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-19 09:20:07 +00:00
Yang Jiao
0a845d6369
Merge pull request #16008 from YangJiao0817/fix-cnab-case
...
Refactor cnab push test case
2021-11-17 11:00:05 +08:00
Yang Jiao
97ad26af6f
Refactor cnab push test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-16 15:43:23 +08:00
Yang Jiao
8055374520
Specify test redis image tag
...
Specify the test redis mirror tag. If not specified, the default tag is latest. If the latest tag changes, it will cause false positives in the test case.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-15 11:30:10 +08:00
Yang Jiao
e3fac7eb53
Specify test redis image tag
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-12 10:49:30 +08:00
Yang Jiao
33fd4c06e1
Merge pull request #15978 from YangJiao0817/add-stop-scan-case
...
Add stop scan and stop scan all test cases
2021-11-11 18:01:14 +08:00
Yang Jiao
cfbbc82219
Merge pull request #15956 from YangJiao0817/refactor-ci-script
...
Modify ci script
2021-11-11 17:00:42 +08:00
Yang Jiao
9662c8316d
Merge pull request #15938 from YangJiao0817/include-test-case-e2e-image
...
Add e2e image include test case
2021-11-11 16:59:04 +08:00
Yang Jiao
f7b83a8e97
Merge branch 'main' into add-stop-scan-case
2021-11-11 16:50:55 +08:00
Yang Jiao
98e9ad82a1
Refactor ci script
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-11 16:04:09 +08:00
Yang Jiao
b0d6b242ae
Add stop scan and stop scan all test cases
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-09 16:58:31 +08:00
Yang Jiao
d7f53e51a9
Add test case to verify imgpkg in nightly
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-09 14:35:05 +08:00
Yang Jiao
360809bfd2
Add e2e image include test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-03 18:31:00 +08:00
Yang Jiao
2d6973febf
Merge pull request #15905 from YangJiao0817/add-wasm-to-harbor-case
...
Add wasm-to-oci test cases for harbor push and pull
2021-11-02 16:51:38 +08:00
Yang Jiao
b3c959a7ab
Merge pull request #15879 from YangJiao0817/add-helm3.7-case2python
...
Add test cases helm3.7 CLI push in python test
2021-11-02 16:51:04 +08:00
Yang Jiao
37bc1872e2
Add wasm-to-oci test cases for harbor push and pull
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-29 16:26:02 +08:00
Yang Jiao
72be9df283
Add test cases helm3.7 CLI push in python test
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-27 18:59:08 +08:00
Aaron Layfield
7b75a456d3
Robot Account CREATE / DELETE Label ( #15815 )
...
Signed-off-by: Aaron Layfield <aaron.layfield@gmail.com>
2021-10-27 14:24:07 +08:00
Yang Jiao
57431aa8cc
Support helm3.7 in nightly ( #15819 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-26 17:27:45 +08:00
Yang Jiao
60ab3aeb27
Merge pull request #15832 from YangJiao0817/fix-python-testcase-security
...
Fix issues in python api test
2021-10-26 11:16:26 +08:00
Wang Yan
a956758302
bump up go version to v1.17 ( #15865 )
...
* bump up go version to v1.17
Signed-off-by: Wang Yan <wangyan@vmware.com>
* gofmt fail
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-10-25 17:28:29 +08:00
Yang Jiao
9178ba1138
Fix issues in python api test
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-23 13:26:48 +08:00
He Weiwei
619d3e818c
feat: bump up trivy adater to v0.23.0
...
Closes #14983
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-10-22 09:07:40 +00:00
Shengwen YU
3f75f0db32
feat: add python testing script for stop scan job ( #15779 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
Co-authored-by: Shengwen Yu <yshengwen@vmware.com>
2021-10-18 13:13:53 +08:00
Soumik Majumder
b4c2ff7768
Fix bad and missing shebangs ( #15783 )
...
Signed-off-by: Soumik Majumder <soumikm@vmware.com>
2021-10-14 20:09:41 +08:00
Yang Jiao
bc321a331a
Update robot account permission item all list
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-13 09:46:56 +08:00
Yang Jiao
e79dd316cd
Update helm cm-push plugin
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-08 15:27:44 +08:00
Yang Jiao
a404cda6ce
Fix User View Logs test case error
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-09-24 12:24:57 +08:00
YangJiao
5533015fd1
Add Go To Harbor Api Page TestCase
...
Signed-off-by: YangJiao <jiaoya@vmware.com>
2021-09-17 16:06:11 +08:00
Yang Jiao
192a97c85f
Merge pull request #15545 from YangJiao0817/add-test-cases-to-download-helm-charts-from-UI
...
Add TestCase to download helmchart from UI
2021-09-15 11:00:06 +08:00