From 93ac78e8e933a9dbc039863b6cf9d8be98d9d4ff Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 9 Dec 2014 22:22:31 +0100 Subject: [PATCH] Remove debug. --- test/browser_test_helper.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index dae7684e8..a65948275 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -268,7 +268,6 @@ class TestCase < Test::Unit::TestCase element = instance.find_elements( { :css => action[:area] } )[0] if element #&& element.displayed? text = instance.find_elements( { :css => action[:area] } )[0].text - puts "T /#{text.inspect}/#{action[:value].inspect}/" if text =~ /#{action[:value]}/i assert( true, "(#{test[:name]}) '#{action[:value]}' found in '#{text}'" ) return @@ -283,20 +282,16 @@ class TestCase < Test::Unit::TestCase if action[:timeout] timeout = action[:timeout] end - puts 1 loops = (timeout / 2).to_i text = '' (1..loops).each { |loop| - puts 2 element = instance.find_elements( { :css => action[:area] } )[0] if !element #|| element.displayed? assert( true, "(#{test[:name]}) not found" ) sleep 0.2 - puts 33 return end sleep 2 - puts 22 } assert( false, "(#{test[:name]} / #{test[:area]}) still exsists" ) return