path: root/features
diff options
authorCyril Brulebois <>2019-01-13 15:35:44 +0100
committerCyril Brulebois <>2019-01-13 19:02:04 +0100
commit919d9491d9652479d343068d34b16a4f2f7e4ef7 (patch)
tree3e7b25aa65df8f4f8ea482f80bbe937a1ec61570 /features
parent64d58e436c958d28de92c1acfb7240cbb9ccdcf2 (diff)
Test suite: make usb-install-tails-greeter use the Tails USB image (refs: #16004).
Let's optimize the test suite by installing the Tails USB image directly, instead of doing the cloning dance. Remove the parent snapshot accordingly, as there's no need to be running Tails in the first place anymore. The Tails USB image could be trusted not to have any persistence partition but let's keep that check anyway; that's part of a checkpoint. The (absence of) persistence check used to appear twice; get rid of the first instance as that one was performed after cloning, with a computer that was still running. Keep the second one only, which happens after the just installed system has booted.
Diffstat (limited to 'features')
1 files changed, 2 insertions, 5 deletions
diff --git a/features/step_definitions/snapshots.rb b/features/step_definitions/snapshots.rb
index 3382406..83a6e96 100644
--- a/features/step_definitions/snapshots.rb
+++ b/features/step_definitions/snapshots.rb
@@ -64,14 +64,11 @@ def checkpoints
'usb-install-tails-greeter' => {
:description => "I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen",
- :parent_checkpoint => 'no-network-logged-in',
+ :parent_checkpoint => nil,
:steps => [
'I create a 7200 MiB disk named "__internal"',
'I plug USB drive "__internal"',
- 'I install Tails to USB drive "__internal" by cloning',
- 'the running Tails is installed on USB drive "__internal"',
- 'there is no persistence partition on USB drive "__internal"',
- 'I shutdown Tails and wait for the computer to power off',
+ 'I write the Tails USB image to disk "__internal"',
'I start Tails from USB drive "__internal" with network unplugged',
'the boot device has safe access rights',
'Tails is running from USB drive "__internal"',