summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2015-07-11 21:40:12 +0000
committerintrigeri <intrigeri@boum.org>2015-07-11 21:40:12 +0000
commit0e1b6ae8423634d84e04d2be901bc5d1d79f8b34 (patch)
tree6b5b529a3dea09a8d3eb04615140e3da22ca72bb
parenta1fd1f0f4df38465855e08db287b0410b47b4806 (diff)
New automated test: check that Tor Browser cannot access files in /tmp.
-rw-r--r--features/torified_browsing.feature3
1 files changed, 3 insertions, 0 deletions
diff --git a/features/torified_browsing.feature b/features/torified_browsing.feature
index c21ee4e..c1885ba 100644
--- a/features/torified_browsing.feature
+++ b/features/torified_browsing.feature
@@ -65,12 +65,15 @@ Feature: Browsing the web using the Tor Browser
Scenario: I can view a file stored in "~/Tor Browser" but not in ~/.gnupg
Given I copy "/usr/share/synaptic/html/index.html" to "/home/amnesia/Tor Browser/synaptic.html" as user "amnesia"
And I copy "/usr/share/synaptic/html/index.html" to "/home/amnesia/.gnupg/synaptic.html" as user "amnesia"
+ And I copy "/usr/share/synaptic/html/index.html" to "/tmp/synaptic.html" as user "amnesia"
And I start the Tor Browser
And the Tor Browser has started and loaded the startup page
When I open the address "file:///home/amnesia/Tor Browser/synaptic.html" in the Tor Browser
Then I see "TorBrowserSynapticManual.png" after at most 10 seconds
When I open the address "file:///home/amnesia/.gnupg/synaptic.html" in the Tor Browser
Then I see "TorBrowserUnableToOpen.png" after at most 10 seconds
+ When I open the address "file:///tmp/synaptic.html" in the Tor Browser
+ Then I see "TorBrowserUnableToOpen.png" after at most 10 seconds
Scenario: The "Tails documentation" link on the Desktop works
When I double-click on the "Tails documentation" link on the Desktop