diff options
Diffstat (limited to 'cucumber/features')
-rw-r--r-- | cucumber/features/install.feature | 2 | ||||
-rw-r--r-- | cucumber/features/step_definitions/common_steps.rb | 4 |
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 |