From: Toshi MARUYAMA Date: Fri, 3 Jul 2020 11:12:23 +0000 (+0000) Subject: add assert to IssuesSystemTest#test_watch_issue_via_context_menu X-Git-Tag: 4.2.0~948 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1bed89b605c961e7022cb82bbee49c25a06fc5a3;p=redmine.git add assert to IssuesSystemTest#test_watch_issue_via_context_menu git-svn-id: http://svn.redmine.org/redmine/trunk@19847 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/system/issues_test.rb b/test/system/issues_test.rb index 4a1a44ffd..82aa5606f 100644 --- a/test/system/issues_test.rb +++ b/test/system/issues_test.rb @@ -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'