summaryrefslogtreecommitdiffstats
path: root/test/system
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-07-03 11:12:23 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-07-03 11:12:23 +0000
commit1bed89b605c961e7022cb82bbee49c25a06fc5a3 (patch)
treef45d70cd071ba02760b6d3c9718d9363c6c0489d /test/system
parentb868a278b59c3a2acf874cd53b1dc7826789e5bc (diff)
downloadredmine-1bed89b605c961e7022cb82bbee49c25a06fc5a3.tar.gz
redmine-1bed89b605c961e7022cb82bbee49c25a06fc5a3.zip
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
Diffstat (limited to 'test/system')
-rw-r--r--test/system/issues_test.rb1
1 files changed, 1 insertions, 0 deletions
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'