lib/scoutui/eyes/utils.rb in scoutui-2.0.5.4 vs lib/scoutui/eyes/utils.rb in scoutui-2.0.5.5
- old
+ new
@@ -113,12 +113,12 @@
data = JSON.parse(response.body)
print (data)
index = 1
data['actualAppOutput'].each do |elem|
- puts __FILE__ + (__LINE__).to_s + " elem => #{elem}"
+ Scoutui::Logger::LogMgr.instance.debug __FILE__ + (__LINE__).to_s + " elem => #{elem}"
if (!elem.nil?)
- puts __FILE__ + (__LINE__).to_s + " | o isMatching : #{elem['isMatching']}"
+ Scoutui::Logger::LogMgr.instance.debug __FILE__ + (__LINE__).to_s + " | o isMatching : #{elem['isMatching']}"
# diff_urls[index] = diff_template % [index]
diff_urls[index] = { :tag => elem['tag'].to_s, :isMatching => elem['isMatching'], :url => diff_template % [index], :index => index }
end
index+=1