Commit b4d1fcc0 authored by Tails developers's avatar Tails developers
Browse files

Migrate more scenarios/feature to the @check_tor_leaks tag.

Instead of the explicit steps for capturing all traffic and checking
for leaks.
parent 8a1088ec
......@@ -24,6 +24,7 @@ Feature: Browsing the web using the Tor Browser
Then I can save the current page as "index.html" to the default downloads directory
And I can print the current page as "output.pdf" to the default downloads directory
@check_tor_leaks
Scenario: Importing an OpenPGP key from a website
When I start the Tor Browser
And the Tor Browser has started and loaded the startup page
......@@ -32,6 +33,7 @@ Feature: Browsing the web using the Tor Browser
When I accept to import the key with Seahorse
Then I see "KeyImportedNotification.png" after at most 10 seconds
@check_tor_leaks
Scenario: Playing HTML5 audio
When I start the Tor Browser
And the Tor Browser has started and loaded the startup page
......@@ -39,8 +41,8 @@ Feature: Browsing the web using the Tor Browser
And I open the address "http://www.terrillthompson.com/tests/html5-audio.html" in the Tor Browser
And I click the HTML5 play button
And 1 application is playing audio after 10 seconds
And all Internet traffic has only flowed through Tor
@check_tor_leaks
Scenario: Watching a WebM video
When I start the Tor Browser
And the Tor Browser has started and loaded the startup page
......@@ -49,7 +51,6 @@ Feature: Browsing the web using the Tor Browser
And I see "TorBrowserNoScriptTemporarilyAllowDialog.png" after at most 10 seconds
And I accept to temporarily allow playing this video
Then I see "TorBrowserSampleRemoteWebMVideoFrame.png" after at most 180 seconds
And all Internet traffic has only flowed through Tor
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"
......
@product
@product @check_tor_leaks
Feature: Cloning a Git repository
As a Tails user
when I clone a Git repository
......@@ -6,7 +6,6 @@ Feature: Cloning a Git repository
Background:
Given a computer
And I capture all network traffic
And I start the computer
And the computer boots Tails
And I log in to a new session
......@@ -21,14 +20,12 @@ Feature: Cloning a Git repository
Then process "git" is running within 10 seconds
And process "git" has stopped running after at most 180 seconds
And the Git repository "testing" has been cloned successfully
And all Internet traffic has only flowed through Tor
Scenario: Cloning a Git repository anonymously over the Git protocol
When I run "git clone git://git.tails.boum.org/myprivatekeyispublic/testing" in GNOME Terminal
Then process "git" is running within 10 seconds
And process "git" has stopped running after at most 180 seconds
And the Git repository "testing" has been cloned successfully
And all Internet traffic has only flowed through Tor
Scenario: Cloning git repository over SSH
Given I have the SSH key pair for a Git repository
......@@ -37,4 +34,3 @@ Feature: Cloning a Git repository
When I verify the SSH fingerprint for the Git repository
And process "git" has stopped running after at most 180 seconds
Then the Git repository "testing" has been cloned successfully
And all Internet traffic has only flowed through Tor
@product
@product @check_tor_leaks
Feature: Various checks for torified software
Background:
Given a computer
And I capture all network traffic
And I start the computer
And the computer boots Tails
And I log in to a new session
......@@ -17,21 +16,17 @@ Feature: Various checks for torified software
When I wget "http://example.com/" to stdout
Then the wget command is successful
And the wget standard output contains "Example Domain"
And all Internet traffic has only flowed through Tor
Scenario: wget(1) should work for HTTPS and go through Tor.
When I wget "https://example.com/" to stdout
Then the wget command is successful
And the wget standard output contains "Example Domain"
And all Internet traffic has only flowed through Tor
Scenario: wget(1) with tricky options should work for HTTP and go through Tor.
When I wget "http://195.154.14.189/tails/stable/" to stdout with the '--spider --header="Host: dl.amnesia.boum.org"' options
Then the wget command is successful
And all Internet traffic has only flowed through Tor
Scenario: whois(1) should work and go through Tor.
When I query the whois directory service for "torproject.org"
Then the whois command is successful
Then the whois standard output contains "The Tor Project"
And all Internet traffic has only flowed through Tor
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