minor corrections
[tails-test.git] / features / time_syncing.feature
blob64a2d75738a0d14592f98a14d0b1e2d4bf2c522f
1 @product
2 Feature: Time syncing
3   As a Tails user
4   I want Tor to work properly
5   And for that I need a reasonably accurate system clock
7   Background:
8     Given a computer
9     And the network is unplugged
10     And I start the computer
11     And the computer boots Tails
12     And I log in to a new session
13     And GNOME has started
14     And I save the state so the background can be restored next scenario
16   Scenario: Clock with host's time
17     When the network is plugged
18     And Tor is ready
19     Then Tails clock is less than 5 minutes incorrect
21   Scenario: Clock is one day in the past
22     When I bump the system time with "-1 day"
23     And the network is plugged
24     And Tor is ready
25     Then Tails clock is less than 5 minutes incorrect
27   Scenario: Clock way in the past
28     When I set the system time to "01 Jan 2000 12:34:56"
29     And the network is plugged
30     And Tor is ready
31     Then Tails clock is less than 5 minutes incorrect
33   Scenario: Clock is one day in the future
34     When I bump the system time with "+1 day"
35     And the network is plugged
36     And Tor is ready
37     Then Tails clock is less than 5 minutes incorrect
39   Scenario: Clock way in the future
40     When I set the system time to "01 Jan 2020 12:34:56"
41     And the network is plugged
42     And Tor is ready
43     Then Tails clock is less than 5 minutes incorrect
45 #  Scenario: Clock vs Tor consensus' valid-{after,until} etc.