Skip to content

Commit 6dd497d

Browse files
committed
Document manual tests to run before release.
1 parent 7d210ff commit 6dd497d

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

https-everywhere-tests/README.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,59 @@
88
bash test.sh
99

1010
To add tests, put them in `./https-everywhere-tests/tests`.
11+
12+
# Manual tests
13+
14+
These are test cases to execute manually before a release, and we should
15+
implement them as automated tests:
16+
17+
# Firefox
18+
- Visit a site that triggers a ruleset (e.g., Reddit.com). Verify counter appears on HTTPS
19+
Everywhere icon.
20+
- Click HTTPS Everywhere icon menu, click 'show counter'. Verify counter
21+
disappears. Verify checkmark disappears from menu item.
22+
- Click HTTPS Everywhere icon, verify ruleset shows up in green.
23+
- Click ruleset.
24+
- Reopen HTTPS Everywhere icon menu, verify ruleset shows up in grey.
25+
- Reload HTTP version of the site, ensure it doesn't get rewritten now that the
26+
ruleset is disabled.
27+
- Click HTTP Everywhere icon, click ruleset again.
28+
- Reopen HTTPS Everywhere icon menu, verify ruleset shows up in green.
29+
- Click HTTPS Everywhere icon menu, click 'Enable / disable rules'. This will
30+
freeze up the browser for a few seconds. Verify it eventually opens up a
31+
dialog box listing all rules.
32+
- Right-click on a rule, click 'View XML source.' Verify it opens up a dialog
33+
box and shows the rule source.
34+
- Click HTTPS Everywhere icon menu, click 'Block all HTTP requests'. Verify icon
35+
turns red.
36+
- Visit an HTTP site known to not have a rewrite rule. http://amazon.com is a
37+
good example. Verify page does not load.
38+
- Visit an HTTPS site that contains passive mixed content that is not rewritten
39+
to HTTPS. https://jacob.hoffman-andrews.com/passive-mixed-content.html is a
40+
good example. Verify the passive mixed content (e.g., image) does not load.
41+
NOTE: Currently fails. https://github.com/EFForg/https-everywhere/issues/857
42+
- Click icon menu, click 'About HTTPS Everywhere.' Verify dialog opens.
43+
- Click icon menu, click 'SSL Observatory Preferences.' Verify dialog opens.
44+
- Click icon menu, click 'Disable HTTPS Everywhere.' Verify icon turns grey.
45+
- Visit a site that would normally trigger a ruleset. Verify it is not rewritten
46+
to HTTPS.
47+
- Click icon menu, click 'Enable HTTPS Everywhere.' Verify icon turns blue.
48+
Verify page reloads and is rewritten to HTTPS.
49+
- Look at log output, look for errors. Make sure certificates are being
50+
submitted to SSL Observatory
51+
- Tools > Web Developer > Browser Toolbox > Console. Check for errors.
52+
- TODO: Test translations?
53+
54+
# Chromium
55+
56+
- Visit a site that triggers a ruleset (e.g., Reddit.com). Verify counter appears
57+
on HTTPS Everywhere icon.
58+
- Click HTTPS Everywhere icon menu. Verify it contains appropriate ruleset.
59+
- Disable ruleset.
60+
- Visit HTTP version of the site again. Verify it does not get redirected to
61+
HTTPS.
62+
- Re-enable ruleset.
63+
- Visit HTTP version of the site again. Verify it does get redirected.
64+
- Visit site that does not have a ruleset. From icon menu, click 'Add this
65+
site', and complete site-adding process.
66+
- Reload the site. Verify it gets redirected to HTTPS.

0 commit comments

Comments
 (0)