From 07705f8e7fdcb1556a76d7ea34410f29dc1bbba2 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 2 Jan 2015 00:42:30 +0100 Subject: lvc: add generic DebianLive boot logos --- features/step_definitions/common_steps.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'features/step_definitions/common_steps.rb') diff --git a/features/step_definitions/common_steps.rb b/features/step_definitions/common_steps.rb index 1f151abf..d055645e 100644 --- a/features/step_definitions/common_steps.rb +++ b/features/step_definitions/common_steps.rb @@ -203,7 +203,7 @@ When /^I destroy the computer$/ do @vm.destroy end -Given /^the computer (re)?boots DebianLive7$/ do |reboot| +Given /^the computer (re)?boots DebianLive(|\d+)$/ do |reboot,version| next if @skip_steps_while_restoring_background case @os_loader @@ -218,8 +218,8 @@ Given /^the computer (re)?boots DebianLive7$/ do |reboot| bootsplash_tab_msg = 'TailsBootSplashTabMsgPostReset.png' boot_timeout = 120 else - bootsplash = 'DebianLive7BootSplash.png' - bootsplash_tab_msg = 'DebianLive7BootSplashTabMsg.png' + bootsplash = "DebianLive#{version}BootSplash.png" + bootsplash_tab_msg = "DebianLive#{version}BootSplashTabMsg.png" boot_timeout = 30 end end @@ -232,7 +232,7 @@ Given /^the computer (re)?boots DebianLive7$/ do |reboot| # add extra boot options here @screen.type(" live-getty console=tty0 console=ttyS0,9600n8 #{@boot_options}" + Sikuli::Key.ENTER) - @screen.wait('DebianLive7Greeter.png', 5*60) + @screen.wait("DebianLive#{version}Greeter.png", 5*60) @vm.wait_until_remote_shell_is_up activate_filesystem_shares end -- cgit v1.2.3-70-g09d2