Project

General

Profile

Patch #42244 ยป 0001-Fix-random-failures-in-IssuesTest-test_bulk_copy-due-to-StaleElementReferenceError.patch

Katsuya HIDAKA, 2025-02-09 07:42

View differences:

test/system/issues_test.rb
assert_equal 'Copy', submit_buttons[0].value
page.find('#issue_project_id').select('OnlineStore')
# wait for ajax response
assert page.has_select?('issue_project_id', selected: 'OnlineStore')
# Verify that the target version field has been rewritten by the OnlineStore project settings
# 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
submit_buttons = page.all('input[type=submit]')
    (1-1/1)