Skip to content

Brackets Smoke Tests

njx edited this page May 2, 2012 · 55 revisions

EARLY DRAFT--not ready for review yet

Brackets has a pretty good unit test suite that you can run from Debug > Run Unit Tests, but that doesn't always cover issues with the overall UI and integrated functionality, or visual/layout issues that are only obvious if you're actually looking at the product. This is a set of manual tests intended to make sure we haven't broken the basic overall workflows of the product. The intention is to keep it quick--if it takes more than 5 minutes on a given platform it's too long :)

(TODO: setup step--get the sample app)

Core functionality

  1. Quit and relaunch Chrome (so it's not in debug mode).
  2. Launch Brackets.
  3. File > Open Folder and browse to the sample app folder. Verify that its contents look correct, and expand some folders to look inside them.
  4. Click on index.html. Verify that it opens in the editor but is not in the working set.
  5. Resize the window. Verify that the title bar wraps appropriately.
  6. Set the cursor in the tag.
  7. Hit Cmd-E. Verify that it shows a single body rule.
  8. Click the lightning bolt in the upper right. You should get the dialog saying you need to relaunch Chrome.
  9. Click "Relaunch". Chrome should relaunch and open the page.
  10. Back in Brackets, edit the background color for the tag in the inline editor (#D90 is a nice color). Verify that the color changes in Chrome as you type.
  11. Hit Cmd-E. Verify that the inline editor closes.
  12. Put the cursor immediately after the "<a" in one of the tags in the navbar.
  13. Hit Cmd-E. Verify that the inline editor opens and that you see a number of rules in the list on the right.
  14. Scroll up and down in the outer editor. Verify that the inline editor scrolls properly with the editor.
  15. Resize the window. Verify that the rule list moves properly and there are no visual glitches.
  16. Click on a list in the rule list. Verify that the editor shows the correct rule.

Unofficial features

TODO

  1. Edit > Find...
  2. Edit > Find in Files...
  3. Navigate > Quick Open...

Clone this wiki locally