mirror of
https://github.com/redmine/redmine.git
synced 2025-11-14 17:26:06 +01:00
IssuesSystemTest#test_bulk_watch_issues_via_context_menu randomly fails due to Capybara clicks out of an element (#33315).
Patch by Massimo Rossello. git-svn-id: http://svn.redmine.org/redmine/trunk@20017 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -305,7 +305,7 @@ class IssuesSystemTest < ApplicationSystemTestCase
|
||||
assert page.has_css?('#context-menu .issue-bulk-watcher.icon-fav-off')
|
||||
assert_difference 'Watcher.count', 2 do
|
||||
within('#context-menu') do
|
||||
click_link 'Watch'
|
||||
find_link('Watch').hover.click
|
||||
end
|
||||
# wait for ajax response
|
||||
assert page.has_css?('#context-menu .issue-bulk-watcher.icon-fav')
|
||||
|
||||
Reference in New Issue
Block a user