From 1bed89b605c961e7022cb82bbee49c25a06fc5a3 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 3 Jul 2020 11:12:23 +0000 Subject: [PATCH] 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 --- test/system/issues_test.rb | 1 + 1 file changed, 1 insertion(+) 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' -- 2.39.5