2 Feature: Tor Connection helps the user in connecting to Tor
7 Given I have started Tails from DVD without network and logged in
9 # Scenario: Starting Tor Connection before connecting to wifi
10 # When I start "Tor Connection" via GNOME Activities Overview
11 # Then the Tor Connection Assistant reports that I am not connected to a local network
13 # # this is not great, but it's the current status
14 # Scenario: switching to a network with no Internet doesn't yield any error message
15 # Given the network is plugged
17 # And I close "Tor Connection"
18 # When the network is unplugged
19 # And the Tor network and default bridges are blocked
20 # And I start "Tor Connection" via GNOME Activities Overview
21 # Then "Tor Connection" shows the success screen
23 # Scenario: Close Tor Connection and open again
25 # When I close "Tor Connection"
26 # And I start "Tor Connection" via GNOME Activities Overview
27 # Then "Tor Connection" shows the success screen
29 # regression test for #18868
30 @slow @not_release_blocker @skip_by_default
31 Scenario: Time syncing works even if the user waits a lot before connecting
32 When the network is plugged
33 And I wait 720 seconds
34 Then I successfully configure Tor
35 And the time has synced
37 # regression test for #18546
39 Scenario: Bridges are not enabled in automatic mode when going back from hiding Tor
40 When the network is plugged
41 And the Tor Connection Assistant autostarts
42 And I look at the hide mode but then I go back
43 And I choose to connect to Tor automatically
44 Then Tor Connection does not propose me to use Tor bridges
46 Scenario: I can use a network with captive portal
47 Given the Tor network and default bridges are blocked
48 And the network is plugged
49 And I make sure time sync before Tor connects indicates a captive portal
50 And the Tor Connection Assistant autostarts
51 When I choose to connect to Tor automatically
52 And I click "Connect to Tor"
53 Then the Tor Connection Assistant fails to connect to Tor
54 And the Tor Connection Assistant knows that it's not the time sync that failed
55 And the Tor Connection Assistant knows that there might be a captive portal
56 When I open the Unsafe Browser from Tor Connection
57 And I log-in to the Captive Portal
58 And I close the Unsafe Browser
59 And the Tor network and default bridges are unblocked
60 And I allow time sync before Tor connects to work again
61 And I click "Connect to Tor"
62 Then I wait until Tor is ready