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