diff options
author | Philip Hands <phil@hands.com> | 2016-05-22 00:29:43 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-05-22 00:30:24 +0200 |
commit | 01fb7b5e10908c5ffca043f6d83d39083ba7f8d1 (patch) | |
tree | d0a1213706d8c93ba2400c9669bb8201fcddf56e /cucumber | |
parent | b7680495ff489f236380fed46545166e53503e38 (diff) | |
download | jenkins.debian.net-01fb7b5e10908c5ffca043f6d83d39083ba7f8d1.tar.xz |
lvc: add another pause, and some debugging
Diffstat (limited to 'cucumber')
-rw-r--r-- | cucumber/features/step_definitions/common_steps.rb | 6 |
1 files changed, 5 insertions, 1 deletions
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| |