Commit 767ad018 authored by anonym's avatar anonym
Browse files

Convert torified_browsing.feature to the new snapshot model.

parent 8ae2adf2
...@@ -4,18 +4,8 @@ Feature: Browsing the web using the Tor Browser ...@@ -4,18 +4,8 @@ Feature: Browsing the web using the Tor Browser
when I browse the web using the Tor Browser when I browse the web using the Tor Browser
all Internet traffic should flow only through Tor all Internet traffic should flow only through Tor
Background:
Given a computer
And I start the computer
And the computer boots Tails
And I log in to a new session
And the Tails desktop is ready
And Tor is ready
And available upgrades have been checked
And all notifications have disappeared
And I save the state so the background can be restored next scenario
Scenario: The Tor Browser directory is usable Scenario: The Tor Browser directory is usable
Given Tails has booted from DVD and logged in and the network is connected
Then the amnesiac Tor Browser directory exists Then the amnesiac Tor Browser directory exists
And there is a GNOME bookmark for the amnesiac Tor Browser directory And there is a GNOME bookmark for the amnesiac Tor Browser directory
And the persistent Tor Browser directory does not exist And the persistent Tor Browser directory does not exist
...@@ -26,6 +16,7 @@ Feature: Browsing the web using the Tor Browser ...@@ -26,6 +16,7 @@ Feature: Browsing the web using the Tor Browser
@check_tor_leaks @check_tor_leaks
Scenario: Importing an OpenPGP key from a website Scenario: Importing an OpenPGP key from a website
Given Tails has booted from DVD and logged in and the network is connected
When I start the Tor Browser When I start the Tor Browser
And the Tor Browser has started and loaded the startup page And the Tor Browser has started and loaded the startup page
And I open the address "https://tails.boum.org/tails-signing.key" in the Tor Browser And I open the address "https://tails.boum.org/tails-signing.key" in the Tor Browser
...@@ -35,6 +26,7 @@ Feature: Browsing the web using the Tor Browser ...@@ -35,6 +26,7 @@ Feature: Browsing the web using the Tor Browser
@check_tor_leaks @check_tor_leaks
Scenario: Playing HTML5 audio Scenario: Playing HTML5 audio
Given Tails has booted from DVD and logged in and the network is connected
When I start the Tor Browser When I start the Tor Browser
And the Tor Browser has started and loaded the startup page And the Tor Browser has started and loaded the startup page
And no application is playing audio And no application is playing audio
...@@ -44,6 +36,7 @@ Feature: Browsing the web using the Tor Browser ...@@ -44,6 +36,7 @@ Feature: Browsing the web using the Tor Browser
@check_tor_leaks @check_tor_leaks
Scenario: Watching a WebM video Scenario: Watching a WebM video
Given Tails has booted from DVD and logged in and the network is connected
When I start the Tor Browser When I start the Tor Browser
And the Tor Browser has started and loaded the startup page And the Tor Browser has started and loaded the startup page
And I open the address "https://webm.html5.org/test.webm" in the Tor Browser And I open the address "https://webm.html5.org/test.webm" in the Tor Browser
...@@ -53,6 +46,7 @@ Feature: Browsing the web using the Tor Browser ...@@ -53,6 +46,7 @@ Feature: Browsing the web using the Tor Browser
Then I see "TorBrowserSampleRemoteWebMVideoFrame.png" after at most 180 seconds Then I see "TorBrowserSampleRemoteWebMVideoFrame.png" after at most 180 seconds
Scenario: I can view a file stored in "~/Tor Browser" but not in ~/.gnupg Scenario: I can view a file stored in "~/Tor Browser" but not in ~/.gnupg
Given Tails has booted from DVD and logged in and the network is connected
Given I copy "/usr/share/synaptic/html/index.html" to "/home/amnesia/Tor Browser/synaptic.html" as user "amnesia" 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 "/home/amnesia/.gnupg/synaptic.html" as user "amnesia"
And I start the Tor Browser And I start the Tor Browser
...@@ -63,23 +57,27 @@ Feature: Browsing the web using the Tor Browser ...@@ -63,23 +57,27 @@ Feature: Browsing the web using the Tor Browser
Then I see "TorBrowserUnableToOpen.png" after at most 10 seconds Then I see "TorBrowserUnableToOpen.png" after at most 10 seconds
Scenario: The "Tails documentation" link on the Desktop works Scenario: The "Tails documentation" link on the Desktop works
Given Tails has booted from DVD and logged in and the network is connected
When I double-click on the "Tails documentation" link on the Desktop When I double-click on the "Tails documentation" link on the Desktop
Then the Tor Browser has started Then the Tor Browser has started
And I see "TailsOfflineDocHomepage.png" after at most 10 seconds And I see "TailsOfflineDocHomepage.png" after at most 10 seconds
Scenario: The Tor Browser uses TBB's shared libraries Scenario: The Tor Browser uses TBB's shared libraries
Given Tails has booted from DVD and logged in and the network is connected
When I start the Tor Browser When I start the Tor Browser
And the Tor Browser has started And the Tor Browser has started
Then the Tor Browser uses all expected TBB shared libraries Then the Tor Browser uses all expected TBB shared libraries
@check_tor_leaks @check_tor_leaks
Scenario: Opening check.torproject.org in the Tor Browser shows the green onion and the congratulations message Scenario: Opening check.torproject.org in the Tor Browser shows the green onion and the congratulations message
Given Tails has booted from DVD and logged in and the network is connected
When I start the Tor Browser When I start the Tor Browser
And the Tor Browser has started and loaded the startup page And the Tor Browser has started and loaded the startup page
And I open the address "https://check.torproject.org" in the Tor Browser And I open the address "https://check.torproject.org" in the Tor Browser
Then I see "TorBrowserTorCheck.png" after at most 180 seconds Then I see "TorBrowserTorCheck.png" after at most 180 seconds
Scenario: The Tor Browser should not have any plugins enabled Scenario: The Tor Browser should not have any plugins enabled
Given Tails has booted from DVD and logged in and the network is connected
When I start the Tor Browser When I start the Tor Browser
And the Tor Browser has started and loaded the startup page And the Tor Browser has started and loaded the startup page
Then the Tor Browser has no plugins installed Then the Tor Browser has no plugins installed
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment