QA/Execution/Web Testing/PluginDirectory/TestPlan

From MozillaWiki
Jump to: navigation, search

Plugin Directory Test Plan

Project page: https://wiki.mozilla.org/Plugins:PluginDirectory/EditingWorkflow
Staging server: http://plugins.stage.mozilla.com/en-US/

Tests:

  • New user creation
    • Successful
    • Fail the captcha
    • Don't fill out all the required fields (all but Bio), submit; account creation should fail
    • Test XSS injection on fields (http://ha.ckers.org/xss.html)
  • Logged out, test:
    • Under "Feedback Actions," that clicking on a plugin's Contribute New Info link brings up a page whereby you can edit the version information (status and version fields are the most important, but also change the other fields and make sure the changes show up when viewed as an Editor)
      • Fail the captcha
      • That updated information should get sent to the Editor's queue
    • Under "Feedback Actions," that clicking on a plugin's Suggest Directory Update link brings up a page whereby you can edit the version information (again, status and version fields are the most important, but also change the other fields and make sure the changes show up when viewed as an Editor)
      • Fail the captcha
      • That updated information should get sent to the Editor's queue
  • Sign up and get blessed as an editor (https://wiki.mozilla.org/Plugins:PluginDirectory/EditingWorkflow#Sandbox_editing)
    • As a regular user, copy something to the sandbox, make a change, and then go back to the sandboxed plugin and click the "Request Approval" button
    • As an editor or an admin, you should see the newly pushed, sandboxed plugin in your queue: http://plugins.stage.mozilla.com/en-US/plugins/submissions
  • From the sandbox, as either an editor or an admin, push it *live*
  • Once a plugin is approved and pushed live, check that it appears on both: