Spec failure in `spec/features/merge_request/batch_comments_spec.rb` | Merge request > Batch comments Feature is enabled thread is resolved publishes comment right away and unresolves the thread

Job #1518286155 failed for 19111ef5:

Trace

Failures:
  1) Merge request > Batch comments Feature is enabled thread is resolved publishes comment right away and unresolves the thread
     Failure/Error: find_field('Reply…', match: :first).click
     Selenium::WebDriver::Error::StaleElementReferenceError:
       stale element reference: element is not attached to the page document
         (Session info: headless chrome=89.0.4389.90)
         (Driver info: chromedriver=89.0.4389.23 (61b08ee2c50024bab004e48d2b1b083cdbdac579-refs/branch-heads/4389@{#294}),platform=Linux 5.4.109+ x86_64)
     # ./spec/features/merge_request/batch_comments_spec.rb:281:in `block in write_reply_to_discussion'
     # ./spec/features/merge_request/batch_comments_spec.rb:280:in `write_reply_to_discussion'
     # ./spec/features/merge_request/batch_comments_spec.rb:216:in `block (4 levels) in <top (required)>'
     # ./spec/spec_helper.rb:390:in `block (3 levels) in <top (required)>'
     # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
     # ./spec/spec_helper.rb:381:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:377:in `block (3 levels) in <top (required)>'
     # ./lib/gitlab/application_context.rb:31:in `with_raw_context'
     # ./spec/spec_helper.rb:377:in `block (2 levels) in <top (required)>'