451
edits
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
LEGEND:<br> | |||
<font color="Black">Black</font> = Done<br> | |||
<font color="Red">Red</font> = Pending<br> | |||
<font color="Blue">Blue</font> = Blocker<br> | |||
Following are the test cases for the Add-on builder. <br> | |||
*Home Page: | *Home Page: | ||
**Automated: | **Automated: | ||
| Line 21: | Line 25: | ||
***When in View mode, the add-on editor should have four buttons: "Test", "Download", "Copy", "Revision".(done) | ***When in View mode, the add-on editor should have four buttons: "Test", "Download", "Copy", "Revision".(done) | ||
***When in Edit mode, the library editor should have "Save" and "Revision" buttons.(done) | ***When in Edit mode, the library editor should have "Save" and "Revision" buttons.(done) | ||
***When in View mode, the library editor should have "Copy" and "Revision" buttons.(done)<font color="Red"></font> <br> | ***When in View mode, the library editor should have "Copy" and "Revision" buttons.(done)<font color="Red"></font> <br> | ||
***Clicking on Copy button should create a fresh new package with the copied contents from the original package.(done) | ***Clicking on Copy button should create a fresh new package with the copied contents from the original package.(done) | ||
***The revision should change when the user adds/removes modules (done)The total number of modules added should be displayed in the modules section (done) <br> | ***The revision should change when the user adds/removes modules (done)The total number of modules added should be displayed in the modules section (done) <br> | ||
***The "Revision" button should display all the revisions that have been recorded for that add-on.(done) | ***The "Revision" button should display all the revisions that have been recorded for that add-on.(done) | ||
***<font color="Red">The information of the current add-on can be edited by clicking on the add-on name. (Note:You should be in the edit mode for this to work.)</font> | ***<font color="Red">The information of the current add-on can be edited by clicking on the add-on name. (Note:You should be in the edit mode for this to work.)</font> | ||
***<font color="Red">You should *NOT* be able to change the information of the add-on in view source mode.</font> | ***<font color="Red">You should *NOT* be able to change the information of the add-on in view source mode.</font> | ||
***<font color="Red">A new revision should be generated when the user saves after making changes to the existing addon code.</font> | ***<font color="Red">A new revision should be generated when the user saves after making changes to the existing addon code.</font> | ||
***<font color="Red">The code for the add-on/library should be saved when the save button is pressed.</font><br> | ***<font color="Red">The code for the add-on/library should be saved when the save button is pressed.</font><br> | ||
***<font color="Red">The user should be able to add modules and <font color="Blue">libraries</font></font> | ***<font color="Red">The user should be able to add modules and <font color="Blue">libraries</font></font> | ||
***<font color="Blue">The SDK version to be used for the current add-on can be changed from the libraries section.</font> | ***<font color="Blue">The SDK version to be used for the current add-on can be changed from the libraries section.</font> | ||
| Line 44: | Line 48: | ||
***The add-ons on this page should be tagged "initial"(default) for a newly saved packages.(done) | ***The add-ons on this page should be tagged "initial"(default) for a newly saved packages.(done) | ||
***It should be tagged "copy" for copied new packages.(done) | ***It should be tagged "copy" for copied new packages.(done) | ||
***The page should also show the count of the number of add-ons that you have created.(done)<font color="Red"></font> <br> | ***The page should also show the count of the number of add-ons that you have created.(done)<font color="Red"></font> <br> | ||
***When clicking on the "Your Add-ons"/"Your Libraries" link, add-ons/libraries should be shown in a pagination manner if there are more than 10 add-ons for the user.(done) | ***When clicking on the "Your Add-ons"/"Your Libraries" link, add-ons/libraries should be shown in a pagination manner if there are more than 10 add-ons for the user.(done) | ||
***In "Your Latest Add-ons" section, each add-on must have "Test", "View Source", "Edit" and "Disable" buttons.(done) | ***In "Your Latest Add-ons" section, each add-on must have "Test", "View Source", "Edit" and "Disable" buttons.(done) | ||
***In "Your Latest Libraries" section, each library should have "View Source", "Edit" and "Disable" buttons.(done) | ***In "Your Latest Libraries" section, each library should have "View Source", "Edit" and "Disable" buttons.(done) | ||
***This page should show you the total count of the number of add-ons and the number of libraries that you have created.(done) | ***This page should show you the total count of the number of add-ons and the number of libraries that you have created.(done) | ||
***All the links present on this page should be working and should be redirected to their specific location.< | ***<font color="Red">All the links present on this page should be working and should be redirected to their specific location.</font> | ||
***<font color="Blue">Clicking on the Disable button should give notification and hide the add-on/library. This action can be undone by clicking "undo" in the notification. (This is going to change in future, because right now there is no way to get back an add-on if you want to enable it after the notification is gone)</font> | ***<font color="Blue">Clicking on the Disable button should give notification and hide the add-on/library. This action can be undone by clicking "undo" in the notification. (This is going to change in future, because right now there is no way to get back an add-on if you want to enable it after the notification is gone)</font> | ||
| Line 57: | Line 61: | ||
*Library editor page: | *Library editor page: | ||
**Automated: | **Automated: | ||
***<font color="Red"></font>The library should be saved through the "Save" button. (done in home page) <br> | ***<font color="Red"></font>The library should be saved through the "Save" button. (done in home page) <br> | ||
***<font color="Red">Modules and libraries should be allowed to be added to the current library.</font> | ***<font color="Red">Modules and libraries should be allowed to be added to the current library.</font> | ||
***<font color="Red">Library information should be editable when clicked on the library name on that page(Note: This can be done only when the user is in edit mode)</font><br> | ***<font color="Red">Library information should be editable when clicked on the library name on that page(Note: This can be done only when the user is in edit mode)</font><br> | ||
***<font color="Red">The revision should be generated through the revision button.</font> | ***<font color="Red">The revision should be generated through the revision button.</font> | ||
***<font color="Blue">The libraries created by the user should be reflected in the libraries section when the user is writing the code for an add-on.</font> | ***<font color="Blue">The libraries created by the user should be reflected in the libraries section when the user is writing the code for an add-on.</font> | ||
edits