prevent UI test failure randomly
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11978 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
484a3ffc8a
commit
56f9354998
@ -122,11 +122,13 @@ class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base
|
|||||||
end
|
end
|
||||||
assert page.has_css?('form#issue-form')
|
assert page.has_css?('form#issue-form')
|
||||||
assert page.has_css?('p#watchers_form')
|
assert page.has_css?('p#watchers_form')
|
||||||
|
using_wait_time(30) do
|
||||||
within('span#watchers_inputs') do
|
within('span#watchers_inputs') do
|
||||||
within("label#issue_watcher_user_ids_#{user.id}") do
|
within("label#issue_watcher_user_ids_#{user.id}") do
|
||||||
assert has_content?('Some Watcher'), "No watcher content"
|
assert has_content?('Some Watcher'), "No watcher content"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
assert_difference 'Issue.count' do
|
assert_difference 'Issue.count' do
|
||||||
find('input[name=commit]').click
|
find('input[name=commit]').click
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user