From a55454f04e87a7fb04a655fd72ee657e403a88ee Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Mon, 2 May 2022 20:06:44 +0000 Subject: [PATCH] Revert r21552. git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21553 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/system/issues_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/system/issues_test.rb b/test/system/issues_test.rb index 46a77ae51..2476dc43e 100644 --- a/test/system/issues_test.rb +++ b/test/system/issues_test.rb @@ -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 -- 2.39.5