Improved helpers.
This commit is contained in:
parent
0f2e6306cc
commit
36158ea9b2
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,5 @@
|
|||
ENV["RAILS_ENV"] = "test"
|
||||
require File.expand_path('../../config/environment', __FILE__)
|
||||
require 'rails/test_help'
|
||||
require 'selenium-webdriver'
|
||||
|
||||
class TestCase < Test::Unit::TestCase
|
||||
|
@ -293,6 +292,7 @@ class TestCase < Test::Unit::TestCase
|
|||
end
|
||||
sleep 0.5
|
||||
instance.find_element( { :css => '.active .form-actions button[type="submit"]' } ).click
|
||||
sleep 2
|
||||
(1..14).each {|loop|
|
||||
if instance.current_url =~ /#{Regexp.quote('#ticket/zoom/')}/
|
||||
assert( true, "(#{test[:name]}) ticket created" )
|
||||
|
|
Loading…
Reference in a new issue