Projects

Add a simple project with no relations and no releases

StepActionResult
1Sign In with a known userUser successfully signed in and Home page is displayed
2Click on Projects tabProjects page is displayed
3Click Add ProjectNew Project page is displayed with mandatory fields marked with red star
4Fill mandatory Name with a project name, change other fields if neededValues are entered in the fields
5Click Add ProjectThe page remain the same and the message You are editing the original document. is displayed
6Click Cancel buttonNew project Summary page is displayed
7Click on Projects tabThe new project should be added to the projects list

Add a full project with relations, releases and send to clearing process

StepActionResult
1Click on Projects tabProjects page is displayed
2Click Add ProjectNew Project page is displayed with mandatory fields marked with red star
3Fill mandatory Name with a project name, change other fields if neededValues are entered in the fields
4Click Click to add linked ProjectsSearch Project dialog is displayed
5Click 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
6Click Click to add ReleasesSearch Release dialog is displayed
7Click Search by name and Select a release to be addedDialog is closed and selected release is displayed under Linked Releases section
8Click Add ProjectThe page remain the same and the message You are editing the original document. is displayed
9Click Cancel buttonNew project Summary page is displayed
10Click on Projects tabThe new project should be added to the projects list
11Check Clearing Status by hovering mouse over the numbers.The message should be new release, under clearing…
12Send open release to clearing by clicking the button Send to fossology, under Actions columnFossology Clearing dialog is displayed
13Select the release to be sent for clearing and click SendSent message is displayed near the Send to fossology button
14Click on project name and check Summary pageClearing details should have 1 for Under clearing
15Click on Clearing StatusThe “Release Clearing State_ should be Sent to Fossology

Add a project with releases, no relations, remove a release, and send to clearing process

StepActionResult
1-5Same as in TC02
5aClick on Delete icon to delete the linked projectDo you really want to remove the link to this project? message is displayed
5bClick OKThe project is removed from the list of Linked Projects
6Click Click to add ReleasesSearch Release dialog is displayed
7Click Search by name and Select more than one release to be addedDialog is closed and selected releases are displayed under Linked Releases section
7aClick on Delete icon to delete one of the linked releaseDo you really want to remove the link to this release? message is displayed
7bClick OKThe release is removed from the list of Linked Releases
8-15Same as in TC02

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

StepActionResult
1Create a new projectProject is created successfully
2Create another project and add first created one as linked projectProjects are linked successfully
3Go to first created project in the projects table and try to delete itMessage Do you want to delete project name? is displayed
4Click OKMessage The project is used by another project! is displayed
5Click OKProject is not deleted (e.g. refresh the page by clicking Projects tab)
6Go to second created project in the projects table and delete itMessage Do you want to delete project name? is displayed
7Click OKProject is deleted successfully
8Go to first created project in the table (not linked anymore to second project) and delete itProject is deleted successfully

Modify an existing project with relations, releases and send to clearing process

StepActionResult
1Search for a simple project (e.g. created in TC01) and click EditYou are editing the original document message is displayed
2Execute steps 5-16 from TC02

Add and modify a project with all project fields filled in

StepActionResult
1Click on Projects tabProjects page is displayed
2Click Add ProjectNew Project page is displayed with mandatory fields marked with red star
3Fill in all editable fields under Basic Information, User Information and Admin InformationValues are entered in the fields
4Click Add ProjectThe page remain the same and the message You are editing the original document. is displayed
5Click Cancel buttonNew project Summary page is displayed
6Check all fields on Summary pageValues are filled in correctly
7Click Edit button, modify some fields and Update ProjectValues are updated successfully

Duplicate an existing project

StepActionResult
1Search for an existing project with all fields filled in (e.g. created in TC06) and click Duplicate button under Actions columnProject Information page is displayed
2Check all fields from copied projectAll fields are unchanged, including Linked Projects and Linked Releases
3Fill mandatory Name with a project name and click Add ProjectThe page remain the same and the message You are editing the original document. is displayed
4Click Cancel buttonNew project Summary page is displayed
5Check all fieldsAll fields were copied successfully, except the new name of the project