From 79174945b714a70fc1e46a786a2a0cfc8887495a Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Mon, 2 May 2022 20:01:47 +0000 Subject: [PATCH] Use click_button in test_bulk_edit git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21552 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 2476dc43e..46a77ae51 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 - submit_buttons[0].click + click_button('commit') # 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 - submit_buttons[1].click + click_button('follow') # wait for ajax response assert page.has_css?('#flash_notice') assert_current_path '/projects/onlinestore/issues', :ignore_query => true -- 2.39.5