Split Components
SW360 “Split Component” Page Test Cases
General Page Behavior
Accessing the Split Component Page
- Test Case ID: COMP-SPLT-001
- Description: Verify that the split component page can be reached by clicking the “Split” button on a component. The component from which the button was clicked is called the Source component.
- Steps:
- Navigate to the “Component Details” page of a component.
- Click on the “Split” button.
- Expected Result: The split component page is opened with the Source component specified.
Choose Target Section
Target Components Table
- Test Case ID: COMP-SPLT-002
- Description: Verify the display of the table with all components except the Source component, with a search bar on top.
- Steps:
- Navigate to the “Split Component” page.
- Locate the “Choose target” section.
- Verify the presence of a table with the following columns:
- Component Name
- Created by
- Releases (count)
- Expected Result: The table with the specified columns is present, and the search bar is functional.
Selecting a Target Component
- Test Case ID: COMP-SPLT-003
- Description: Verify the process of choosing one target component and clicking “Next.”
- Steps:
- Navigate to the “Split Component” page.
- Locate the “Choose target” section.
- Select a target component from the table.
- Click on the “Next” button.
- Expected Result: The selected target component is chosen, and the page navigates to the “Split data” section.
Split Data Section
Display of Data
- Test Case ID: COMP-SPLT-004
- Description: Verify the display of all data from the Source component on the left and the Target component on the right with a
=>
button in between for releases and attachments. - Steps:
- Navigate to the “Split Component” page.
- Locate the “Split data” section.
- Expected Result: The data from the Source component is displayed on the left, and the Target component data is displayed on the right with a
=>
button in between for releases and attachments.
Data Carry Forward
- Test Case ID: COMP-SPLT-005
- Description: Verify that the releases and attachments on the right will be carried forward to the Target component.
- Steps:
- Navigate to the “Split Component” page.
- Locate the “Split data” section.
- Expected Result: The releases and attachments on the right are carried forward to the Target component.
- Test Case ID: COMP-SPLT-006
- Description: Verify the action of pressing the
=>
button. - Steps:
- Navigate to the “Split Component” page.
- Locate the “Split data” section.
- Press the
=>
button.
- Expected Result: The action can be undone with the undo button.
Conflict Releases
- Test Case ID: COMP-SPLT-007
- Description: Verify the behavior of releases with the same version.
- Steps:
- Navigate to the “Split Component” page.
- Locate the “Split data” section.
- Press the
=>
button on releases with the same version.
- Expected Result: The undo button is disabled, and a conflict is indicated.
Finalizing Data
- Test Case ID: COMP-SPLT-008
- Description: Verify the process of finalizing data and clicking “Next.”
- Steps:
- Navigate to the “Split Component” page.
- Locate the “Split data” section.
- Finalize the data.
- Click on the “Next” button.
- Expected Result: The page navigates to the “Confirm” section.
Going Back
- Test Case ID: COMP-SPLT-009
- Description: Verify the ability to click “Back” to go to the “Split data” section.
- Steps:
- Navigate to the “Split Component” page.
- Locate the “Split data” section.
- Click on the “Next” button to go to the “Confirm” section.
- Click on the “Back” button.
- Expected Result: The page navigates back to the “Split data” section.
Confirm Section
Display of Data
- Test Case ID: COMP-SPLT-010
- Description: Verify that the data in the “Confirm” section is similar to the “Split data” section without the buttons.
- Steps:
- Navigate to the “Split Component” page.
- Locate the “Confirm” section.
- Expected Result: The data is displayed similarly to the “Split data” section without the buttons.
Submitting the Split
- Test Case ID: COMP-SPLT-011
- Description: Verify the process of clicking “Finalize” to submit the split.
- Steps:
- Navigate to the “Split Component” page.
- Locate the “Confirm” section.
- Click on the “Finalize” button.
- Expected Result: The split is submitted, and the user lands on the Component Details page of the Source component.
Going Back from Confirm Section
- Test Case ID: COMP-SPLT-012
- Description: Verify the ability to click “Back” to go to the “Split data” section from the “Confirm” section.
- Steps:
- Navigate to the “Split Component” page.
- Locate the “Confirm” section.
- Click on the “Back” button.
- Expected Result: The page navigates back to the “Split data” section.