From a097201c33d8573b1cc2f9a153df708d01fa3c98 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Thu, 12 May 2016 10:59:31 +0200 Subject: tune the timing for the Gnome Desktop package instalation --- cucumber/features/step_definitions/common_steps.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb index 0e5c6876..ed896d3a 100644 --- a/cucumber/features/step_definitions/common_steps.rb +++ b/cucumber/features/step_definitions/common_steps.rb @@ -459,13 +459,14 @@ end Given /^in ([a-z]*) mode I wait while the ([a-z]* |)bulk of the packages are installed$/ do |ui_mode,vast| @screen.wait(diui_png("InstallSoftware",ui_mode), 10) if "vast " == vast - 40.times do + debug_log("debug: lots of packages, so sod about with AltF4/1 to keep things alive, hopefully", :color => :blue) + 20.times do sleep(50) @screen.type(Sikuli::Key.F4, Sikuli::KeyModifier.ALT) sleep(10) @screen.type(Sikuli::Key.F1, Sikuli::KeyModifier.ALT) end - debug_log("debug: 50 mins in...", :color => :blue) + debug_log("debug: 20 mins in...", :color => :blue) end @screen.wait(diui_png("InstallSoftware",ui_mode), 10) @screen.waitVanish(diui_png("InstallSoftware",ui_mode), 40 * 60) -- cgit v1.2.3-54-g00ecf