diff options
author | mr <mr@mrautenberg.de> | 2011-08-01 23:53:34 +0200 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-08-01 23:53:34 +0200 |
commit | ba29431bf666f21f6b02bbae38336741f7b30bc7 (patch) | |
tree | c0388f7b0cb124edc32fa057e8779c12ef2b7807 /toxcreate.rb | |
parent | 7e5d66ea6f4c0168695329244f8bb1c1522f7f74 (diff) |
add Error to end sleep loop
Diffstat (limited to 'toxcreate.rb')
-rw-r--r-- | toxcreate.rb | 2 |
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 |