From ba29431bf666f21f6b02bbae38336741f7b30bc7 Mon Sep 17 00:00:00 2001 From: mr Date: Mon, 1 Aug 2011 23:53:34 +0200 Subject: add Error to end sleep loop --- toxcreate.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3