Flaky test qa/specs/features/ee/browser_ui/2_plan/epic/epics_management_spec.rb:39 # Plan Epics Management Resources created via API Visit epic first adds/removes issue to/from epic
Summary
https://ops.gitlab.net/gitlab-org/gitlab-qa/-/jobs/2357872, https://ops.gitlab.net/gitlab-org/gitlab-qa/-/jobs/2357827
Stack trace
1) Plan Epics Management Resources created via API Visit epic first adds/removes issue to/from epic
Failure/Error: show.add_issue_to_epic(issue.web_url)
Capybara::ElementNotFound:
Unable to find css "[data-qa-selector=\"epic_issue_actions_split_button\"],.qa-epic-issue-actions-split-button"
# /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/finders.rb:296:in `block in synced_resolve'
# /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/base.rb:83:in `synchronize'
# /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/finders.rb:287:in `synced_resolve'
# /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/finders.rb:52:in `find'
# /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/session.rb:749:in `block (2 levels) in <class:Session>'
# /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./qa/page/base.rb:167:in `click_element'
# ./qa/support/page/logging.rb:80:in `click_element'
# ./qa/ee/page/group/epic/show.rb:37:in `add_issue_to_epic'
# ./qa/specs/features/ee/browser_ui/2_plan/epic/epics_management_spec.rb:41:in `block (6 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/2_plan/epic/epics_management_spec.rb:40:in `block (5 levels) in <module:QA>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# ./spec/spec_helper.rb:73:in `block (2 levels) in <top (required)>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
# ./qa/specs/runner.rb:71:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/template.rb:35:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/bootable.rb:28:in `launch!'
Finished in 20 minutes 17 seconds (files took 37.27 seconds to load)
66 examples, 1 failure, 4 pending
Failed examples:
rspec ./qa/specs/features/ee/browser_ui/2_plan/epic/epics_management_spec.rb:39 # Plan Epics Management Resources created via API Visit epic first adds/removes issue to/from epic
Screenshot / HTML page
Possible fixes
Maybe we need to wait for the button to appear?
Edited by Rémy Coutable