QA/Jetpack/AddonBuilderTestPlan/Testcases: Difference between revisions

Line 32: Line 32:
**When in View mode, the library editor should have "Copy", "Revision", "Properties" buttons.(change)<font color="Red"></font> <br>  
**When in View mode, the library editor should have "Copy", "Revision", "Properties" buttons.(change)<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 user should be able to add/remove modules and <font color="Blue">libraries</font>
**The user should be able to add/remove Lib(modules) and <font color="Blue">Plugins(libraries) and the list of libs/plugins should be updated.</font>
**The revision should change when the user adds/removes modules(done).
**The revision should change when the user adds/removes Lib(modules).
**The total number of modules should be displayed in the modules section.(done)
**<font color="Red">The total number of modules should be displayed in the modules section.</font>
**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)  
**The information of the current add-on can be edited by clicking the "Properties" button on the editor. (Note:You should be in the edit mode for this to work.)
**The information of the current add-on can be edited by clicking the "Properties" button on the editor. (Note:You should be in the edit mode for this to work.)
Line 40: Line 40:
**A new revision should be generated when the user saves after making changes to the existing addon code.(done)
**A new revision should be generated when the user saves after making changes to the existing addon code.(done)
**The code for the add-on library should be saved when the save button is pressed.(done)<br>  
**The code for the add-on library should be saved when the save button is pressed.(done)<br>  
**<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 plugins(libraries) section.</font>  
**<font color="Blue">The revision should change when the user adds/removes libraries</font>  
**<font color="Blue">The revision should change when the user adds/removes plugins(libraries)</font>  
**<font color="Blue">The total number of libraries added should be displayed in the libraries section</font>
**<font color="Red">The total number of libraries added should be displayed in the libraries section</font>
**<font color="Blue">When the user hits download without saving the code, the downloaded XPI should still contain the final edits of the user(i.e.it should check for a edit after the last save, and if true, should autosave it in the XPI)</font>
**<font color="Red">When the user hits download without saving the code, the downloaded XPI should still contain the final edits of the user(i.e.it should check for a edit after the last save, and if true, should autosave it in the XPI)</font>
**The user should be able to select the entire text present in the text editor.
**The user should be able to perform copy/paste functionality in the text editor.
**You should be able to edit the name of the Lib(module) by clicking on the pencil like button besides the name.
**The revision should also be updated when you edit the name of the lib(module)


*Manual(in-litmus):  
*Manual(in-litmus):  
**<font color="Red">The "Test" button should install the add-on into the browser without a restart. It should change state to "pressed" after the addon is installed</font>
**The "Test" button should install the add-on into the browser without a restart. It should change state to "pressed" after the addon is installed
**<font color="Red">Clicking on the pressed button again will uninstall the addon and the button will be released.</font>
**Clicking on the pressed button again will uninstall the addon and the button will be released.
**<font color="Red">Clicking on the "Download" button should generate an XPI file.</font>
**Clicking on the "Download" button should generate an XPI file.
**<font color="Red">The user should be able to add attachments.</font>
**The user should be able to add attachments ('Data' button on the page).
**<font color="Red">Adding attachments should update the revision number of the current addon.</font>
**Adding attachments should update the revision number of the current addon.
**If the user is in the "Edit" mode, the attachments should be editable in the text editor. The editable attachments are .js, .css and .txt) (new)
**If the user is in the "Edit" mode, the attachments should be editable in the text editor. The editable attachments are .js, .css and .txt) (new)
**If the user is in the "View" mode, the text attachments should *NOT* be editable.(new)
**If the user is in the "View" mode, the text attachments should *NOT* be editable.(new)
451

edits