[Qa-jenkins-scm] [jenkins.debian.net] 07/12: lvc: combine gui/non gui checkpoints
Holger Levsen
holger at layer-acht.org
Wed Jun 1 22:09:07 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 4a5b9b9b9a841057f83bf9c5e2e322ca04b926d4
Author: Philip Hands <phil at hands.com>
Date: Wed Jun 1 14:19:18 2016 +0200
lvc: combine gui/non gui checkpoints
---
cucumber/features/install.feature | 12 ++++++------
cucumber/features/step_definitions/common_steps.rb | 6 +++---
cucumber/features/step_definitions/snapshots.rb | 6 +++---
3 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/cucumber/features/install.feature b/cucumber/features/install.feature
index 4900cd5..17156db 100644
--- a/cucumber/features/install.feature
+++ b/cucumber/features/install.feature
@@ -9,12 +9,12 @@ Feature: Doing variations on d-i installs
Then I should see a <login> Login prompt
Examples:
- | install_ui | target_ui | login |
- | gui | LXDE Desktop | LXDE |
- | gui | KDE Desktop | KDE |
- | gui | Minimal | VT |
- | gui | XFCE Desktop | XFCE |
- | text | non-GUI | VT |
+ | install_ui | target_ui | login |
+ | gui | LXDE | LXDE |
+ | gui | KDE | KDE |
+ | gui | minimal | VT |
+ | gui | XFCE | XFCE |
+ | text | non-GUI | VT |
# | gui | Gnome Desktop | Gnome |
# Scenario: Get a useful error from a bogus HTTP proxy
diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index 188c6a2..20ed27b 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 abd9073..6ba5c92 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',
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list