Flaky spec in `spec/features/issues/user_interacts_with_awards_spec.rb` | User interacts with awards Awards Emoji authorized user Click award emoji from issue#show toggles the smiley emoji on a note
Job #789545694 failed for 96060a66:
Trace
Failures:
1) User interacts with awards Awards Emoji authorized user Click award emoji from issue#show toggles the smiley emoji on a note
Got 0 failures and 2 other errors:
1.1) Failure/Error: first('[data-name="smiley"]').click
Selenium::WebDriver::Error::StaleElementReferenceError:
stale element reference: element is not attached to the page document
(Session info: headless chrome=85.0.4183.83)
(Driver info: chromedriver=85.0.4183.87 (cd6713ebf92fa1cacc0f1a598df280093af0c5d7-refs/branch-heads/4183@{#1689}),platform=Linux 4.19.78-coreos x86_64)
# ./spec/features/issues/user_interacts_with_awards_spec.rb:366:in `toggle_smiley_emoji'
# ./spec/features/issues/user_interacts_with_awards_spec.rb:304:in `block (5 levels) in <top (required)>'
# ./spec/spec_helper.rb:340:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:331:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:327:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:327:in `block (2 levels) in <top (required)>'
1.2) Failure/Error: raise JSConsoleError, message
JSConsoleError:
Unexpected browser console output:
http://127.0.0.1:42421/namespace19/project20/-/issues/1 - The resource http://127.0.0.1:42421/assets/fontawesome-webfont-2adefcbc041e7d18fcf2d417879dc5a09997aa64d675b7a3c4b6ce33da13f3fe.woff2?v=4.7.0 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
# ./spec/support/capybara.rb:172:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:340:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:331:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:327:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:327:in `block (2 levels) in <top (required)>'
Finished in 14 minutes 15 seconds (files took 46.23 seconds to load)
Edited by Rémy Coutable