summaryrefslogtreecommitdiffstats
path: root/cucumber/features/step_definitions/common_steps.rb
diff options
context:
space:
mode:
Diffstat (limited to 'cucumber/features/step_definitions/common_steps.rb')
-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 d8611195..0783c66d 100644
--- a/cucumber/features/step_definitions/common_steps.rb
+++ b/cucumber/features/step_definitions/common_steps.rb
@@ -263,10 +263,12 @@ When /^I destroy the computer$/ do
$vm.destroy_and_undefine
end
-Given /^I boot to the d-i splash screen$/ do
+Given /^I accept that the machine is sl(o+)w$/ do |slowness|
+ @patience = 2^slowness.length
+end
+Given /^I boot to the d-i splash screen$/ do
boot_timeout = 60
- @patience = 6
@screen.wait("d-i8_bootsplash.png", boot_timeout * @patience)
end