##// END OF EJS Templates
Fixed UI tests....
Jean-Philippe Lang -
r12057:0a5632013f23
parent child
Show More
@@ -34,7 +34,7 Capybara.register_driver :selenium do |app|
34 34 end
35 35
36 36 # default: 2
37 Capybara.default_wait_time = 20
37 Capybara.default_wait_time = 2
38 38
39 39 DatabaseCleaner.strategy = :truncation
40 40
@@ -33,7 +33,6 class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base
33 33 fill_in 'Description', :with => 'new issue'
34 34 select '0 %', :from => 'Done'
35 35 fill_in 'Due date', :with => ''
36 select '', :from => 'Assignee'
37 36 fill_in 'Searchable field', :with => 'Value for field 2'
38 37 # click_button 'Create' would match both 'Create' and 'Create and continue' buttons
39 38 find('input[name=commit]').click
@@ -200,7 +199,7 class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base
200 199 visit '/issues/1'
201 200 assert page.has_no_content?('Form update CF')
202 201
203 page.first(:link, 'Update').click
202 page.first(:link, 'Edit').click
204 203 # the custom field should show up when changing tracker
205 204 select 'Feature request', :from => 'Tracker'
206 205 assert page.has_content?('Form update CF')
General Comments 0
You need to be logged in to leave comments. Login now