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

test/system/issues_test.rb

index 4a1a44ffd66472951ba3f9646d28f97e502c7afa..82aa5606f1ec8c672482282bde40e0748aa50ba4 100644 (file)
@@ -274,6 +274,7 @@ class IssuesSystemTest < ApplicationSystemTestCase
     assert page.has_css?('tr#issue-1')
     find('tr#issue-1 td.updated_on').click
     find('tr#issue-1 td.updated_on').right_click
+    assert page.has_css?('#context-menu .issue-1-watcher.icon-fav-off')
     assert_difference 'Watcher.count' do
       within('#context-menu') do
         click_link 'Watch'