summaryrefslogtreecommitdiff
path: root/toxcreate.rb
diff options
context:
space:
mode:
Diffstat (limited to 'toxcreate.rb')
-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