@@ -237,6 +237,8 class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base | |||
|
237 | 237 | within('#context-menu') do |
|
238 | 238 | click_link 'Watch' |
|
239 | 239 | end |
|
240 | # wait for ajax response | |
|
241 | assert page.has_css?('#context-menu .issue-1-watcher.icon-fav') | |
|
240 | 242 | assert page.has_css?('tr#issue-1') |
|
241 | 243 | end |
|
242 | 244 | assert Issue.find(1).watched_by?(User.find_by_login('jsmith')) |
@@ -254,6 +256,8 class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base | |||
|
254 | 256 | within('#context-menu') do |
|
255 | 257 | click_link 'Watch' |
|
256 | 258 | end |
|
259 | # wait for ajax response | |
|
260 | assert page.has_css?('#context-menu .issue-bulk-watcher.icon-fav') | |
|
257 | 261 | assert page.has_css?('tr#issue-1') |
|
258 | 262 | assert page.has_css?('tr#issue-4') |
|
259 | 263 | end |
General Comments 0
You need to be logged in to leave comments.
Login now