##// END OF EJS Templates
prevent UI test failure randomly...
Toshi MARUYAMA -
r11748:56f9354998b6
parent child
Show More
@@ -122,11 +122,13 class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base
122 end
122 end
123 assert page.has_css?('form#issue-form')
123 assert page.has_css?('form#issue-form')
124 assert page.has_css?('p#watchers_form')
124 assert page.has_css?('p#watchers_form')
125 using_wait_time(30) do
125 within('span#watchers_inputs') do
126 within('span#watchers_inputs') do
126 within("label#issue_watcher_user_ids_#{user.id}") do
127 within("label#issue_watcher_user_ids_#{user.id}") do
127 assert has_content?('Some Watcher'), "No watcher content"
128 assert has_content?('Some Watcher'), "No watcher content"
128 end
129 end
129 end
130 end
131 end
130 assert_difference 'Issue.count' do
132 assert_difference 'Issue.count' do
131 find('input[name=commit]').click
133 find('input[name=commit]').click
132 end
134 end
General Comments 0
You need to be logged in to leave comments. Login now