checkmarx-ltd / Cx-Client-Common

3 stars 12 forks source link

Plug1254 project level custom field #238

Closed swatipersistent closed 9 months ago

swatipersistent commented 9 months ago

Test Case 1 Go to SAST portal -> Setting Manage custom field -> Add Custom fields custom1 custom2 custom3 Create project using SAST portal and with below custom fields(wait to finish scan) custom1 = ABC custom2 = DEF Verify custom fields values in projects tab (Values added for custom1 and custom2 will display) Test Case 2 Run SAST scan with jenkins plugin -> project level custom field is blanck(wait till pipeline successfull) Go to SAST portal and verify custom field value for same project (it remains same value that previously added) custom1 = ABC custom2 = DEF custom3 = '' Test Case 3 Run SAST scan with jenkins plugin -> project level custom field = custom3 = XYZ(wait till pipeline successfull) Go to SAST portal and verify custom field value for same project Expected output - custom1 = ABC, custom2 = DEF and custom3 = XYZ Test Case 4 Run SAST scan with jenkins plugin -> project level custom field = custom2 = MNO(wait till pipeline successfull) Go to SAST portal and verify custom field value for same project Expected output - custom1 = ABC, custom2 = MNO and custom3 = XYZ