diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-11-16 08:46:22 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-11-16 08:46:22 +0000 |
commit | 0a5632013f23db164e37fd3a292813b138c84fb1 (patch) | |
tree | 3246ae48638c2bfed43f32be457e5c3a45b91560 /test/ui | |
parent | 67aa2cb34e2ba0012da11b29de45b469c0c49cba (diff) | |
download | redmine-0a5632013f23db164e37fd3a292813b138c84fb1.tar.gz redmine-0a5632013f23db164e37fd3a292813b138c84fb1.zip |
Fixed UI tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@12287 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/ui')
-rw-r--r-- | test/ui/base.rb | 2 | ||||
-rw-r--r-- | test/ui/issues_test.rb | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/test/ui/base.rb b/test/ui/base.rb index fa877ec7b..fc394c09a 100644 --- a/test/ui/base.rb +++ b/test/ui/base.rb @@ -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 diff --git a/test/ui/issues_test.rb b/test/ui/issues_test.rb index c06422781..aeb47e8be 100644 --- a/test/ui/issues_test.rb +++ b/test/ui/issues_test.rb @@ -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') |