]> source.dussan.org Git - redmine.git/commitdiff
Revert r21552.
authorMarius Balteanu <marius.balteanu@zitec.com>
Mon, 2 May 2022 20:06:44 +0000 (20:06 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Mon, 2 May 2022 20:06:44 +0000 (20:06 +0000)
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21553 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/system/issues_test.rb

index 46a77ae5189f00fc5ffbccfcbe81bcef149ce322..2476dc43eb8483d5c2806e36d49bb93db466c0ba 100644 (file)
@@ -397,7 +397,7 @@ class IssuesSystemTest < ApplicationSystemTestCase
 
     page.find('#issue_status_id').select('Assigned')
     assert_no_difference 'Issue.count' do
-      click_button('commit')
+      submit_buttons[0].click
       # wait for ajax response
       assert page.has_css?('#flash_notice')
       assert_current_path '/issues', :ignore_query => true
@@ -429,7 +429,7 @@ class IssuesSystemTest < ApplicationSystemTestCase
 
     page.find('#issue_status_id').select('Feedback')
     assert_no_difference 'Issue.count' do
-      click_button('follow')
+      submit_buttons[1].click
       # wait for ajax response
       assert page.has_css?('#flash_notice')
       assert_current_path '/projects/onlinestore/issues', :ignore_query => true