| Step |
Action |
Expected Results |
| 1. |
Open FOSSology UI (http://<server>/repo/) |
FOSSology loads with a "Welcome" message; the text of the page makes sense and doesn't contain typos. |
| 2. |
Select "Home" menu |
The same FOSSology page re-loads successfully. There are still only a limited number of menu options. |
| 3. |
Select "Help" menu |
Several sub-menus appear and are selectable |
| 4. |
Select "Help -> About" menu |
Text explaining FOSSology is displayed, it makes sense, and there are no typos. |
| 5. |
Select "Help -> Documentation" menu |
The page for User Documentation is displayed, it makes sense, and there are no typos. |
| 6. |
Select "Help -> Getting Started" menu |
A page explaining the overview of FOSSology is displayed, it makes sense, and there are no typos. |
| 7. |
Select "Help -> Debug" menu |
Several sub-menus appear and are selectable |
| 8. |
Select "Help -> Debug -> Debug Menus" menu |
A page is displayed explaining the functionality, it makes sense, and there are no typos. There is a button to Enable Full Debugging. |
| 9. |
Select the "Enable" button |
The page is re-displayed and full debugging enabled. A button to Disable Full Debugging is now displayed. |
| 10. |
Select the "Disable" button |
The page is re-displayed and full debugging disabled. A button to Enable Full Debugging is again displayed. |
| 11. |
Select "Help -> Debug -> Global Variables" menu |
A page is displayed with the global variables, it makes sense, and there are no typos. |
| 12. |
Select the login link. Enter your username and password and select the login button. |
The system logs you in and many more menu items now appear. |
| Step |
Action |
Expected Results |
| 1. |
Select "Upload -> Instructions" menu |
A page is displayed with upload instructions, it makes sense, all the links work, and there are no typos. |
| 2. |
Select "Upload -> From File" menu and click upload button |
The page does not do anything since there was nothing entered. |
| 3. |
Click on various checkboxes and click the upload button |
The page does not do anything since there was nothing entered. |
| 4. |
Select the browse button and select a file; click the upload button |
The page is re-loaded and a message indicating your file was uploaded is displayed. Note the upload number. |
| 5. |
Select the browse button and select a different file; select various checkboxes and click the upload button |
The page is re-loaded and a message indicating your file was uploaded is displayed. Note the upload number. |
| 6. |
Select "Upload -> From Server" menu and click upload button |
The page does not do anything since there was nothing entered. |
| 7. |
Click on various checkboxes and click the upload button |
The page does not do anything since there was nothing entered. |
| 8. |
TBD - how do we get something to the server |
The page is re-loaded and a message indicating your file was uploaded is displayed. Note the upload number. |
| 9. |
TBD - do it again |
The page is re-loaded and a message indicating your file was uploaded is displayed. Note the upload number. |
| 10. |
TBD - try different alphabetized options |
|
| 11. |
Select "Upload -> From URL" menu and click upload button |
The page does not do anything since there was nothing entered. |
| 12. |
Enter a bogus url |
A message is displayed indicating the bad url and the page does not do anything. |
| 13. |
Click on various checkboxes and click the upload button |
The page does not do anything since there was nothing entered. |
| 14. |
Enter a valid url and click the upload button |
The page is re-loaded and a message indicating your file was uploaded is displayed. Note the upload number. |
| 15. |
Enter another valid url, enter various optional information, select various checkboxes and click the upload button |
The page is re-loaded and a message indicating your file was uploaded is displayed. Note the upload number. |
| 16. |
Select "Upload -> One-Shot License Analysis" menu and click analyze button |
The page does not do anything since there was nothing entered. |
| 17. |
Select the browse button and select a file; click the analyze button |
The page is re-loaded and a message indicating your file was analyzed is displayed. The license(s) found in the file is displayed. |
| 18. |
Select the browse button and select a different file; click the analyze button |
The page is re-loaded and a message indicating your file was analyzed is displayed. The license(s) found in the file is displayed. |
| 19. |
Select "Upload -> One-Shot Copyright ... Analysis" menu and click analyze button |
The page does not do anything since there was nothing entered. |
| 20. |
Select the browse button and select a file; click the analyze button |
The page is re-loaded and a message indicating your file was analyzed is displayed. The copyright(s), email(s), and URL found in the file are displayed. |
| 21. |
Select the browse button and select a different file; click the analyze button |
The page is re-loaded and a message indicating your file was analyzed is displayed. The copyright(s), email(s), and URL found in the file are displayed. |
How do I check that the uploads actually worked -- the upload # does not seem to correlate to anything?
| Step |
Action |
Expected Results |
| 1. |
click on [Organize]-->[Folders]-->[Create] menu to create one folder 'test_dup' under 'Software Repository' folder, set the folder description as 'test dup description'; click on 'Create!' link |
click on [Browse] menu you shoud see the 'test_dup' folder under 'Software Repository' folder |
| 2. |
click on [Organize]-->[Folders]-->[Create] menu to create one folder 'test_dup' under 'Software Repository' folder, set the folder description as 'test dup description 2nd'; click on 'Create!' link |
you will get one error msng say 'Folder test_dup Exists'; click on [Browse] menu you shoud can not see the 2 'test_dup' folders under 'Software Repository' folder |
| 3. |
click on [Upload]-->[From File] menu to the 'upload from file' page; selec the storing folder as 'test_dup', select one file from local, set the description for this upload as 'dup upload des', set viewable name for this upload as dup_upload'; click on the link 'Upload' |
you will get the notice msg on the top of this page, the msg looks like 'The file upload des has been uploaded. It is upload #upload_id. ' |
| 4. |
check all the jobs for this upload sucessful, how to check you can refer to http://www.fossology.org/projects/fossology/wiki/Cluster_Test_Cases#Cluster-functional-tests |
all the jobs are completed sucessfully |
| 5. |
repleat the step 3(upload the same file, and do the same setting) |
you will get the notice msg on the top of this page, the msg looks like 'The file upload des has been uploaded. It is upload #upload_id_last+1. ' |
| 6. |
repeat step 4 to check if all the jobs are completed sucessfully |
all the jobs are completed sucessfully |
| 7. |
click on menu [Browse] to the Browse page |
you will get 2 duplicate upload under 'test_dup' folder |
| Step |
Action |
Expected Results |
| 0. |
login with fossy/fossy |
you have the permission to add/edit/delete users |
| 1. |
click on [Admin]-->[Users]-->[Add] menu to the 'Add A User' page; enter user name 'user_dup'; Select the user's access levek as 'Read Only' click on the link 'Add User' |
click on the menu [Admin]-->[Users]-->[Edit Users] to the 'Edit A User' page; click on the 'Select the user to edit:' list, you can find the user 'user_dup' there |
| 2. |
logout and login with user 'user_dup' |
you only can view and opereate the menu [Home], [Search], [Browse], [Help] |
| 3. |
logout and login with user 'fossy'; click on he menu [Admin]-->[Users]-->[Edit Users] to the 'Edit A User' page; click on the 'Select the user to edit:' list to select the user 'user_dup, set the Select the user's access level to 'Full Administrator'; click on the link 'update account' |
logout and login with the user 'user_dup'; you have the same permission with the user 'fossy' |
| 4. |
click on [Admin]-->[Users]-->[Add] menu to the 'Add A User' page; enter user name 'user_dup'; Select the user's access levek as 'Read Only' click on the link 'Add User' |
you will get one error msg on the top 'User already exists. Not added.' |
| Step |
Action |
Expected Results |
| 1. |
uload one xx.tar.gz |
how to upload and check if upload sucessfully please refer to http://www.fossology.org/projects/fossology/wiki/Website_sanity_checks#OrgUploadsMenuTest-Deletephp |
| 2. |
on the 'Browse' page, click on the package name |
you can get through this package recursively(if the upload is one file, you can not get throught it) |
| 3. |
on the 'Browse' page, click on the link 'view'under one upload |
you will get the text content of this upload |
| 4. |
on the 'Browse' page, click on the link 'info'under one upload |
you will get the mimetype info/pfile id/Repository ID/etc of this upload |
| 5. |
on the 'Browse' page, click on the link 'Download'under one upload |
will popup one window for you to download |
| 6. |
on the 'Browse' page, click on the link 'History'under one upload |
will go to the job view page of this upload |
| 7. |
on the 'Browse' page, click on the link 'Compare'under one upload |
you can compare this upload with others, how to compare, you can refer to http://www.fossology.org/projects/fossology/wiki/Nomos_diff |
| Step |
Action |
Expected Results |
| 1. |
login with fossy/fossy; click on [Admin]-->[Buckets]-->[Duplicate bucketpool] menu to the 'Duplicate Bucketpool' page, do not do any settings, click on the link 'Update' on the bottom of this page |
the step is correct |
| 2. |
click on [Admin]-->[Users]-->[Account Settings] menu to the 'Edit Your Account Settings' page, enter the password 'fossy', in the 'Duplicate Bucketpool' option list, you should find >=2 bucketpool, please select the fisrt 1, then click no the link 'Update Account' |
|
| 3. |
click on [Upload] menu, select any one upload option, upload one package, do not select any agent analysis, then click on the link 'Upload' |
you should get the upload msg on the top of this page, click the upload # to the 'show jobs' page; all the jobs are completed |
|
| 4. |
click on menu [Jobs]-->[Schedule Agents] to the 'Schedule an Analysis', find out the upload you just uploaded, add the agents in 'Select additional analysis.' list, then click on the link 'Analysis' |
you will get one msg on the top of this page, please click on the link 'View Jobs', will find out 7 jobs(completed) in the 'Show Jobs' page |
| 5. |
click on [Upload] menu, select any one upload option, upload one package, do select all agent analysis, then click on the link 'Upload' |
you should get the upload msg on the top of this page, click the upload # to the 'show jobs' page; all 7 jobs are completed |
| 6. |
click on menu [Jobs]-->[Schedule Agents] to the 'Schedule an Analysis', find out the upload you just uploaded |
there is no agents in 'Select additional analysis.' list |
| 7. |
click on [Admin]-->[Users]-->[Account Settings] menu to the 'Edit Your Account Settings' page, enter the password 'fossy', in the 'Duplicate Bucketpool' option list, you should find >=2 bucketpool, please select the 2nd 1, then click no the link 'Update Account' |
|
| 8. |
click on menu [Jobs]-->[Schedule Agents] to the 'Schedule an Analysis', find out the upload you just uploaded |
you will find only 'Bucket Analysis' agent in 'Select additional analysis.' list |
| 9. |
for this upload, select 'Bucket Analysis' agent for this upload, then click on the link 'Analize!' |
you will get one msg on the top of this page; click on link 'View Jobs' to the 'Show Jobs' page, you will find 2 buckets agent(completed, if not please wait a while) on this upload |
| 10. |
click on the menu [Browse] to the 'Browse' page, click the upload you just upload, then click on the sub-menu [Bucket Browser] to the 'Bucket Browser' page, you can see 2 buckets for this upload. |
| Step |
Action |
Expected Results |
| 1. |
Click on [Organize]-->[Folders]-->[Create] menu to create one Folder 'test_folder', folder description as 'test folder description' |
click on [Browse] menu to go to 'Folder Navigation' page, you should see the one folder 'test_folder' you just created |
| 2. |
click on [Organize]-->[Folders]-->[Edit Properties] menue to go to the 'Edit Folder Properties' page; selet the folder 'test_folder'; change the folder name to 'folder_test' and folder description to 'folder test description'; click on 'Edit!' link on the bottom of this page |
click on [Browse] menu, you will find that the 'test_folder' is changed to 'folder_test'; click on [Organize]-->[Folders]-->[Edit Properties] to go to the 'Edit Folder Properties' page, you will find that the description of 'folder_test' is 'folder test description' |
| 3. |
click on [Organize]-->[Folders]-->[Delete Folder] menu to delete one Folder, selet the folder 'folder_test';click on the link 'Delete!' |
wait for one while; click on [Browse] menu to go to the 'Folder Navigation' page, you will find that the folder 'folder_test' is missing |
| Step |
Action |
Expected Results |
| 1. |
click on [Upload]-->[From URL] menu to go to the page 'upload from URL' |
|
| 2. |
enter the url you want to upload; set the upload name as 'test_file' and set the upload description as 'upload test description', select the upload folder as 'test_folder'; click on the link 'Upload!' on the bottom left |
You will get one upload report on this page, it looks like The upload test_file has been scheduled. It is upload #upload_id(this is a link). |
| 3. |
click on the link #upload_id; |
go to the page 'Show Jobs', wait one while, all the job's status is 'Completed' |
| 4. |
click on the [Organize]-->[Uploads]-->[Edit Properties] menu to go to the 'Edit Uploaded File Properties' page; change the upload name of the upload you just upload to 'test_file_file', and change the upload description of the upload you just upload to 'test upload description'; click on link 'Edit!' |
click on [Browse] menu to go to the 'Browse' page, you will find the upload name and upload description of the upload you just upload are changed. |
| 5. |
click on the [Organize]-->[Uploads]-->[Move] menu to go to the page 'Move upload to different folder' |
you are on the page 'Move upload to different folder', #1179 |
| 6. |
move the upload 'test_file_file' from folder 'test_foler' to folder 'Software Repository'; click on the link 'Move!' |
click on the menu [Browse], you will find that the file 'test_file_file'is moved from 'test_folder' to 'Software Repository' #1185 |
| 7. |
click on the menu [Organize]-->[Uploads]-->[Delete Upload File] to go to the 'Delete Uploaded File' page; select the upload 'test_file_file' to delete |
click on the menu [Browse], you will find 'test_file_file' is missing |