mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-11 13:15:20 +00:00
Use click_button to click on buttons in test_bulk_edit.
git-svn-id: https://svn.redmine.org/redmine/trunk@21554 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4e0b548d74
commit
277818cf42
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user