diff options
-rw-r--r-- | cucumber/features/install.feature | 2 | ||||
-rw-r--r-- | cucumber/features/step_definitions/common_steps.rb | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/cucumber/features/install.feature b/cucumber/features/install.feature index 43b1d491..cea2a63c 100644 --- a/cucumber/features/install.feature +++ b/cucumber/features/install.feature @@ -91,7 +91,7 @@ Feature: Doing variations on d-i installs And I start the computer And I select the install mode And I select British English - And I select Combi Debian-Edu profile + And I select Main Server Debian-Edu profile And I use the Debian-Edu Automatic Partitioning And I ignore Popcon And I set the root password to "rootme" diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb index 27bdd292..16caf653 100644 --- a/cucumber/features/step_definitions/common_steps.rb +++ b/cucumber/features/step_definitions/common_steps.rb @@ -470,6 +470,22 @@ Given /^I select Combi Debian-Edu profile$/ do @screen.type(Sikuli::Key.ENTER) end +Given /^I select Main Server Debian-Edu profile$/ do + @screen.wait(diui_png("Edu-Profile"), 2 * 60 * PATIENCE) + @screen.type(Sikuli::Key.DOWN) + @screen.type(Sikuli::Key.SPACE) + @screen.type(Sikuli::Key.DOWN) + @screen.type(Sikuli::Key.DOWN) + @screen.type(Sikuli::Key.SPACE) + + if "gui" == @ui_mode + @screen.wait(diui_png("CONTINUEunselected"), 10 * PATIENCE) + @screen.type(Sikuli::Key.TAB) + @screen.wait(diui_png("CONTINUEselected"), 10 * PATIENCE) + end + @screen.type(Sikuli::Key.ENTER) +end + Given /^I select Standalone Debian-Edu profile$/ do @screen.wait(diui_png("Edu-Profile"), 2 * 60 * PATIENCE) @screen.type(Sikuli::Key.SPACE) |