From 4a5b9b9b9a841057f83bf9c5e2e322ca04b926d4 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Wed, 1 Jun 2016 14:19:18 +0200 Subject: lvc: combine gui/non gui checkpoints --- cucumber/features/step_definitions/common_steps.rb | 6 +++--- cucumber/features/step_definitions/snapshots.rb | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'cucumber/features/step_definitions') 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', -- cgit v1.2.3-54-g00ecf