From 4a0d8da48ca045b7d975d66bcfb2a3bdb51e613d Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Sun, 27 Nov 2016 12:18:03 +0100 Subject: lvc: Edu: Combi takes too long, so do Main Server for now --- cucumber/features/install.feature | 2 +- cucumber/features/step_definitions/common_steps.rb | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) (limited to 'cucumber') 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) -- cgit v1.2.3-70-g09d2