summaryrefslogtreecommitdiffstats
path: root/cucumber/features/step_definitions
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 /cucumber/features/step_definitions
parent4cedc6058bb274a582477c295117f0826e9fd9c3 (diff)
downloadjenkins.debian.net-d7ae5ed3b732e36f5f3a18985ec60f668c0e2679.tar.xz
lvc: add KDE target
Diffstat (limited to 'cucumber/features/step_definitions')
-rw-r--r--cucumber/features/step_definitions/common_steps.rb4
1 files changed, 4 insertions, 0 deletions
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