2 Feature: Browsing the web using the Unsafe Browser
4 when I browse the web using the Unsafe Browser
5 I should have direct access to the web
7 Scenario: The Unsafe Browser is disabled by default
8 Given I have started Tails from DVD and logged in and the network is connected
9 When I try to start the Unsafe Browser
10 Then the Unsafe Browser complains that it is disabled
12 Scenario: The Unsafe Browser can access the LAN
13 Given I have started Tails from DVD and logged in with the Unsafe Browser enabled and the network is connected
14 And a web server is running on the LAN
15 When I successfully start the Unsafe Browser
16 And I open a page on the LAN web server in the Unsafe Browser
17 Then I see "UnsafeBrowserHelloLANWebServer.png" after at most 20 seconds
19 Scenario: Starting the Unsafe Browser works as it should
20 Given I have started Tails from DVD and logged in with the Unsafe Browser enabled and the network is connected
21 When I successfully start the Unsafe Browser
22 Then the Unsafe Browser runs as the expected user
23 And the Unsafe Browser has a red theme
24 And the Unsafe Browser shows a warning as its start page
25 And the Unsafe Browser has no plugins installed
26 And the Unsafe Browser has no add-ons installed
27 And the Unsafe Browser has only Firefox's default bookmarks configured
28 And the Unsafe Browser uses all expected TBB shared libraries
30 Scenario: The Unsafe Browser can load a web page
31 Given I have started Tails from DVD and logged in with the Unsafe Browser enabled and the network is connected
32 When I successfully start the Unsafe Browser
33 When I open the Tails homepage in the Unsafe Browser
34 Then the Tails homepage loads in the Unsafe Browser
36 Scenario: Closing the Unsafe Browser shows a stop notification and properly tears down the chroot
37 Given I have started Tails from DVD and logged in with the Unsafe Browser enabled and the network is connected
38 When I successfully start the Unsafe Browser
39 And I close the Unsafe Browser
40 Then I see the "Shutting down the Unsafe Browser..." notification after at most 60 seconds
41 And the Unsafe Browser chroot is torn down
43 Scenario: Starting a second instance of the Unsafe Browser results in an error message being shown
44 Given I have started Tails from DVD and logged in with the Unsafe Browser enabled and the network is connected
45 When I successfully start the Unsafe Browser
46 # Wait for whatever facility the GNOME Activities Overview uses to
47 # learn about which applications are running to "settle". Without
48 # this sleep, it is confused and it's impossible to start a new
49 # instance (it will just switch to the one we already started).
51 And I start the Unsafe Browser
52 Then I see a warning about another instance already running
54 Scenario: The Unsafe Browser is not allowed to use a local proxy
55 Given I have started Tails from DVD and logged in with the Unsafe Browser enabled and the network is connected
56 When I configure the Unsafe Browser to use a local proxy
57 And I successfully start the Unsafe Browser
58 And I open the Tails homepage in the Unsafe Browser
59 Then I see "BrowserProxyRefused.png" after at most 60 seconds
61 Scenario: The Unsafe Browser only makes user-initiated connections to the Internet
62 Given I have started Tails from DVD and logged in with the Unsafe Browser enabled and the network is connected
63 And I capture all network traffic
65 And I configure the Unsafe Browser to check for updates more frequently
66 But checking for updates is disabled in the Unsafe Browser's configuration
67 When I successfully start the Unsafe Browser
68 Then the Unsafe Browser has started
69 And I wait 120 seconds
70 And the clearnet user has not sent packets out to the Internet
71 And all Internet traffic has only flowed through Tor
73 Scenario: Starting the Unsafe Browser without a network connection results in a complaint about no DNS server being configured
74 Given I have started Tails from DVD without network and logged in with the Unsafe Browser enabled
75 When I start the Unsafe Browser
76 And I see and accept the Unsafe Browser start verification
77 Then the Unsafe Browser complains that no DNS server is configured