Flaky spec: spec/features/merge_request/user_creates_image_diff_notes_spec.rb:29
Job #1269428605 failed for gitlab-foss@5ee9033e:
1) Merge request > User creates image diff notes create commit diff notes create a new diff note shows indicator and avatar badges, and allows collapsing/expanding the discussion notes
Got 0 failures and 2 other errors:
1.1) Failure/Error:
page.all('a', text: expand_text, wait: false).each do |element|
element.click
end
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.49+ x86_64)
# ./spec/features/merge_request/user_creates_image_diff_notes_spec.rb:282:in `create_image_diff_note'
# ./spec/features/merge_request/user_creates_image_diff_notes_spec.rb:26:in `block (4 levels) in <top (required)>'
# ./spec/spec_helper.rb:374:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:365:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:361:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:361:in `block (2 levels) in <top (required)>'