mozilla / addon-wr

Looking Glass is a collaboration between Mozilla and the makers of Mr. Robot to provide a shared world experience.
https://support.mozilla.org/kb/lookingglass
51 stars 15 forks source link

TESTPLAN.md draft #21

Closed pdehaan closed 6 years ago

pdehaan commented 6 years ago

PREREQUISITES:

Installation:

  1. git clone https://github.com/gregglind/addon-wr.git
  2. cd addon-wr
  3. npm install

Testing:

  1. npm run firefox (make sure this launches Firefox Nightly until the add-on is signed, at which point you can test on Release, Developer Edition/Aurora, and Nightly).
  2. Launch about:config and verify the browser.display.truth Boolean config is set to false.
  3. Go to https://www.mozilla.org/en-US/ and verify that you see "Internet Health" in the main menu and "Website Privacy Notice" in the footer.
  4. Toggle browser.display.config to true.
  5. Refresh https://www.mozilla.org/en-US/ and verify that "Internet" and "Privacy" word formatting are changed. The current list of modifiable words are:
    • "army"
    • "dark"
    • "data"
    • "delete"
    • "distintegration"
    • "internet"
    • "privacy"
  6. Refresh the page and verify that the values reverted back to their expected values.
  7. Visit https://www.mozilla.org/it/privacy/websites/ and verify that the strings' appearance is also modified on the new page, yet revert on subsequent page loads.
  8. Visit https://github.com/gregglind/addon-wr/issues/21 (this page) and verify that the bulleted list of words above are all modified.
  9. Relaunch about:config and set browser.display.truth to false.
  10. Revisit previous pages and http://www.cnn.com/2017/11/29/politics/supreme-court-fourth-amendment-case/index.html and confirm that strings' appearance is no longer modified.
pdehaan commented 6 years ago

Current list of "trigger words" can be found in background.js: https://github.com/gregglind/addon-wr/blob/16aff7d830938d7c115ae31ade288b1b49155f3c/addon/webextension/background.js#L11

pdehaan commented 6 years ago

Currently looks like:

testplan_md_draft_ _issue__21_ _gregglind_addon-wr_ _github
pdehaan commented 6 years ago

https://github.com/gregglind/addon-wr/blob/master/TESTPLAN.md is better than my template above. Plus I can update my original issue to include the latest default strings so I can use this page to verify behavior.

🥇