Thimble/TestPlan

From MozillaWiki
Jump to: navigation, search

Thimble Test Plan

Tools

  • Firefox 10 and up, IE 8 and up, Chrome 18 and up, Safari 5 and Opera 11 and up

Test Coverage

  • Layout tests in browsers described in the Tools section of this page
  • Functional tests described in the Test Plan section of this page

Automation Coverage

https://wiki.mozilla.org/Thimble/AutomationStrategy

Test Plan

Editing

  • change line 22 to some other heading, the preview should update.
    • click the undo button, your change should revert
    • click redo, your change should reappear
  • hover over a html tag, a tooltip should appear
    • click 'turn off hints' tooltips should no longer appear
  • remove the closing </h1> on line 22, error messages should explain the unclosed tag
  • ctrl-r to reload the page, your edits should still be there.
  • specific error messages to check for, each of these should receive a warning on the page
    • create an unclosed tag, h1 without a /h1
    • create a half-open tag, <h1
    • create an invalid tag <mozilla>some stuff</mozilla>

Navigation

  • click the moztab, make sure it appears
  • click on the thimble graphic in the upper left, you should go to the main webmaker page

Publishing

  • click 'publish', choose "no", the page should not be published
  • click 'publish', choose "yes", the page should be published
    • go to the listed published url, confirm your page is there.
  • confirm that a published page strips javascript
    • add <script type="text/javascript">alert("pwned!");</script> to the page
    • publish the page
    • confirm the script was stripped from the published page
  • confirm that certain things _aren't_ stripped from a published page
    • add a link to the page, <a href="http://mozilla.com">Mozilla</a>
    • publish
    • confirm the link exists on the published page
  • add a youtube video
    • add <iframe width="560" height="315" src="http://www.youtube.com/embed/M3qwNHAMJu0" frameborder="0" allowfullscreen></iframe> to the page
    • publish
    • confirm the youtube video works on the published page

File Bugs

Server Information

Releases