summaryrefslogtreecommitdiffstats
path: root/features/checks.feature
diff options
context:
space:
mode:
Diffstat (limited to 'features/checks.feature')
-rw-r--r--features/checks.feature92
1 files changed, 71 insertions, 21 deletions
diff --git a/features/checks.feature b/features/checks.feature
index 277bdb99..24d35943 100644
--- a/features/checks.feature
+++ b/features/checks.feature
@@ -1,57 +1,107 @@
@product
Feature: Various checks
- Background:
- Given a computer
- And I start Tails from DVD with network unplugged and I login
- And I save the state so the background can be restored next scenario
-
Scenario: AppArmor is enabled and has enforced profiles
+ Given I have started Tails from DVD without network and logged in
Then AppArmor is enabled
And some AppArmor profiles are enforced
+ Scenario: A screenshot is taken when the PRINTSCREEN key is pressed
+ Given I have started Tails from DVD without network and logged in
+ And there is no screenshot in the live user's Pictures directory
+ When I press the "PRINTSCREEN" key
+ Then a screenshot is saved to the live user's Pictures directory
+
Scenario: VirtualBox guest modules are available
+ Given I have started Tails from DVD without network and logged in
When Tails has booted a 64-bit kernel
Then the VirtualBox guest modules are available
- Scenario: The shipped Tails signing key is up-to-date
- Given the network is plugged
+ Scenario: The shipped Tails OpenPGP keys are up-to-date
+ Given I have started Tails from DVD without network and logged in
+ Then the OpenPGP keys shipped with Tails will be valid for the next 3 months
+
+ Scenario: The Tails Debian repository key is up-to-date
+ Given I have started Tails from DVD without network and logged in
+ Then the shipped Debian repository key will be valid for the next 3 months
+
+ @doc @fragile
+ Scenario: The "Report an Error" launcher will open the support documentation
+ Given I have started Tails from DVD without network and logged in
+ And the network is plugged
And Tor is ready
And all notifications have disappeared
- Then the shipped Tails signing key is not outdated
+ When I double-click the Report an Error launcher on the desktop
+ Then the support documentation page opens in Tor Browser
Scenario: The live user is setup correctly
+ Given I have started Tails from DVD without network and logged in
Then the live user has been setup by live-boot
- And the live user is a member of only its own group and "audio cdrom dialout floppy video plugdev netdev fuse scanner lp lpadmin vboxsf"
+ And the live user is a member of only its own group and "audio cdrom dialout floppy video plugdev netdev scanner lp lpadmin vboxsf"
And the live user owns its home dir and it has normal permissions
+ @fragile
Scenario: No initial network
- Given I wait between 30 and 60 seconds
+ Given I have started Tails from DVD without network and logged in
+ And I wait between 30 and 60 seconds
+ Then the Tor Status icon tells me that Tor is not usable
When the network is plugged
- And Tor is ready
+ Then Tor is ready
+ And the Tor Status icon tells me that Tor is usable
And all notifications have disappeared
And the time has synced
- And process "vidalia" is running within 30 seconds
+ @fragile
+ Scenario: The 'Tor is ready' notification is shown when Tor has bootstrapped
+ Given I have started Tails from DVD without network and logged in
+ And the network is plugged
+ When I see the 'Tor is ready' notification
+ Then Tor is ready
+
+ @fragile
+ Scenario: The tor process should be confined with Seccomp
+ Given I have started Tails from DVD without network and logged in
+ And the network is plugged
+ And Tor is ready
+ Then the running process "tor" is confined with Seccomp in filter mode
+
+ @fragile
Scenario: No unexpected network services
+ Given I have started Tails from DVD without network and logged in
When the network is plugged
And Tor is ready
Then no unexpected services are listening for network connections
Scenario: The emergency shutdown applet can shutdown Tails
+ Given I have started Tails from DVD without network and logged in
When I request a shutdown using the emergency shutdown applet
Then Tails eventually shuts down
Scenario: The emergency shutdown applet can reboot Tails
+ Given I have started Tails from DVD without network and logged in
When I request a reboot using the emergency shutdown applet
Then Tails eventually restarts
- # We ditch the background snapshot for this scenario since we cannot
- # add a filesystem share to a live VM so it would have to be in the
- # background above. However, there's a bug that seems to make shares
- # impossible to have after a snapshot restore.
- Scenario: MAT can clean a PDF file
- Given a computer
- And I setup a filesystem share containing a sample PDF
- And I start Tails from DVD with network unplugged and I login
- Then MAT can clean some sample PDF file
+ Scenario: tails-debugging-info does not leak information
+ Given I have started Tails from DVD without network and logged in
+ Then tails-debugging-info is not susceptible to symlink attacks
+
+ Scenario: Tails shuts down on DVD boot medium removal
+ Given I have started Tails from DVD without network and logged in
+ When I eject the boot medium
+ Then Tails eventually shuts down
+
+ #10720
+ @fragile
+ Scenario: Tails shuts down on USB boot medium removal
+ Given I have started Tails without network from a USB drive without a persistent partition and logged in
+ When I eject the boot medium
+ Then Tails eventually shuts down
+
+ Scenario: The Tails Greeter "disable all networking" option disables networking within Tails
+ Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen
+ And I enable more Tails Greeter options
+ And I disable all networking in the Tails Greeter
+ And I log in to a new session
+ And the Tails desktop is ready
+ Then no network interfaces are enabled