summaryrefslogtreecommitdiffstats
path: root/cucumber
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-06-02 23:36:23 +0200
committerPhilip Hands <phil@hands.com>2016-06-03 00:02:26 +0200
commit670737044223a33fa7e82d63784bee63f761b69c (patch)
tree1d802885b9f5871290a8ee57c79800d5890a0de2 /cucumber
parent5c057ea786099b88248bd6b2717c16f1af482c80 (diff)
downloadjenkins.debian.net-670737044223a33fa7e82d63784bee63f761b69c.tar.xz
lvc: add an initial snapshot, just after the disk is created
Diffstat (limited to 'cucumber')
-rw-r--r--cucumber/features/step_definitions/snapshots.rb13
1 files 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',