Merge remote-tracking branch 'origin/feature/tor-0.2.5.x-alpha' into feature/tor...
[tails-test.git] / features / apt.feature
blobe86d3c60d41b508e3763ea3e21c589b5e6e41e97
1 @product
2 Feature: Installing packages through APT
3   As a Tails user
4   when I set an administration password in Tails Greeter
5   I should be able to install packages using APT and Synaptic
6   and all Internet traffic should flow only through Tor.
8   Background:
9     Given a computer
10     And I capture all network traffic
11     And I start the computer
12     And the computer boots Tails
13     And I enable more Tails Greeter options
14     And I set sudo password "asdf"
15     And I log in to a new session
16     And GNOME has started
17     And Tor is ready
18     And all notifications have disappeared
19     And available upgrades have been checked
20     And I save the state so the background can be restored next scenario
22   Scenario: APT sources are configured correctly
23     Then the only hosts in APT sources are "ftp.us.debian.org,security.debian.org,backports.debian.org,deb.tails.boum.org,deb.torproject.org,mozilla.debian.net"
25   Scenario: Install packages using apt-get
26     When I update APT using apt-get
27     Then I should be able to install a package using apt-get
28     And all Internet traffic has only flowed through Tor
30   Scenario: Install packages using Synaptic
31     When I start Synaptic
32     And I update APT using Synaptic
33     Then I should be able to install a package using Synaptic
34     And all Internet traffic has only flowed through Tor