From 670737044223a33fa7e82d63784bee63f761b69c Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Thu, 2 Jun 2016 23:36:23 +0200 Subject: lvc: add an initial snapshot, just after the disk is created --- cucumber/features/step_definitions/snapshots.rb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/cucumber/features/step_definitions/snapshots.rb b/cucumber/features/step_definitions/snapshots.rb index bbd66d1a..e0c8be58 100644 --- a/cucumber/features/step_definitions/snapshots.rb +++ b/cucumber/features/step_definitions/snapshots.rb @@ -1,15 +1,20 @@ def checkpoints cp = Hash.new + cp['disk-for-d-i'] = { + :description => "Create a disk for Debian Installer tests", + :parent_checkpoint => nil, + :steps => [ + 'I create a 10 GiB disk named "'+JOB_NAME+'"', + 'I plug ide drive "'+JOB_NAME+'"', + ] + } ['text', 'gui'].each do |m| cp["boot-d-i-#{m}-to-tasksel"] = { :description => "I have started Debian Installer in #{m} mode and stopped at the Tasksel prompt", - :parent_checkpoint => nil, - :parent_checkpoint => nil, + :parent_checkpoint => 'disk-for-d-i', :steps => [ "I intend to use #{m} mode", - 'I create a 10 GiB disk named "'+JOB_NAME+'"', - 'I plug ide drive "'+JOB_NAME+'"', 'I start the computer', 'I select the install mode', 'I select British English', -- cgit v1.2.3-54-g00ecf