Browse Source

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
tags/5.1.0
Marius Balteanu 2 years ago
parent
commit
277818cf42
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      test/system/issues_test.rb

+ 2
- 2
test/system/issues_test.rb View File

@@ -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…
Cancel
Save