diff --git a/content/en/docs/Development/TestCases/Test-Cases-Components.md b/content/en/docs/Development/TestCases/Test-Cases-Components.md index 454540d..d88ce2e 100644 --- a/content/en/docs/Development/TestCases/Test-Cases-Components.md +++ b/content/en/docs/Development/TestCases/Test-Cases-Components.md @@ -4,169 +4,199 @@ linkTitle: "Component / Release" weight: 10 --- -## Add a component and release with vendor present +## TC01: Add a component and release with vendor present Step | Action | Result ---:|:-----|:---- 1 | Sign In with a known user | User successfully signed in and _Home_ page is displayed -2 | Click on _Components_ tab | _Components_ page is displayed -3 | Click _Add Component_ | _New Component_ page is displayed with mandatory fields marked with red star -4 | Fill in a component _Name_ and _Categories_ and click _Add Component_ | The page remain the same and the message _You are editing the original document._ is displayed -5 | Click _Add Release_ | The page changes to _New Release Edit_ page -6 | Fill in a release _Version_ and _CPE ID_ | Values are entered in the fields -7 | Click _Add Release_ | The page remain the same and the message _You are editing the original document._ is displayed -8 | Click _Vendor_ field | _Search Vendor_ dialog is displayed -9 | _Search_ for a Vendor, select it and click _Select_ | Dialog is closed and selected Vendor is added under _Vendor_ field -10 | Click on _Attachments_ link | _Attachments_ page is displayed -11 | Click on _Add Attachment_ | _Upload Attachment_ dialog is displayed -12 | Click _Browse_ and select the attachment | File name is displayed in the dialog -13 | Click _Upload_ button | The file is uploaded and dialog is closed. Also the attached file is listed in the _Attachment_ page -14 | Change the _Attachment type_ to real type, e.g. _Source file_ if it is a source file | Type changed successfully -15 | Click _Update Release_ | _Release updated successfully!_ message is displayed -16 | Click on _Components_ tab | The new component should be added to the components list (e.g. filter by _Keyword Search_) - -## Modify a component and release with vendor present +2 | Click _Components_ tab | _Components_ page is displayed +3 | Click _Add Component_ button | - _New Component_ page is displayed with mandatory fields marked with red star: Name, Categories, Component Type.
- A message _Success:New Component_ is displayed +4 | Fill in a component _Name_, _Categories_ and _Component Type_ fields.
_Eg:_
- Name: Component 1@1
- Categories: Categories_1@1
- Component Type: OSS | Values are entered in the fields +5 | Click _Create Component_ button | - Create component successfully.
- Redirect to the edit component page.
-Show message: _Success:You are editing the original document._ +6 | Click _Releases_ tab
Click _Add Release_ button | Redirect to Add Release page +7 | Fill in a release _Version_ and _CPE ID_
_Eg:_
- Version: version1.0.0.x
- CPE ID: UUID_1002 | Values are entered in the fields:
- Version: version1.0.0.x
- CPE ID: UUID_1002 +8 | Click _Create Release_ button | - Create a release successfully.
- Redirect to the edit new release page.
- The message _Success:You are editing the original document._ is displayed +9 | Click _Vendor_ field | _Search Vendor_ dialog is displayed +10 | Click _Add Vendor_ button | _Create new Vendor_ dialog display +11 | Input data in fields
- Full Name: add vendor 01
-Short Name: add vendor01
-URL: https://github.com/eclipse-sw360/sw360 | Values are entered in the fields. +12 | Click _Add Vendor_ button | The vendor is added in Vendor field of the release with full name is _add vendor 01_ +13 | Click _Attachments_ tab | _Attachments_ page is displayed +14 | Click _Add Attachment_ button | _Upload Attachment_ dialog is displayed +15 | Click _Browse_ and select the attachment.
Eg: attachment1.xlsx | File name is displayed in the dialog +16 | Click _Upload_ button | The file is uploaded and dialog is closed. Also the attached file is listed in the _Attachment_ page +17 | Change the attachment _Type_ to real type.
Eg: Component license information (Combined) | Type changed successfully +18 | Click _Update Release_ button | Message: _Success:Release {name} ({version}) updated successfully!_ is displayed + +## TC02: Verify data after add a component and release with vendor present Step | Action | Result ---:|:-----|:---- -1 | Search for an existing component (e.g. created in TC01) and click _Edit_ | _You are editing the original document_ message is displayed -2 | Execute steps 5-16 from TC01 +1 | Search for the component is created in TC01:
- Click _Components_ portlet
- At Advanced Search area, input _Component 1@1_ in the _Component Name_ textbox.
- Click _Search_ button | The new component display in the table with:
- Vendor: add vendor01
- Component Name: _Component 1@1_ is displayed with hyper link.
- Main licenses: blank
- Component Type: OSS +2 | Click hyper link of name _Component 1@1_ | Redirect to view component _Component 1@1_ page +3 | Click _Release Overview_ tab | The release display with:
- Name: Component 1@1
- Version displays with hyper link: version1.0.0.x
- Clearing State: New
- Clearing Report: no report
- Release Mainline State: Open +4 | Click hyper link _version1.0.0.x_ | Redirect to view screen of release _Component 1@1 version1.0.0.x_
Data of the release:
- Summary tab:
+ display text with: COMPONENT 1@1 VERSION1.0.0.X
+ CPE ID: UUID_1002
+ Created on: date of created.
+ Created by: user created.
+ Modified On: date of modified.
+ Modified By: user modified.
+ Clearing State: New
+ Release Mainline State: Open
+ Release Vendor with:
  Full Name: add vendor 01
  Short Name: add vendor01
  URL: https://github.com/eclipse-sw360/sw360 +5 | Click _Attachments_ tab | Display file name _attachment1.xlsx_ in the table. -## Add and modify a component and release with all fields filled in +## TC03: Modify a component and release with vendor present Step | Action | Result ---:|:-----|:---- -1 | Click on _Components_ tab | _Components_ page is displayed -2 | Click _Add Component_ | _New Component_ page is displayed with mandatory fields marked with red star -3 | Fill in all editable fields under _Basic Information_ | Values are entered in the fields -4 | Click _Add Component_ | The page remain the same and the message _You are editing the original document._ is displayed -5 | Click _Add Release_ | The page changes to _New Release Edit_ page -6 | Fill in all editable fields under _Release Summary_ and _Release Repository_ | Values are entered in the fields -7 | Click _Add Release_ | The page remain the same and the message _You are editing the original document._ is displayed -8 | Click on _Linked Releases_ link | _Linked Releases_ page displayed successfully -9 | _Click to add Releases_ | _Search Release_ dialog is displayed -10 | Click _Search by name_ and _Select_ a release to be added | Dialog is closed and selected release is displayed under _Linked Releases_ section -11 | Click on _Clearing Details_ link | _Clearing Details_ dialog is displayed -12 | Fill in all editable fields | Values are entered in the fields -13 | Click on _Attachments_ link and upload a file | File attached successfully -14 | Click _Update Release_ | _Release updated successfully!_ message is displayed -15 | Check all fields of the release under _Summary_, _Linked Releases_, _Clearing Details_ and _Attachments_ | Values are filled in correctly -16 | Click _Edit_ button, modify some fields and _Update Release_ | Values are updated successfully - -## Delete a component that is first linked to a project and then not, and a project +1 | Search for an existing component (e.g. created in TC01: _Component 1@1_) and click _Edit_ icon | _Success:You are editing the original document_ message is displayed +2 | Click _Releases_ tab | Release list is displayed +3 | Click _Add Release_ button | Redirect to Add Release page +4 | Fill in a release _Version_ and _CPE ID_
_Eg:_
- Version: v1.0.0.1
- CPE ID: cpe:id:123456 | Values are entered in the fields:
- Version: v1.0.0.1
- CPE ID: cpe:id:123456 +5 | Click _Create Release_ button | - Redirect to the edit new release page.
- The message _Success:You are editing the original document._ is displayed +6 | Click _Vendor_ field | _Search Vendor_ dialog is displayed +7 | Click _Search_ button.
Select a vendor (eg: select vendor with full name _VendorUp_)
Click _Select Vendor_ button. | Dialog is closed and selected Vendor is added under _Vendor_ field: VendorUp +8 | Click _Attachments_ tab
Click _Add Attachment_ button
Click _Browse_ and select the attachment. Eg: attachment2.img
Click _Upload_ button | The file is uploaded and dialog is closed. Also the attached file is listed in the Attachment page +9 | Click _Update Release_ button | Message _Success:Release Component 1@1 (v1.0.0.1) updated successfully!_ is displayed + +## TC04: Verify data after modify a component and release with vendor present Step | Action | Result ---:|:-----|:---- -1 | Create a new component | Component is created successfully -2 | Add a new release to this component | Release is added successfully -3 | Create a new project | Project is created successfully -4 | Add the linked release created above to this project | Release linked successfully -5 | Go to components, try to delete the newly created component (that is linked to a project) | Message _I could not delete the component!_ is displayed. -6 | Click _OK_ | Component is not deleted -7 | Go to Projects, delete the newly created project | Project is deleted successfully -8 | Go to components, delete the newly created components (not linked anymore to a project) | Message _Do you want to delete component?_ is displayed -9 | Click _OK_ | Component is deleted successfully - -## Add new attachments to an existing release and delete attachments +1 | Continue TC03 | +2 | Click _Summary_ tab | Data in the tab:
- Modified On: date of modified.
- Modified By: user modified.
Data of other fields in the tab is same data before updated. +3 | Click _Release Overview_ tab | New release with version _v1.0.0.1_ is added in the release table. +4 | Click _v1.0.0.1_ hyper link | Text display with: _COMPONENT 1@1 V1.0.0.1_ at the right corner.
- At Summary tab:
+ CPE ID: cpe:id:123456
+ Release Vendor: display with Full Name, Short Name and URL correctly with vendor _VendorUp_
- At Attachments tab: attachment _attachment2.img_ display in the attachment table with correct information. +5 | Click _Component 1@1_ hyper link | Redirect to view screen of _Component 1@1_ component. +6 | Click _Attachments_ tab | Data in the tab is same data before updated. +7 | Click _Vulnerabilities_ tab | Data in the tab is same data before updated. + +## TC05: Add and modify a component and release with all fields filled in + +Step | Action | Result +---:|:-----|:---- +1 | Click _Components_ tab
Click _Add Component_ button
Fill in all editable fields
Click _Create Component_ button | - Redirect to edit component screen with the message _Success:You are editing the original document._ is displayed in the left corner.
- Create component successfully. Data match with input data. +2 | Click _Releases_ tab.
Click _Add Releases_ button.
At _Summary_ tab, fill in all editable fields under _Release Summary_ and _Release Repository_.
Click _Create Release_ button.
| Redirect to edit release screen.
Created release successfully. Data match with input data. +3 | Click _Linked Releases_ tab
Click _Click to add Releases_ button | The dialog _Link Releases_ is displayed. +4 | Input search name into textbox
Click _Search_ button
Select 3 releases.
Click _Link Releases_ button | Dialog is closed and selected release is displayed under _Linked Releases_ section. +5 | Click _Linked Packages_ tab
Click _Add Packages_ button | The dialog _Link Packages_ is displayed. +6 | Input an exist orphan package name into textbox.
Click _Search_ button.
Select a package.
Click _Link Packages_ button. | Dialog is closed and selected package is displayed under _Linked Packages_ table +7 | Click _Clearing Details_ tab
Fill in all editable fields | Values are entered in the fields +8 | Click _ECC Details_ tab
Fill in all editable fields | Values are entered in the fields +9 | Click _Attachments_ tab
Click _Add Attachment_ button
Click _Browse_ and select the attachment. _Eg_: attachment3.xlsx
Click _Upload_ button | The file is uploaded and dialog is closed. Also the attached file is listed in the Attachment page +10 | Click _Update Release_ button | - _Success:Release {componentName} ({version}) updated successfully!_ message is displayed.
- Redirect to the view release screen. +11 | Check all fields of the release by click tabs: _Summary, Linked Releases, Linked Packages, Clearing Details and Attachments_. | Values are filled in correctly, match with input data. +12 | Click _Edit Release_ button, modify some fields.
Eg:
- _Version_ field ( in _Summary_ tab): rename version name_updated
- _ECC Status_ field (in _ECC Details_ tab): Approved.
Click _Update Release_ button. | Values are updated successfully + +## TC06: Delete a component that is first linked to a project and then not, and a project + +Step | Action | Result +---:|:-----|:---- +1 | Create a new component
_Eg:_ component with name _Component @1234_ | Component is created successfully +2 | Add a new release to this component
_Eg:_ release _Rel1_ | Release is added successfully +3 | Create a new project _P1_ | Project is created successfully +4 | Add the linked release _Rel1_ to project _P1_. | Release linked successfully +5 | Click _Components_ portlet.
Search component _Component @1234_ by name at advanced search. | Component _Component @1234_ display on the result table. +6 | Click delete icon of component _Component @1234_ | A warning _The component Component @1234 cannot be deleted, since it contains 1 releases. Please delete the releases first._ +7 | Click _OK_ button in the warning dialog. | The dialog is closed, component is not deleted +8 | Click _Components_ portlet.
Search for the component _Component @1234_ and click hyper link of component _Component @1234_. | View screen of _Component @1234_ component is display +9 | Click _Release_ Overview.
Click Delete icon button of release _Rel1_.
Click _Delete Release_ button in the dialog. | - Dialog _Delete Releases_ is displayed.
- Delete the release is failure.
- The message: _I could not delete the release, since it is used by another component (release) or project_ display. +10 | Go to project _P1_, delete project _P1_. | The project is deleted successfully +11 | Go to component _Component @1234_, at _Release Overview_ tab, click Delete icon button of release _Rel1_. | Show message: _Do you really want to delete the release {componentName} ({version}) ?_ +12 | Click _Delete Release_ button | Release is deleted successfully +13 | Click _Edit Component_ button.
Click _Delete Component_ button. | The dialog is displayed with message: _Do you really want to delete the component {componentName} ?_ +14 | Click _Delete Component_ button | Component is deleted successfully + +## TC07: Add new attachments to an existing release and delete attachments Step | Action | Result ---:|:-----|:---- -1 | Search for an existing component (e.g. created in TC01) and click _Release Overview_ | The list of releases are displayed -2 | Click on release version that needs a new attachment | _Release Summary: name_ page is displayed for the selected release -3 | Click on _Edit_ | _You are editing the original document._ message is displayed -4 | Click on _Attachments_ link | _Attachments_ page is displayed -5 | Click on _Add Attachment_ | _Upload Attachment_ dialog is displayed -6 | Click _Browse_ and select several attachments | File names are displayed in the dialog -7 | Click _Cancel_ near some files not to be added | File names are removed from the list -8 | Click _Upload_ button for the remaining files | The files are uploaded and dialog is closed. Also the attached file are listed in the _Attachment_ page -9 | Change some _Attachment type_ to real type, e.g. _Source file_ if it is a source file | Type changed successfully -10 | Click _Update Release_ | _Release updated successfully!_ message is displayed -11 | Click on _Edit_ | _You are editing the original document._ message is displayed -12 | Click on _Attachments_ link | _Attachments_ page is displayed -13 | Click on _Delete_ icon to delete an attachment | Message _Do you really want to delete this attachment?_ is displayed -14 | Click _OK_ | Attachment is deleted successfully -15 | Click _Update Release_ | _Release updated successfully!_ message is displayed - -## Duplicate an existing release +1 | Search for an existing component (e.g. created in TC01) and click _Release Overview_ tab | The list of releases are displayed +2 | Click edit icon in the Action column of release version that needs a new attachment. _Eg:_ release _Rel1_. | Edit release _Rel1_ page is displayed. +3 | Click _Attachments_ tab
Click _Add Attachment_ button
Click _Browse_ and select several attachments.
_Eg:_ 5 attachment files (att1, att2, att3, att4, att5) | File names are displayed in the dialog +4 | Click _Delete_ button near some files not to be added.
_Eg:_ delete 2 attachment files (att1, att3) | File names are removed from the list +5 | Click _Upload_ button for the remaining files. | The attached file are listed in the _Attachment_ page: att2, att4, att5 +6 | Change some _Attachment type_ to real type, e.g. _source file, clearing report, CLI,..._ | Type changed successfully +7 | Click _Update Release_ button | Release _Ree1_ is updated correctly. +8 | Click _Edit Release_ button | _Success:You are editing the original document._ message is displayed +9 | Click _Attachments_ tab | _Attachments_ page is displayed +10 | Click delete icon to delete an attachment | Show message: _Do you really want to delete attachment {attachmentName}({attachmentId})?_ +11 | Click _Delete Attachment button_ | Attachment is deleted successfully, data of attachment is removed from attachment table. +12 | Click _Update Release_ button | Release Ree1 is updated correctly with message _Success: Release {componentName}({version}) updated successfully!_ + +## TC08: Duplicate an existing release Step | Action | Result ---:|:-----|:---- -1 | Search for an existing component with release with all fields filled in (e.g. created in TC03) and click _Release Overview_ | The list of releases are displayed -2 | Click _Duplicate_ button under Action column | The page changes to _Release name Edit_ -3 | Check all fields from copied release | All fields from _Release Summary_ and _Repository_ are unchanged -4 | Change the _Version_ field to a new one, fill in a _CPE ID_ and click _Add Release_ | _You are editing the original document._ message is displayed. -5 | Modify some other fields, e.g. _Release Date_ and click _Clearing Details_ | _Clearing Details_ page is displayed and does not contain any field from copied release -6 | Click _Update Release_ | _Release Component updated successfully!_ message is displayed -7 | Click on component name link on top of the page | Summary page for the component is displayed -8 | Click on _Release Overview | The new copied release is listed among previous releases +1 | Search for an existing component with release with all fields filled in (Eg: created in TC05) and click _Release Overview_ | The list of releases are displayed +2 | Click _Duplicate_ button under Action column | The page changes to create duplicate release screen +3 | Check all fields from copied release | - _Summary_ tab:
+ _CPE ID_ field: blank
+ Remain fields are unchanged (exclude disable fields).
- _Linked Releases_ tab: there is no linked release. +4 | Change the _Version_ field and fill in a _CPE ID_.
_Eg:_  Version: ver_duplicate
CPE ID: CPE ID_duplicate
Click _Create Release_ button | - Redirect to edit release screen.
- Create duplicate release is success with message: _Success:You are editing the original document._
- Data of duplicate release is correct. +5 | Modify some other fields.
_Eg:_ Release Date: 2023-06-12.
Click _Clearing Details_ tab | _Clearing Details_ page is displayed and does not contain any field from copied release +6 | Click _Update Release_ button | The release is updated successfully with data correctly +7 | Click component name link on top of the page | Summary page for the component is displayed +8 | Click _Release Overview_ tab | The new copied release is listed among previous releases -## Search for and create a new vendor for a new release +## TC09: Search for and create a new vendor for a new release Step | Action | Result ---:|:-----|:---- -1 | Search for an existing component and click _Edit_ | _You are editing the original document_ message is displayed -2 | Click _Add Release_ | The page changes to _New Release Edit_ page -3 | Fill in a release _Version_ and _CPE ID_ | Values are entered in the fields -4 | Click _Vendor_ field | _Search Vendor_ dialog is displayed -5 | Click _Add New Vendor_ | _Create New Vendor_ dialog is displayed -6 | Fill in _Full name_, _Short name_ and _URL_ | Values are entered in the fields -7 | Click _Add Vendor_ | Dialog closes and the new vendor is displayed in release _Vendor_ field -8 | Click _Add Release_ | The page remain the same and the message _You are editing the original document._ is displayed -9 | Click on component name link on top of the page | Summary page for the component is displayed. The new vendor for the new release, as well as existing vendors from previous releases are listed under _Vendors_ field for the component - -## Link a release to the project in view component page and check used by projects +1 | Click _Components_ portlet
At advanced Search, search for an existing component.
_Eg:_ input _Comp1_ in the Component Name text box.
Click _Search_ button. | Component _Comp1_ display in the result table. +2 | Click edit icon in Actions column of component _Comp1_. | Edit screen of component _Comp1_ is displayed with message: _Success:You are editing the original document_ +3 | Click _Releases_ tab
Click _Add Releases_ button | The page changes to _New Release Edit_ page +4 | Fill in a release _Version_ and _CPE ID_
_Eg:_
+ Version: @1.0.2
+ CPE ID: moshiano_002 | Values are entered in the fields +5 | Click _Vendor_ field | _Search Vendor_ dialog is displayed +6 | Click _Add Vendor_ | _Create New Vendor_ dialog is displayed +7 | Fill in _Full name_, _Short name_ and _URL_
_Eg:_
Full Name: Fullvendor_0909
Short Name: Short_ven090
URL: https://github.com/ | Values are entered in the fields +8 | Click _Add Vendor_ | Dialog closes and the new vendor is displayed in release _Vendor_ field with full name _Fullvendor_0909_ +9 | Click _Create Release_ | Redirect to edit release page with the message _Success:You are editing the original document._ is displayed +10 | Click component name link on top of the page | Summary page for the component is displayed. The new vendor for the new release, as well as existing vendors from previous releases are listed under _Vendors_ field for the component + +## TC10: Link a release to the project in view component page and check used by projects Step | Action | Result ---:|:-----|:---- 1 | Search for an existing component with release and click _Release Overview_ tab | The list of releases are displayed 2 | Click _Link Project_ button under Action column | The dialog _Link Release to Project_ is displayed with _Link to Project_ button is disabled -3 | Click on _Search_ button then choose a project to link | _Link to Project_ button on the dialog is enabled -4 | Click on __Link to Project_ button | _The release {component name} ({version}) has been successfully linked to project {project name}_
_Click here_ _to edit the release relation as well as the project mainline state in the project._ message is displayed -5 | Click on _here_ hyperlink in the dialog | Redirect to the _edit project_ page with the release was linked (displayed on _License Clearing_ page) -6 | Re-open the release at view page and click on _Summary_ tab | Used by project information is updated correspondingly +3 | Click _Search_ button then choose a project to link | _Link to Project_ button on the dialog is enabled +4 | Click _Link to Project_ button | _The release {component name} ({version}) has been successfully linked to project {project name}_
_Click here_ _to edit the release relation as well as the project mainline state in the project._ message is displayed +5 | Click _here_ hyperlink in the dialog | Redirect to the _edit project_ page with the release was linked (displayed on _License Clearing_ page) +6 | Re-open the release at view page and click _Summary_ tab | Used by project information is updated correspondingly -## Link a release to a project in the view release page +## TC11: Link a release to a project in the view release page Step | Action | Result ---:|:-----|:---- 1 | Search for an existing component with release and click _Release Overview_ tab | The list of releases are displayed -2 | Click on _a release name_ hyperlink. Eg: release R1 | Redirect to the _view release_ page -3 | Click on _Link to Project_ button | The dialog _Link Release to Project_ is displayed with _Link to Project_ button is disabled -4 | Click on _Search_ button then choose a project to link | _Link to Project_ button on the dialog is enabled -5 | Click on __Link to Project_ button | _The release {component name} ({version}) has been successfully linked to project {project name}_
_Click here_ _to edit the release relation as well as the project mainline state in the project._ message is displayed -6 | Click on _here_ hyperlink in the dialog | Redirect to the _edit project_ page with the release was linked (displayed on _License Clearing_ page) +2 | Click _a release name_ hyperlink. Eg: release R1 | Redirect to the _view release_ page +3 | Click _Link to Project_ button | The dialog _Link Release to Project_ is displayed with _Link to Project_ button is disabled +4 | Click _Search_ button then choose a project to link | _Link to Project_ button on the dialog is enabled +5 | Click _Link to Project_ button | _The release {component name} ({version}) has been successfully linked to project {project name}_
_Click here_ _to edit the release relation as well as the project mainline state in the project._ message is displayed +6 | Click _here_ hyperlink in the dialog | Redirect to the _edit project_ page with the release was linked (displayed on _License Clearing_ page) -## Import a new component by .spdx/.xml/ .rdf file +## TC12: Import a new component by .spdx/.xml/ .rdf file Step | Action | Result ---:|:-----|:---- -1 | Click on _Components_ tab | _Components_ page is displayed -2 | Click on _Import SBOM_ button | A dialog _Upload SBOM_ is displayed +1 | Click _Components_ tab | _Components_ page is displayed +2 | Click _Import SBOM_ button | A dialog _Upload SBOM_ is displayed 3 | Choose a **_.spdx_** or **_.xml_** or **_.rdf_** file by clicking on the _Browse_ button or drop/draft a file into the dialog | The message is displayed in the dialog:
_The new Component and new Release will be created, do you want to import?
New Component: {new component names}
New Release: {new release names}_ -4 | Click on _Import_ button | The dialog is closed. New releases and new components are imported successfully +4 | Click _Import_ button | The dialog is closed. New releases and new components are imported successfully -## Export components without releases +## TC13: Export components without releases Step | Action | Result ---:|:-----|:---- -1 | Click on _Components_ tab | _Components_ page is displayed -2 | Click on _Export Spreadsheet_ button and choose _Components only_ option | A new file with name's format _components-{yyyy}-{mm}-{dd}.xlsx_ is downloaded
The content of the downloaded file includes information of all components in the system +1 | Click _Components_ tab | _Components_ page is displayed +2 | Click _Export Spreadsheet_ button and choose _Components only_ option | - A new file with name's format _components-{yyyy}-{mm}-{dd}.xlsx_ is downloaded
- The content of the downloaded file includes information of all components in the system -## Export components with releases +## TC14: Export components with releases Step | Action | Result ---:|:-----|:---- -1 | Click on _Components_ tab | _Components_ page is displayed -2 | Click on _Export Spreadsheet_ button and choose _Components with releases_ option | New file with name _components-{yyyy}-{mm}-{dd}.xlsx_ is downloaded.
The content of the downloaded file includes information of all components and releases in the system +1 | Click _Components_ tab | _Components_ page is displayed +2 | Click _Export Spreadsheet_ button and choose _Components with releases_ option | - New file with name _components-{yyyy}-{mm}-{dd}.xlsx_ is downloaded.
- The content of the downloaded file includes information of all components and releases in the system -## Create a clearing request for a release +## TC15: Create a clearing request for a release Step | Action | Result ---:|:-----|:---- 1 | Search for an existing component with releases and click _Release Overview_ tab | The list of releases are displayed 2 | Click _Edit_ button under _Action_ column. Eg: edit release R1 | Redirect to _view release_ page and the message _Success:You are editing the original document._ is displayed -3 | Click on _Attachments_ tab, then add a source file (Eg: .rdf file) with _Type_ is _Source file_ | The data is updated correspondingly -4 | Click on _Update Release_ button | The message _Success:Release {release name} updated successfully!_ is displayed -5 | Click on _Clearing details_ tab, then click on _Possology Process_ icon beside _Clearing State_ field and wait for the process to finish | The message _The FOSSology process already finished. You should find the resulting report as attachment at this release._ is displayed in the _Fossology Process_ dialog -6 | Click on _Close_ button in the dialog | The dialog is closed -7 | Reload this page, then click on _Attachments_ tab | A new file is listed in _Attachments_ page with name's format _{component name}-{version}-{yyyymmdd}-{hhmm}-SPDX.rdf_ +3 | Click _Attachments_ tab, then add a source file (Eg: .rdf file) with _Type_ is _Source file_ | The data is updated correspondingly +4 | Click _Update Release_ button | The message _Success:Release {release name} updated successfully!_ is displayed +5 | Click _Clearing details_ tab, then click _Fossology Process_ icon beside _Clearing State_ field and wait for the process to finish | The message _The FOSSology process already finished. You should find the resulting report as attachment at this release._ is displayed in the _Fossology Process_ dialog +6 | Click _Close_ button in the dialog | The dialog is closed +7 | Reload this page, then click _Attachments_ tab | A new file is listed in _Attachments_ page with name's format _{component name}-{version}-{yyyymmdd}-{hhmm}-SPDX.rdf_ \ No newline at end of file