Skip to content
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.

Test Cases: Projects

Adrian V edited this page Sep 20, 2016 · 11 revisions

TC01: Add a simple project with no relations and no components

  1. Sign In with a known user -> User successfully signed in and Home page is displayed
  2. Click on Projects tab -> Projects page is displayed
  3. Click Add Project -> New Project page is displayed with mandatory fields marked with red star
  4. Fill mandatory Name: "Project name", change other fields if needed
  5. Click Add Project -> The page remain the same and the message You are editing the original document. is displayed
  6. Click Cancel button -> New project Summary page is displayed
  7. Click on Projects tab -> The new project should be added to the projects list

TC02: Add a full project with relations, components and send to clearing process

  1. Sign In with a known user -> User successfully signed in and Home page is displayed
  2. Click on Projects tab -> Projects page is displayed
  3. Click Add Project -> "New Project" page is displayed with mandatory fields marked with red star
  4. Fill mandatory Name: "Project name", change other fields if needed
  5. Click "Click to add linked Projects" -> "Search Project" dialog is displayed
  6. Click "Search" and "Select" the project to be linked (e.g. created in TC01) -> Dialog is closed and selected project is displayed under "Linked Projects" section
  7. Click "Click to add Releases" -> "Search Release" dialog is displayed
  8. Click "Search by name" and "Select" a component to be added -> Dialog is closed and selected component is displayed under "Linked Releases" section
  9. Click "Add Project" -> The page remain the same and the message "You are editing the original document." is displayed
  10. Click "Cancel" button -> New project Summary page is displayed
  11. Click on Projects tab -> The new project should be added to the projects list
  12. Check "Clearing Status" by hovering mouse over the numbers. -> The message should be "new release, under clearing..."
  13. Send open release to clearing by clicking the button "Send to fossology", under "Actions" column -> "Fossology Clearing" dialog is displayed
  14. Select the release to be sent for clearing and click Send -> "Sent" message is displayed near the "Send to fossology" button
  15. Wait for clearing process - TBD
  16. Check "Clearing Status" - TBD

TC03: Add a project with components, no relations, remove a component, and send to clearing process TBD

TC04: Delete a project that is first linked to another project and then not linked TBD

TC05: Modify an existing project with relations, components and send to clearing process TBD

TC06: Add and modify a project with all project fields filled in TBD

TC07: Duplicate an existing project