From 01fb7b5e10908c5ffca043f6d83d39083ba7f8d1 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Sun, 22 May 2016 00:29:43 +0200 Subject: lvc: add another pause, and some debugging --- cucumber/features/step_definitions/common_steps.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb index d0b1227e..96adbe2b 100644 --- a/cucumber/features/step_definitions/common_steps.rb +++ b/cucumber/features/step_definitions/common_steps.rb @@ -273,7 +273,8 @@ end Given /^I select ([a-z]*) mode and wait for the remote shell$/ do |ui_mode| if "gui" == ui_mode @screen.type(Sikuli::Key.DOWN) - @screen.wait("d-i_bootmenu_graphical.png", 10) + #@screen.wait("d-i_bootmenu_graphical.png", 10) + sleep(20) # FIXME -- this should not be needed, but we'll try it for j.d.n's sake end #@screen.type(Sikuli::Key.TAB) @@ -281,8 +282,11 @@ Given /^I select ([a-z]*) mode and wait for the remote shell$/ do |ui_mode| # Sikuli::Key.ENTER) #$vm.wait_until_remote_shell_is_up + debug_log("debug: About to type ENTER at the bootsplash", :color => :blue) @screen.type(Sikuli::Key.ENTER) # we're disabling the above editing of the command line, since it's breaking on jenkins.debian.net for reasons unknown + debug_log("debug: waiting for it to get to the 'English' prompt...", :color => :blue) @screen.wait(diui_png("English",ui_mode), 3*60) # FIXME -- this is just to pause until the remote shell would have been up, so is a kludge + debug_log("debug: found the 'English' prompt", :color => :blue) end Given /^in ([a-z]*) mode I select British English$/ do |ui_mode| -- cgit v1.2.3-54-g00ecf