spec/features/clusters/cluster_health_dashboard_spec.rb failing for Ambigious click_button('More actions')
Job #1499100130 failed for f5796796:
bundle exec rspec spec/features/clusters/cluster_health_dashboard_spec.rb
1) Cluster Health board when there is cluster with enabled prometheus connected, prometheus returns data focuses the single panel on toggle
Got 0 failures and 2 other errors:
1.1) Failure/Error: click_button('More actions')
Capybara::Ambiguous:
Ambiguous match, found 2 elements matching visible button "More actions" that is not disabled
# ./spec/features/clusters/cluster_health_dashboard_spec.rb:84: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)>'
# ./spec/support/sidekiq.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq.rb:8:in `gitlab_sidekiq_inline'
# ./spec/support/sidekiq.rb:21:in `block (2 levels) in <top (required)>'
# ./spec/support/caching.rb:8:in `block (2 levels) in <top (required)>'
Edited by Kyle Wiebers