##// END OF EJS Templates
prevent UI test failure randomly...
Toshi MARUYAMA -
r11748:56f9354998b6
parent child
Show More
@@ -122,9 +122,11 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 within('span#watchers_inputs') do
125 using_wait_time(30) do
126 within("label#issue_watcher_user_ids_#{user.id}") do
126 within('span#watchers_inputs') do
127 assert has_content?('Some Watcher'), "No watcher content"
127 within("label#issue_watcher_user_ids_#{user.id}") do
128 assert has_content?('Some Watcher'), "No watcher content"
129 end
128 end
130 end
129 end
131 end
130 assert_difference 'Issue.count' do
132 assert_difference 'Issue.count' do
General Comments 0
You need to be logged in to leave comments. Login now