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
497 497
    assert_equal 'Copy', submit_buttons[0].value
498 498

  
499 499
    page.find('#issue_project_id').select('OnlineStore')
500
    # wait for ajax response
501
    assert page.has_select?('issue_project_id', selected: 'OnlineStore')
500
    # Verify that the target version field has been rewritten by the OnlineStore project settings
501
    # and wait for the project change to complete.
502
    assert_select 'issue_fixed_version_id', options: ['(No change)', 'none', 'Alpha', 'Systemwide visible version']
502 503

  
503 504
    assert_selector 'input[type=submit]', count: 2
504 505
    submit_buttons = page.all('input[type=submit]')
    (1-1/1)