summaryrefslogtreecommitdiffstats
path: root/cucumber/features
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-10-25 13:25:48 +0200
committerHolger Levsen <holger@layer-acht.org>2016-11-03 10:28:14 +0100
commit70295394b5b1f2a6ee995cea47a1c23708ed9662 (patch)
tree0891213b35c7849b931cec331e7a016c116c5326 /cucumber/features
parent222ce48923443590d74cbba0871280eb65488da5 (diff)
downloadjenkins.debian.net-70295394b5b1f2a6ee995cea47a1c23708ed9662.tar.xz
lvc: wait longer for popcon prompt
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'cucumber/features')
-rw-r--r--cucumber/features/step_definitions/common_steps.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index f98dee50..96f1cce1 100644
--- a/cucumber/features/step_definitions/common_steps.rb
+++ b/cucumber/features/step_definitions/common_steps.rb
@@ -377,11 +377,13 @@ end
Given /^I note that the Base system is being installed$/ do
@screen.wait(diui_png("InstallingBaseSystem"), 30 * PATIENCE)
+ debug_log("debug: Found InstallingBaseSystem. Wait for it to vanish", :color => :blue)
@screen.waitVanish(diui_png("InstallingBaseSystem"), 15 * 60 * PATIENCE)
+ debug_log("debug: InstallingBaseSystem vanished", :color => :blue)
end
Given /^I accept the default mirror$/ do
- on_screen, _ = @screen.waitAny([diui_png("popcon"),diui_png("BadMirror"),diui_png("MirrorCountry")], 5 * 60 * PATIENCE)
+ on_screen, _ = @screen.waitAny([diui_png("popcon"),diui_png("BadMirror"),diui_png("MirrorCountry")], 10 * 60 * PATIENCE)
if diui_png("MirrorCountry") == on_screen
@screen.wait(diui_png("MirrorCountry"), 10 * 60 * PATIENCE)
@screen.type(Sikuli::Key.ENTER)
@@ -410,7 +412,7 @@ Given /^I neglect to scan more CDs$/ do
end
Given /^I ignore Popcon$/ do
- on_screen, _ = @screen.waitAny([diui_png("popcon"),diui_png("BadMirror"),diui_png("ChooseSoftware")], 10 * 60)
+ on_screen, _ = @screen.waitAny([diui_png("popcon"),diui_png("BadMirror"),diui_png("ChooseSoftware")], 10 * 60 * PATIENCE)
if diui_png("ChooseSoftware") != on_screen
if on_screen == diui_png("BadMirror")
if "gui" == @ui_mode