unsafe_browser.feature 3.58 KB
Newer Older
1
@product
2
3
4
5
6
Feature: Browsing the web using the Unsafe Browser
  As a Tails user
  when I browse the web using the Unsafe Browser
  I should have direct access to the web

bertagaz's avatar
bertagaz committed
7
  @fragile
8
  Scenario: The Unsafe Browser can access the LAN
9
    Given I have started Tails from DVD and logged in and the network is connected
10
    And a web server is running on the LAN
11
    When I successfully start the Unsafe Browser
anonym's avatar
anonym committed
12
    And I open a page on the LAN web server in the Unsafe Browser
13
14
    Then I see "UnsafeBrowserHelloLANWebServer.png" after at most 20 seconds

bertagaz's avatar
bertagaz committed
15
  @fragile
16
  Scenario: Starting the Unsafe Browser works as it should.
17
    Given I have started Tails from DVD and logged in and the network is connected
18
    When I successfully start the Unsafe Browser
19
20
    Then the Unsafe Browser runs as the expected user
    And the Unsafe Browser has a red theme
21
    And the Unsafe Browser shows a warning as its start page
22
23
    And the Unsafe Browser has no plugins installed
    And the Unsafe Browser has no add-ons installed
24
    And the Unsafe Browser has only Firefox's default bookmarks configured
25
    And the Unsafe Browser has no proxy configured
26
    And the Unsafe Browser uses all expected TBB shared libraries
27

bertagaz's avatar
bertagaz committed
28
  @fragile
29
  Scenario: Closing the Unsafe Browser shows a stop notification and properly tears down the chroot.
30
    Given I have started Tails from DVD and logged in and the network is connected
31
    When I successfully start the Unsafe Browser
32
33
    And I close the Unsafe Browser
    Then I see the Unsafe Browser stop notification
34
    And the Unsafe Browser chroot is torn down
35

bertagaz's avatar
bertagaz committed
36
  @fragile
37
  Scenario: Starting a second instance of the Unsafe Browser results in an error message being shown.
38
    Given I have started Tails from DVD and logged in and the network is connected
39
40
    When I successfully start the Unsafe Browser
    And I start the Unsafe Browser
41
42
    Then I see a warning about another instance already running

43
  @fragile
Tails developers's avatar
Tails developers committed
44
  Scenario: Opening check.torproject.org in the Unsafe Browser shows the red onion and a warning message.
45
    Given I have started Tails from DVD and logged in and the network is connected
46
    When I successfully start the Unsafe Browser
47
    And I open the address "https://check.torproject.org" in the Unsafe Browser
Tails developers's avatar
Tails developers committed
48
    Then I see "UnsafeBrowserTorCheckFail.png" after at most 60 seconds
49
    And the clearnet user has sent packets out to the Internet
50

bertagaz's avatar
bertagaz committed
51
  @fragile
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
56

bertagaz's avatar
bertagaz committed
57
  @fragile
58
  Scenario: The Unsafe Browser will not make any connections to the Internet which are not user initiated
59
    Given I have started Tails from DVD and logged in and the network is connected
60
    And I capture all network traffic
61
62
63
64
65
    And Tor is ready
    And I configure the Unsafe Browser to check for updates more frequently
    But checking for updates is disabled in the Unsafe Browser's configuration
    When I successfully start the Unsafe Browser
    Then the Unsafe Browser has started
66
    And I wait 120 seconds
67
68
69
    And the clearnet user has not sent packets out to the Internet
    And all Internet traffic has only flowed through Tor

70
  Scenario: Starting the Unsafe Browser without a network connection results in a complaint about no DNS server being configured
71
    Given I have started Tails from DVD without network and logged in
72
73
    When I start the Unsafe Browser
    Then the Unsafe Browser complains that no DNS server is configured