summaryrefslogtreecommitdiffstats
path: root/cucumber/features/step_definitions
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-11-26 13:58:43 +0100
committerPhilip Hands <phil@hands.com>2016-11-26 23:52:18 +0100
commit89eb3160eed72cec74edeb835531c526d7f5e442 (patch)
treeccef85a9b930050f0552668f2f26933ab3e8e92f /cucumber/features/step_definitions
parent938cf6f60f68e0c25c35c9eff37813366506fe86 (diff)
downloadjenkins.debian.net-89eb3160eed72cec74edeb835531c526d7f5e442.tar.xz
lvc: Debian-Edu: wait for disk partitioning
Diffstat (limited to 'cucumber/features/step_definitions')
-rw-r--r--cucumber/features/step_definitions/common_steps.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index 6dac688d..ce4a38f5 100644
--- a/cucumber/features/step_definitions/common_steps.rb
+++ b/cucumber/features/step_definitions/common_steps.rb
@@ -532,6 +532,16 @@ Given /^I select the ([A-Z][[:alpha:]]*) task$/ do |desktop|
@screen.waitVanish(diui_png(expected_result), 10 * PATIENCE)
end
+Given /^I wait while the partitions are made$/ do
+ @screen.wait(diui_png("PartitionDisks"), 60)
+ debug_log("debug: we see PartitionDisks", :color => :blue)
+ @screen.waitVanish(diui_png("PartitionDisks"), 2 * 60)
+end
+
+Given /^I wait patiently for the package installation to start$/ do
+ @screen.wait(diui_png("InstallSoftware"), 10 * 60)
+end
+
Given /^I wait while the bulk of the packages are installed$/ do
@screen.wait(diui_png("InstallSoftware"), 10)
debug_log("debug: we see InstallSoftware", :color => :blue)