Flaky spec failure in `spec/features/issues/create_issue_for_discussions_in_merge_request_spec.rb` | Resolving all open threads in a merge request from an issue as a user with access to the project for a project where all threads need to be resolved befor

Job #1155048610 failed for 35c4d909:

Trace

Failures:
  1) Resolving all open threads in a merge request from an issue as a user with access to the project for a project where all threads need to be resolved before merging merge request has threads that need to be resolved creating an issue for threads behaves like creating an issue for a thread resolves the discussion in the merge request
     Failure/Error: click_button 'Create issue'
     Capybara::ElementNotFound:
       Unable to find button "Create issue" that is not disabled
     Shared Example Group: "creating an issue for a thread" called from ./spec/features/issues/create_issue_for_discussions_in_merge_request_spec.rb:93
     # ./spec/support/shared_examples/features/resolving_discussions_in_issues_shared_examples.rb:21:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:367:in `block (3 levels) in <top (required)>'
     # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
     # ./spec/spec_helper.rb:358:in `block (2 levels) in <top (required)>'