From d7ae5ed3b732e36f5f3a18985ec60f668c0e2679 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Fri, 27 May 2016 00:21:47 +0200 Subject: lvc: add KDE target --- cucumber/features/step_definitions/common_steps.rb | 4 ++++ 1 file changed, 4 insertions(+) (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 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 -- cgit v1.2.3-70-g09d2