From 4a893f4e0111a1207ab6726259b9e016e6287eb3 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Thu, 3 Nov 2016 19:44:33 +0100 Subject: lvc: look for progress in preseed installs, to avoid timeouts Signed-off-by: Holger Levsen --- cucumber/features/install.feature | 6 ++++-- cucumber/features/step_definitions/common_steps.rb | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'cucumber/features') diff --git a/cucumber/features/install.feature b/cucumber/features/install.feature index 9c4aa217..5b48003b 100644 --- a/cucumber/features/install.feature +++ b/cucumber/features/install.feature @@ -49,9 +49,11 @@ Feature: Doing variations on d-i installs Given a disk is created for Debian Installer tests And I intend to use gui mode And I intend to boot with options "auto=true priority=critical url=hands.com classes=jenkins.debian.org/pb10;loc/gb;hands.com/general-tweaks;setup/users;partition/atomic;desktop/lxde hands-off/checksigs=true DEBCONF_DEBUG=5" - When I start the computer + And I start the computer And I select the install mode + And I expect package installation to start + And I wait while the bulk of the packages are installed And the VM shuts down within 20 minutes - And the computer is set to boot from ide drive + When the computer is set to boot from ide drive And I start the computer Then I should see a LXDE Login prompt diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb index be5e887d..bd119fde 100644 --- a/cucumber/features/step_definitions/common_steps.rb +++ b/cucumber/features/step_definitions/common_steps.rb @@ -293,6 +293,10 @@ Given /^I select the install mode$/ do $vm.wait_until_remote_shell_is_up end +Given /^I expect package installation to start$/ do + @screen.wait(diui_png("InstallSoftware"), 20 * 60) +end + Given /^I select British English$/ do @screen.wait(diui_png("English"), 30 * PATIENCE) @screen.type(Sikuli::Key.ENTER) -- cgit v1.2.3-70-g09d2