prevent UI test failure randomly
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11970 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
eeb290d650
commit
6ccb68bd46
|
@ -121,8 +121,9 @@ class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base
|
|||
click_button 'Add'
|
||||
end
|
||||
assert page.has_css?('form#issue-form')
|
||||
within('p#watchers_form') do
|
||||
assert page.has_content?('Some Watcher')
|
||||
assert page.has_css?('p#watchers_form')
|
||||
within('span#watchers_inputs') do
|
||||
assert page.has_content?('Some Watcher'), "No watcher content"
|
||||
end
|
||||
assert_difference 'Issue.count' do
|
||||
find('input[name=commit]').click
|
||||
|
|
Loading…
Reference in New Issue