Create Release
SW360 “Add Releases” Page Test Cases
General Page Behavior
- Test Case ID: RED-CRT-001
- Description: Verify that the button to open the “Add Releases” page is visible from the “Edit Component” page, under the “Releases” Tab only.
- Steps:
- Navigate to the “Edit Component” page.
- Locate the “Releases” Tab.
- Expected Result: The button to open the “Add Releases” page is present.
Summary Tab
Release Summary Section
- Test Case ID: RED-CRT-002
- Description: Verify the “Release Summary” section in the Summary Tab.
- Steps:
- Navigate to the “Add Releases” page.
- Locate the “Release Summary” section in the Summary Tab.
- Verify the presence of the following fields in the form:
- Vendor (set the default value if Component has default vendor set) (clear button beneath)
- Name (required, readonly with component name)
- Version (required)
- Programming Languages (type to get default values, multivalue)
- Operating Systems (type to get default values, multivalue)
- CPE ID (hover info beneath)
- Software Platforms (type to get default values, multivalue)
- Release date
- Main Licenses (multivalue)
- Other licenses (multivalue)
- Source Code Download URL
- Binary Download URL
- Clearing State (New, readonly)
- Release Mainline State (dropdown, with info hover beneath)
- Created On
- Created By
- Contributors (multivalue)
- Moderators (multivalue)
- Modified On
- Modified By
- Expected Result: All specified fields are present and function as described.
Additional Roles Section
- Test Case ID: RED-CRT-003
- Description: Verify the “Additional Roles” section in the Summary Tab.
- Steps:
- Navigate to the “Add Releases” page.
- Locate the “Additional Roles” section in the Summary Tab.
- Click on the “Click to add row to Additional Roles” button.
- Expected Result: A new row is added for additional roles.
External IDs Section
- Test Case ID: RED-CRT-004
- Description: Verify the “External IDs” section in the Summary Tab.
- Steps:
- Navigate to the “Add Releases” page.
- Locate the “External IDs” section in the Summary Tab.
- Click on the “Click to add row to External Ids” button.
- Verify the presence of the following fields in the new row:
- External Id key on the left
- Type to get default values
- External Id value on the right
- Row delete button on the end
- Expected Result: A new row is added with the specified fields.
Additional Data Section
- Test Case ID: RED-CRT-005
- Description: Verify the “Additional Data” section in the Summary Tab.
- Steps:
- Navigate to the “Add Releases” page.
- Locate the “Additional Data” section in the Summary Tab.
- Click on the “Click to add row to Additional Data” button.
- Expected Result: A new row is added for additional data.
Release Repository Section
- Test Case ID: RED-CRT-006
- Description: Verify the “Release Repository” section in the Summary Tab.
- Steps:
- Navigate to the “Add Releases” page.
- Locate the “Release Repository” section in the Summary Tab.
- Verify the presence of the following fields:
- Repository Type (dropdown)
- Repository URL (textbox)
- Expected Result: The specified fields are present and function as described.
Linked Releases Tab
- Test Case ID: RED-CRT-007
- Description: Verify the “Click to add Releases” button and the releases table in the Linked Releases Tab.
- Steps:
- Navigate to the “Add Releases” page.
- Locate the Linked Releases Tab.
- Click on the “Click to add Releases” button.
- Verify the presence of a table with the following columns:
- Vendor name
- Release name
- Release version
- Release relation (info hover) (dropdown)
- delete icon
- Expected Result: The button and table with the specified columns are present.
Linked Packages Tab
- Test Case ID: RED-CRT-008
- Description: Verify the “Add Packages” button and the table in the Linked Packages Tab.
- Steps:
- Navigate to the “Add Releases” page.
- Locate the Linked Packages Tab.
- Click on the “Add Packages” button.
- Verify the presence of a table with the following columns:
- Package Name
- Package Version
- License
- Package Manager
- delete icon
- Expected Result: The button and table with the specified columns are present.
Release Creation
- Test Case ID: RED-CRT-009
- Description: Verify that upon clicking the “Create Release” button, the release is created, and the user is redirected to the “Edit Release” page of the created release.
- Steps:
- Navigate to the “Add Releases” page.
- Fill in the required fields and any additional information.
- Click on the “Create Release” button.
- Expected Result: The release is created, and the user is redirected to the “Edit Release” page of the created release.