summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-05-27 00:21:47 +0200
committerPhilip Hands <phil@hands.com>2016-05-29 19:06:07 +0200
commitd7ae5ed3b732e36f5f3a18985ec60f668c0e2679 (patch)
tree7f35a6c09b7b2fd6c49c67f8970ab17ad1b4fa98
parent4cedc6058bb274a582477c295117f0826e9fd9c3 (diff)
downloadjenkins.debian.net-d7ae5ed3b732e36f5f3a18985ec60f668c0e2679.tar.xz
lvc: add KDE target
-rw-r--r--cucumber/features/install.feature2
-rw-r--r--cucumber/features/step_definitions/common_steps.rb4
2 files changed, 6 insertions, 0 deletions
diff --git a/cucumber/features/install.feature b/cucumber/features/install.feature
index 4e53b84c..4900cd57 100644
--- a/cucumber/features/install.feature
+++ b/cucumber/features/install.feature
@@ -10,6 +10,8 @@ Feature: Doing variations on d-i installs
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 |
diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index c45459dd..e88da1c7 100644
--- a/cucumber/features/step_definitions/common_steps.rb
+++ b/cucumber/features/step_definitions/common_steps.rb
@@ -465,6 +465,10 @@ Given /^in ([a-z]*) mode I select the ([a-zA-Z]*) Desktop task$/ do |ui_mode,des
@screen.type(Sikuli::Key.DOWN)
@screen.type(Sikuli::Key.DOWN) if "XFCE" == desktop
+ @screen.type(Sikuli::Key.DOWN+Sikuli::Key.DOWN) if "KDE" == desktop
+ @screen.type(Sikuli::Key.DOWN+Sikuli::Key.DOWN+Sikuli::Key.DOWN) if "Cinamon" == desktop
+ @screen.type(Sikuli::Key.DOWN+Sikuli::Key.DOWN+Sikuli::Key.DOWN+Sikuli::Key.DOWN) if "MATE" == desktop
+ @screen.type(Sikuli::Key.DOWN+Sikuli::Key.DOWN+Sikuli::Key.DOWN+Sikuli::Key.DOWN+Sikuli::Key.DOWN) if "LXDE" == desktop
@screen.type(Sikuli::Key.SPACE)
@screen.wait(diui_png("Desktop+" + desktop,ui_mode), 10 * PATIENCE)
if "gui" == ui_mode