mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 14:26:04 +01:00
Fix random failures in IssuesTest#test_bulk_copy due to StaleElementReferenceError (#42244).
Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23503 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -497,8 +497,9 @@ class IssuesSystemTest < ApplicationSystemTestCase
|
|||||||
assert_equal 'Copy', submit_buttons[0].value
|
assert_equal 'Copy', submit_buttons[0].value
|
||||||
|
|
||||||
page.find('#issue_project_id').select('OnlineStore')
|
page.find('#issue_project_id').select('OnlineStore')
|
||||||
# wait for ajax response
|
# Verify that the target version field has been rewritten by the OnlineStore project settings
|
||||||
assert page.has_select?('issue_project_id', selected: 'OnlineStore')
|
# and wait for the project change to complete.
|
||||||
|
assert_select 'issue_fixed_version_id', options: ['(No change)', 'none', 'Alpha', 'Systemwide visible version']
|
||||||
|
|
||||||
assert_selector 'input[type=submit]', count: 2
|
assert_selector 'input[type=submit]', count: 2
|
||||||
submit_buttons = page.all('input[type=submit]')
|
submit_buttons = page.all('input[type=submit]')
|
||||||
|
|||||||
Reference in New Issue
Block a user