summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormr <mr@mrautenberg.de>2011-08-01 23:53:34 +0200
committermr <mr@mrautenberg.de>2011-08-01 23:53:34 +0200
commitba29431bf666f21f6b02bbae38336741f7b30bc7 (patch)
treec0388f7b0cb124edc32fa057e8779c12ef2b7807
parent7e5d66ea6f4c0168695329244f8bb1c1522f7f74 (diff)
add Error to end sleep loop
-rw-r--r--toxcreate.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcreate.rb b/toxcreate.rb
index 0853bf6..de9ab59 100644
--- a/toxcreate.rb
+++ b/toxcreate.rb
@@ -52,7 +52,7 @@ class ToxCreateTest < Test::Unit::TestCase
click_on "Create model"
assert first("h2").has_content? "hamster_carcinogenicity"
time = 0
- while first(".model_status").has_no_content?("Completed") do
+ while (first(".model_status").has_no_content?("Completed") and first(".model_status").has_no_content?("Error")) do
sleep 5
time +=5
end