]> source.dussan.org Git - redmine.git/commitdiff
add assert to IssuesSystemTest#test_bulk_watch_issues_via_context_menu
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 3 Jul 2020 11:45:45 +0000 (11:45 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 3 Jul 2020 11:45:45 +0000 (11:45 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19851 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/system/issues_test.rb

index 82aa5606f1ec8c672482282bde40e0748aa50ba4..048eb2f181b43d9a7bd2026bbfe57f3f90f7ce0c 100644 (file)
@@ -294,6 +294,7 @@ class IssuesSystemTest < ApplicationSystemTestCase
     find('tr#issue-1 input[type=checkbox]').click
     find('tr#issue-4 input[type=checkbox]').click
     find('tr#issue-1 td.updated_on').right_click
+    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'