diff options
Diffstat (limited to 'cucumber/features/step_definitions')
-rw-r--r-- | cucumber/features/step_definitions/common_steps.rb | 6 | ||||
-rw-r--r-- | cucumber/features/step_definitions/snapshots.rb | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb index 188c6a21..20ed27b2 100644 --- a/cucumber/features/step_definitions/common_steps.rb +++ b/cucumber/features/step_definitions/common_steps.rb @@ -416,7 +416,7 @@ Given /^we reach the Tasksel prompt$/ do @screen.wait(diui_png("ChooseSoftware"), 5 * 60 * PATIENCE) end -Given /^I unset the Desktop task$/ do +Given /^I select the non-GUI task$/ do @screen.wait(diui_png("DesktopTask_Yes"), 2 * 60 * PATIENCE) # deal with post-snapshot screen flicker FIXME -- check if we really need this @@ -434,7 +434,7 @@ Given /^I unset the Desktop task$/ do @screen.type(Sikuli::Key.ENTER) end -Given /^I unset the Desktop and Print tasks$/ do +Given /^I select the minimal task$/ do @screen.wait(diui_png("DesktopTask_Yes"), 2 * 60 * PATIENCE) # deal with post-snapshot screen flicker FIXME -- check if we really need this @@ -461,7 +461,7 @@ Given /^I unset the Desktop and Print tasks$/ do @screen.type(Sikuli::Key.ENTER) end -Given /^I select the ([a-zA-Z]*) Desktop task$/ do |desktop| +Given /^I select the ([A-Z][[:alpha:]]*) task$/ do |desktop| @screen.wait(diui_png("DesktopTask_Yes"), 2 * 60 * PATIENCE) # deal with post-snapshot screen flicker -- FIXME this needs to be fixed via looking to see if the remote login is working before we look at the screen diff --git a/cucumber/features/step_definitions/snapshots.rb b/cucumber/features/step_definitions/snapshots.rb index abd9073d..6ba5c929 100644 --- a/cucumber/features/step_definitions/snapshots.rb +++ b/cucumber/features/step_definitions/snapshots.rb @@ -23,13 +23,13 @@ def checkpoints ] } - ['Minimal', 'non-GUI', 'Gnome', 'XFCE', 'LXDE', 'KDE'].each do |de| + ['minimal', 'non-GUI', 'Gnome', 'XFCE', 'LXDE', 'KDE'].each do |de| cp["debian-#{m}-#{de}-install"] = { :description => "I install a #{de} Debian system, in #{m} mode", :parent_checkpoint => "boot-d-i-#{m}-to-tasksel", :steps => [ - 'I intend to use #{m} mode', - "I select the #{de} Desktop task", + "I intend to use #{m} mode", + "I select the #{de} task", 'I wait while the bulk of the packages are installed', 'I install GRUB', 'I allow reboot after the install is complete', |