forked from getlantern/lantern
-
Notifications
You must be signed in to change notification settings - Fork 0
[developers] QA Scripts
skivvies edited this page Aug 12, 2013
·
8 revisions
The test script should still succeed as long as Lantern can reach a fallback proxy. When we switch to give mode about halfway through the script, you'll enter the following in your /etc/hosts file:
0.0.0.0 talk.google.com
0.0.0.0 accounts.google.com
0.0.0.0 google.com
- Make sure Lantern is not running
- Open up your system proxy settings and verify that you have no system proxy set. If your OS keeps this window up-to-date with your system proxy settings without your having to close and reopen it (OS X does, Ubuntu doesn't, afaik), keep this window visible while you interact with Lantern in the following steps so you can see exactly if and when Lantern changes the settings.
- Nuke your ~/.lantern directory if you have one
- Start up Lantern
- Choose Give Access
- Choose Sign In
- Sign in to Google with an invited account and click Allow access
- Click Continue (on the Lantern Friends modal)
- Click Finish
- Verify your green dot is in an accurate spot on the map, and when you hover over it all your details (including IP address) are accurate
- Visit whatismyip.com in a browser
- Verify your public IP is the same as in step 10
- We're now going go switch to get access mode. Add the google mappings above to your /etc/hosts file to simulate Google being blocked (see beginning)
- Click Settings button (gear icon)
- Click Get Access
- You should be taken to the Proxied Sites modal. Click Continue (should be "Continue" and not "Close" if setupComplete was correctly set back to false)
- Check your system proxy settings are now configured to use Lantern's PAC file.
- Back in Lantern, you should have been taken back to the visualization. Your dot should now be orange. When you hover over it, your details should be the same as before (including IP address).
- You should now see a dark green dot corresponding to your fallback proxy. Hover over it and make a note of its IP.
- Reload whatismyip.com, and see that an arc is drawn connecting your orange dot to the green dot.
- Verify the IP that whatismyip.com is showing is now that of the fallback proxy.
- Click Proxied Sites button (web icon)
- Add geoiptool.com to the textarea and click Continue
- Visit geoiptool.com and verify the IP and location it shows for you are the same as the fallback proxy's and not your orange dot's.
- Quit Lantern
- Check your system proxy settings now have no proxy set
- Repeat steps 11-12
- Restart Lantern
- Check your system proxy settings now have Lantern's pac file set
- Repeat steps 20-21 and then step 24
- Go back to Settings and click Reset
- Repeat steps 5-12
© 2014 Team Lantern. Some rights reserved. Don't understand a term? Try the Glossary.