Commit b5514049 authored by jplang's avatar jplang

Fixed UI tests.

git-svn-id: https://svn.redmine.org/redmine/trunk@12287 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent e57e5c1e
......@@ -34,7 +34,7 @@ Capybara.register_driver :selenium do |app|
end
# default: 2
Capybara.default_wait_time = 20
Capybara.default_wait_time = 2
DatabaseCleaner.strategy = :truncation
......
......@@ -33,7 +33,6 @@ class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base
fill_in 'Description', :with => 'new issue'
select '0 %', :from => 'Done'
fill_in 'Due date', :with => ''
select '', :from => 'Assignee'
fill_in 'Searchable field', :with => 'Value for field 2'
# click_button 'Create' would match both 'Create' and 'Create and continue' buttons
find('input[name=commit]').click
......@@ -200,7 +199,7 @@ class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base
visit '/issues/1'
assert page.has_no_content?('Form update CF')
page.first(:link, 'Update').click
page.first(:link, 'Edit').click
# the custom field should show up when changing tracker
select 'Feature request', :from => 'Tracker'
assert page.has_content?('Form update CF')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment