QA/Jetpack/AddonBuilderTestPlan/Testcases: Difference between revisions

Jump to navigation Jump to search
no edit summary
mNo edit summary
No edit summary
Line 7: Line 7:
*Home Page:  
*Home Page:  
**Automated:  
**Automated:  
***User should be able to login to add-on builder through the Sign-in button on the home page. The Dashboard should be displayed.(done)
***User should be able to login to add-on builder through the Sign-in button on the home page. The Dashboard should be displayed.
***User should be redirected to the text editor page when clicked on the create add-on button, after he is authenticated.(done)
***User should be redirected to the text editor page when clicked on the create add-on button, after he is authenticated.
***All links on the home page should be clickable and redirected to the proper page.  
***All links on the home page should be clickable and redirected to the proper page.  
***When the user is not logged in,the home page should only show the "Test" and "View Source" buttons(enabled).(done)  
***When the user is not logged in,the home page should only show the "Test" and "Source" buttons(enabled).(change)
***Apart form the above mentioned buttons, "Edit" and "Disable" buttons should be shown on the home page to the user for the add-ons that have been created by them.(user needs to be logged in)(done)  
***"Disable" button should be shown on the home page to the user for the add-ons that have been created by them.(user needs to be logged in)(change)
***User should be redirected to the library text editor page when they click on "Create Library" button (done)
***User should be redirected to the library text editor page when they click on "Create Library" button (done)


Line 22: Line 22:
***Edit  
***Edit  
**Automated:  
**Automated:  
***When in Edit mode, the add-on editor should have four buttons: "Test", "Download", "Save", "Revision".(done)  
***When in Edit mode, the add-on editor should have Six buttons: "Test", "Download", "Save", "Copy", "Revision", "Properties".(change)  
***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 Five buttons: "Test", "Download", "Copy", "Revision", "Properties".(change)  
***When in Edit mode, the library editor should have "Save" and "Revision" buttons.(done)  
***When in Edit mode, the library editor should have "Save", "Copy", "Revision", "Properties" buttons.(change)  
***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", "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 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 user should be able to add/remove modules and <font color="Blue">libraries</font>
***The revision should change when the user adds/removes modules(done).
***The total number of modules should be displayed in the modules section.(done)
***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 on the add-on name. (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.)
***You should *NOT* be able to change the information of the add-on in view source mode.(done)
***You should *NOT* be able to change the information of the add-on in view source mode.(The Properties button should just display information and no editable fields)(done)
***The user should be able to add modules and <font color="Blue">libraries</font>
***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>  
Line 44: Line 45:
***<font color="Red">The user should be able to add attachments.</font>
***<font color="Red">The user should be able to add attachments.</font>
***<font color="Red">Adding attachments should update the revision number of the current addon.</font>
***<font color="Red">Adding attachments should update the revision number of the current addon.</font>
***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.


*My account page:  
*My account page:  
Line 51: Line 54:
***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", "Source", 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 "Source"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)  
*** Clicking on disable button disables the addon
***Clicking on disable button disables the addon
*** You can reactivate the disabled addon form the Disabled addons page.
***You can reactivate the disabled add-on by clicking the "Activate" button from the Disabled add-ons page.(new)
*** <font color="Red">[Bug 579156] Add [Edit] button to view source mode navigation if user is the author of the package</font>
***You can reactivate the disabled libraries by clicking the "Activate" button from the Disabled libraries page.(new)
***You can upload an xpi file from your computer by clicking the "upload package" link on this page.(new)


**Manual (in-litmus)  
**Manual (in-litmus)  
Line 63: Line 67:
*Library editor page:  
*Library editor page:  
**Automated:  
**Automated:  
***The library editor should have "Save", Copy", Revision" and "Properties" button when in "Edit" mode.(new)
***The library editor should have "Copy", Revision" and "Properties" button when in "View" mode.(new)
***The library should be saved through the "Save" button. (done in home page) <br>
***The library should be saved through the "Save" button. (done in home page) <br>
***The code for the library should be edited and should be saved when the save button is pressed.(done)<br>
***The code for the library should be edited and should be saved when the save button is pressed.(done)<br>
***Modules and <font color="Blue">libraries</font> should be allowed to be added to the current library.
***Modules and <font color="Blue">libraries</font> should be allowed to be added to the current library.
***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)<br>  
***Library information should be editable when the "Properties" button is clicked.(Note: This can be done only when the user is in edit mode)<br>  
***The revision can be checked through the revision button. (done,combined with above test case)
***The revision can be checked through the revision button. (done,combined with above test case)
***<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>
Line 72: Line 78:
**Manual:  
**Manual:  
***<font color="Red">Attachments should be allowed to be added to the current library.</font>
***<font color="Red">Attachments should be allowed to be added to the current library.</font>
** Attachments should be editable(in the same manner as for add-ons).
451

edits

Navigation menu